Vulnerability · Published Jul 19, 2023 · Assigned by mitre

CVE-2022-40896

Medium 5.5

In plain English

A medium-severity security flaw in the pygments package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.5%top 55.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pygmentsno fix listedDEBIAN-CVE-2022-40896
Debian:13pygments2.15.1+dfsg-1DEBIAN-CVE-2022-40896
Debian:14pygments2.15.1+dfsg-1DEBIAN-CVE-2022-40896
PyPIpygments2.15.0GHSA-mrwq-x4v8-fh7p
PyPIpygments2.15.1PYSEC-2023-117
Ubuntu:22.04:LTSpygments2.11.2+dfsg-2ubuntu0.1USN-7128-1
Ubuntu:22.04:LTSpygments2.11.2+dfsg-2ubuntu0.1UBUNTU-CVE-2022-40896

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References