CVE-2026-4539
4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Summary
A security flaw has been discovered in pygments up to 2.19.2. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | pygments | 2.19.0 | affected |
| n/a | pygments | 2.19.1 | affected |
| n/a | pygments | 2.19.2 | affected |
Weaknesses
- CWE-1333: Inefficient Regular Expression Complexity
- CWE-400: Resource Consumption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://vuldb.com/?id.352327
- https://vuldb.com/?ctiid.352327
- https://vuldb.com/?submit.774685
- https://github.com/pygments/pygments/issues/3058
- https://github.com/pygments/pygments/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.