CVE-2026-4539 PUBLISHED

pygments archetype.py AdlLexer redos

Assigner: VulDB
Reserved: 21.03.2026 Published: 22.03.2026 Updated: 22.03.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 4.8

Product Status

Vendor n/a
Product pygments
Versions
  • Version 2.19.0 is affected
  • Version 2.19.1 is affected
  • Version 2.19.2 is affected

Credits

  • ybdesire (VulDB User) reporter

References

Problem Types

  • Inefficient Regular Expression Complexity CWE
  • Resource Consumption CWE