Skip to main content
VulnerabilityPublished Updated

CVE-2026-4539: pygments

Affects pygmentsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-4539· Medium 4.8

Public exploit available · CVSS 4.8 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10pygmentspkg:deb/ubuntu/pygments?arch=source&distro=stonkingOther threatsAffected
  • =2.19.2+dfsg-1
  • =2.20.0+dfsg-2
Fixed in–
Ubuntu 26.04 LTSpygmentspkg:deb/ubuntu/pygments?arch=source&distro=resoluteOther threatsAffected
  • =2.18.0+dfsg-2
  • =2.18.0+dfsg-2build1
  • =2.19.2+dfsg-1
Fixed in–
Ubuntu 25.10pygmentspkg:deb/ubuntu/pygments?arch=source&distro=questingOther threatsAffected
  • =2.18.0+dfsg-2
Fixed in–
Ubuntu 24.04 LTSpygmentspkg:deb/ubuntu/pygments?arch=source&distro=nobleOther threatsAffected
  • =2.15.1+dfsg-1
  • =2.17.2+dfsg-1
Fixed in–
Ubuntu 22.04 LTSpygmentspkg:deb/ubuntu/pygments?arch=source&distro=jammyOther threatsAffected
  • 2.7.1+dfsg-2.1 – 2.11.2+dfsg-2ubuntu0.1
4 affected builds
Fixed in–
Ubuntu 20.04 LTSpygmentspkg:deb/ubuntu/pygments?arch=source&distro=focalOther threatsAffected
  • 2.3.1+dfsg-1ubuntu1 – 2.3.1+dfsg-1ubuntu2.2
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

A security flaw has been discovered in pygments up to 2.19.2. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

References

Community reviews

Loading reviews…