USN-4897-1
Ben Caller discovered that Pygments incorrectly handled parsing certain files. If a user or automated system were tricked into parsing a specially crafted file, a remote attacker could cause Pygments to hang or consume resources, resulting in a denial of service. Update Instructions: Run `sudo pro fix USN-4897-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.2 python3-pygments - 2.3.1+dfsg-1ubuntu2.2 python-pygments - 2.3.1+dfsg-1ubuntu2.2 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC
Upstream Advisory
Affected Packages
python-pygments-doc 2.3.1+dfsg-1ubuntu2.2-2.3.1+dfsg-1ubuntu2.2
python3-pygments 2.3.1+dfsg-1ubuntu2.2-2.3.1+dfsg-1ubuntu2.2
python-pygments 2.3.1+dfsg-1ubuntu2.2-2.3.1+dfsg-1ubuntu2.2