CVE-2022-40896

unknown
Published 2023-07-19 · Modified 2023-11-08
CVSS v3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v2
VIR risk

Description

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

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-40896

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-40896.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormaffected
debian debianbullseyeaffected
debian debianforkyfixed2.15.1+dfsg-1
debian debiansidfixed2.15.1+dfsg-1
debian debiantrixiefixed2.15.1+dfsg-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIpygments<2.15.02.15.0
python PyPIpygments<2.15.12.15.1

References

Verify integrity in audit chain (admin only). AS-IS.