yocto ▾
›
kirkstone ▾
›
vulnerability
›
CVE-2022-40896
Component Overview
Vulnerability Overview
Name
CVE-2022-40896
Source
NVD (
link
)
Debian (
link
)
Description
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
CWEs
CWE-434
Published Date
Jul 19, 2023
Updated Date
Jun 17, 2026
Workaround
-
Advisories
https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61
Third Party Advisory
https://pypi.org/project/Pygments/
Product
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/
Exploit
https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61
Third Party Advisory
https://pypi.org/project/Pygments/
Product
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/
Exploit
Analysis
#
Affected Component
Analysis
python3-pygments
Patched
Vulnerability Ratings
#
5.5
CVSSv31
NaN
other
Others affected components
#
Name
Project
Project Version
Version
Status
python3-pygments
yocto
master
2.20.0
Not Affected
python3-pygments
yocto
scarthgap
2.17.2
Not Affected
Resolved with patches
#
python3-pygments (yocto:kirkstone)
#
Title
Author
Resolve
1
Improve the Smithy metadata matcher.
Narpat Mali <narpat.mali@windriver.com>
CVE-2022-40896