CVE-2026-4539
LOW3.3EPSS 0.01%Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
發布日:2026/3/22修改日:2026/4/28
描述
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.
受影響套件(2)
- Debian/pygmentsfrom 0
- PyPI/pygmentsfrom 0, < 2.20.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | LOW3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
參考連結(10)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-4539
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-4539
- PATCHhttps://github.com/pygments/pygments
- WEBhttps://github.com/pygments/pygments/commit/24b8aa76c6cd6d70f39c6dd605cce319c98e2ccc
- WEBhttps://github.com/pygments/pygments/issues/3058
- WEBhttps://github.com/pygments/pygments/pull/3064
- WEBhttps://github.com/pygments/pygments/releases/tag/2.20.0
- WEBhttps://vuldb.com/?ctiid.352327
- WEBhttps://vuldb.com/?id.352327
- WEBhttps://vuldb.com/?submit.774685