CVE-2022-40896

Source
https://cve.org/CVERecord?id=CVE-2022-40896
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-40896.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-40896
Aliases
Downstream
Published
2023-07-19T00:00:00Z
Modified
2026-05-13T04:08:13.343861817Z
Summary
[none]
Details

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

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40896.json"
}
References

Affected packages

Git / github.com/pygments/pygments

Affected ranges

Type
GIT
Repo
https://github.com/pygments/pygments
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*
2.1.1
2.10.0
2.11.0
2.11.1
2.11.2
2.12.0
2.13.0
2.14.0
2.4.1
2.4.2
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.7.2
2.7.3
2.7.4
2.8.0
2.9.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-40896.json"