{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-40896","published":"2023-07-19T15:15:10.007000Z","last_modified":"2026-06-17T05:02:12.853000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-434"],"cpes":[{"criteria":"cpe:2.3:a:pygments:pygments:*:*:*:*:*:*:*:*","part":"a","vendor":"pygments","product":"pygments","version_end_including":"2.15.0"}],"cpes_truncated":false,"vendors":["pygments"],"products":["pygments/pygments"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00419,"percentile":0.27962,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mrwq-x4v8-fh7p","ecosystem":"PyPI","name":"pygments","purl":"pkg:pypi/pygments","ranges":[{"introduced":"0","fixed":"2.15.0"}],"versions":["0.10","0.11","0.11.1","0.5","0.5.1","0.6","0.7","0.7.1","0.8","0.8.1","0.9","1.0","1.1","1.1.1","1.2","1.2.1","1.2.2","1.3","1.3.1","1.4","1.5","1.6","1.6rc1","2.0","2.0.1","2.0.2","2.0rc1","2.1","2.1.1","2.1.2","2.1.3","2.10.0","2.11.0","2.11.1","2.11.2","2.12.0","2.13.0","2.14.0","2.2.0","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","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.8.1","2.9.0"],"versions_truncated":false},{"advisory":"PYSEC-2023-117","ecosystem":"PyPI","name":"pygments","purl":"pkg:pypi/pygments","ranges":[{"introduced":"0","fixed":"2.15.1"}],"versions":["0.10","0.11","0.11.1","0.5","0.5.1","0.6","0.7","0.7.1","0.8","0.8.1","0.9","1.0","1.1","1.1.1","1.2","1.2.1","1.2.2","1.3","1.3.1","1.4","1.5","1.6","1.6rc1","2.0","2.0.1","2.0.2","2.0rc1","2.1","2.1.1","2.1.2","2.1.3","2.10.0","2.11.0","2.11.1","2.11.2","2.12.0","2.13.0","2.14.0","2.15.0","2.2.0","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","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.8.1","2.9.0"],"versions_truncated":false}],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-40896/","html_en":"/en/cve/CVE-2022-40896/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-40896","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-40896"},"untrusted":{"vendor_name":"Pygments","product_name":"Pygments","desc_en":"A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.","affected":[],"references":[{"url":"https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZGMXALE3HSP4OXC7UUWIKX3OXKZDTY3/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUZO4BQCIY2S2KZYHERQMKURB7AHXDBO/","tags":[]},{"url":"https://pypi.org/project/Pygments/","tags":["Product"]},{"url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZGMXALE3HSP4OXC7UUWIKX3OXKZDTY3/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VUZO4BQCIY2S2KZYHERQMKURB7AHXDBO/","tags":[]}]}}