p PatchFirst

PatchFirst · Latest vulnerabilities

pygments vulnerabilities

Vulnerabilities published for pygments in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 5

  1. CVE-2026-4539

    Medium · CVSS 4.8EPSS 0.16%Fix available

    pygments archetype.py AdlLexer redos

    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.

    • Update to 2.20.0+dfsg-1
    Published Updated
  2. CVE-2021-27291

    High · CVSS 8.7EPSS 3.91%Fix available

    CVE-2021-27291

    In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.

    • Update to 2.7.1+dfsg-2.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →