GHSA-5239-wwwm-4pmq

Suggest an improvement
Source
https://github.com/advisories/GHSA-5239-wwwm-4pmq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5239-wwwm-4pmq/GHSA-5239-wwwm-4pmq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5239-wwwm-4pmq
Aliases
  • CVE-2026-4539
Downstream
Related
Published
2026-03-22T06:30:15Z
Modified
2026-03-30T14:46:18.081060Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 1.9 (Low) CVSS_V4 - 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 Calculator
Summary
Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
Details

A security flaw has been discovered in pygments before 2.20.0. 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.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1333",
        "CWE-400"
    ],
    "nvd_published_at": "2026-03-22T06:16:20Z",
    "github_reviewed_at": "2026-03-24T20:33:39Z",
    "severity": "LOW"
}
References

Affected packages

PyPI / pygments

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.20.0

Affected versions

0.*
0.5
0.5.1
0.6
0.7
0.7.1
0.8
0.8.1
0.9
0.10
0.11
0.11.1
1.*
1.0
1.1
1.1.1
1.2
1.2.1
1.2.2
1.3
1.3.1
1.4
1.5
1.6rc1
1.6
2.*
2.0rc1
2.0
2.0.1
2.0.2
2.1
2.1.1
2.1.2
2.1.3
2.2.0
2.3.0
2.3.1
2.4.0
2.4.1
2.4.2
2.5.1
2.5.2
2.6.0
2.6.1
2.7.0
2.7.1
2.7.2
2.7.3
2.7.4
2.8.0
2.8.1
2.9.0
2.10.0
2.11.0
2.11.1
2.11.2
2.12.0
2.13.0
2.14.0
2.15.0
2.15.1
2.16.0
2.16.1
2.17.0
2.17.1
2.17.2
2.18.0
2.19.0
2.19.1
2.19.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-5239-wwwm-4pmq/GHSA-5239-wwwm-4pmq.json"