Skip to content
OpenAdvisories
High SUSE-SU-2021:3814-1 1 CVE

Security update for python-Pygments

Published Nov 29, 2021 · Updated Feb 4, 2026

Summary

This update for python-Pygments fixes the following issues:

- CVE-2021-27291: Fixed ReDoS via crafted malicious input (bsc#1184812).

Fixed packages 1

ReleasePackageFixed in
SUSE · SLES 12 Linux Enterprise Module for Public Cloud 12 python-Pygments 2.4.2-10.7.1

Vulnerabilities 1

  • High 7.5

    Pygments vulnerable to Regular Expression Denial of Service (ReDoS)

    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 …

References

  • report
    https://bugzilla.suse.com/1184812
  • web
    https://www.suse.com/security/cve/CVE-2021-27291