{"id":"CVE-2026-4539","published":"2026-03-22T05:35:12Z","modified":"2026-03-23T16:08:49Z","title":"pygments archetype.py AdlLexer redos","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.07032,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://vuldb.com/?id.352327","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.352327","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.774685","tags":["third-party-advisory"]},{"url":"https://github.com/pygments/pygments/issues/3058","tags":["exploit","issue-tracking"]},{"url":"https://github.com/pygments/pygments/","tags":["product"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":1.41},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":2.31}]},"affectedVersions":[{"vendor":"n/a","product":"pygments","versions":["2.19.0","2.19.1","2.19.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-23T16:08:35.203035Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Pygments","vulnerableRanges":["<2.20.0"],"patched":["2.20.0"],"from":["GHSA-5239-wwwm-4pmq","PYSEC-2026-2987"],"provenance":"source"}],"summary":{"text":"A flaw exists in the AdlLexer function of pygments/lexers/archetype.py in the pygments package, affecting versions up to 2.19.2, where a manipulation leads to inefficient regular expression complexity. An attacker with local access and low privileges can trigger resource exhaustion, with no user interaction required, and a public exploit has been released.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:51Z"},"euvd":{"id":"EUVD-2026-14287","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/pygments/pygments/issues/3058"]}