cve.bz

CVE-2022-40896

5.5 mediumEPSS 0.5%

Medium (5.5) in pygments pygments. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in pygments 2.15.0, 2.15.1.

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

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 44% of CVEs (scores of 2026-10-31)
CWE
CWE-434
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mrwq-x4v8-fh7pPyPIpygments<2.15.02.15.0
PYSEC-2023-117PyPIpygments<2.15.12.15.1

References

Check your stackJSON