Skip to content
OpenAdvisories
High USN-4885-1 1 CVE

pygments vulnerability

Published Mar 22, 2021 · Updated Feb 10, 2026

Summary

It was discovered that Pygments incorrectly handled parsing SML files. If a
user or automated system were tricked into parsing a specially crafted SML
file, a remote attacker could cause Pygments to hang, resulting in a denial
of service.

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 16.04 LTS 16.04:LTS pygments 2.1+dfsg-1ubuntu0.1
Ubuntu · 18.04 LTS 18.04:LTS pygments 2.2.0+dfsg-1ubuntu0.1
Ubuntu · 20.04 LTS 20.04:LTS pygments 2.3.1+dfsg-1ubuntu2.1

Vulnerabilities 1

References

  • report
    https://ubuntu.com/security/CVE-2021-20270