UBUNTU-CVE-2022-40896
Advisory lineage Upstream: 1 Downstream: 1
Upstream
Downstream
Published: 19 Jul 2023, 15:15
Last modified:04 Feb 2026, 02:34
Vulnerability Summary
Overall Risk (default)
low
22/100 CVSS Score
5.5 MEDIUM
3.1 (osv_ubuntu)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
19 Jul 2023, 15:15
Published
Vulnerability first disclosed
04 Feb 2026, 02:34
Last Modified
Vulnerability information updated
Description
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Systems
- ubuntu•pygments
all | all | < 2.11.2+dfsg-2ubuntu0.1
References (6)
- https://ubuntu.com/security/CVE-2022-40896
- https://pypi.org/project/Pygments/
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/
- https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61
- https://www.cve.org/CVERecord?id=CVE-2022-40896
- https://ubuntu.com/security/notices/USN-7128-1