USN-4885-1

Type: Security
Severity: Medium
Published: 2021-03-22
Ubuntu 20.04 LTS (Focal Fossa)

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. Update Instructions: Run `sudo pro fix USN-4885-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-pygments-doc - 2.3.1+dfsg-1ubuntu2.1 python3-pygments - 2.3.1+dfsg-1ubuntu2.1 python-pygments - 2.3.1+dfsg-1ubuntu2.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T07:36:29.093Z UTC.

Upstream Advisory

Affected Packages

  • python-pygments-doc 2.3.1+dfsg-1ubuntu2.1-2.3.1+dfsg-1ubuntu2.1

  • python3-pygments 2.3.1+dfsg-1ubuntu2.1-2.3.1+dfsg-1ubuntu2.1

  • python-pygments 2.3.1+dfsg-1ubuntu2.1-2.3.1+dfsg-1ubuntu2.1

Interested in being alerted when there are new versions of python-pygments-doc and the other packages? Set up an alert.
USN-4885-1: Pygments vulnerability | Package Alert