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

Security update for python-Pygments

Published Dec 1, 2021 · Updated May 2, 2025

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 15 SP3 Linux Enterprise Module for Basesystem 15 SP3 python-Pygments 2.6.1-4.3.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