| 标题 | pygments <=2.19.2 Denial of Service |
|---|
| 描述 | A Regular Expression Denial of Service (ReDoS) vulnerability exists in the pygments project at pygments/lexers/archetype.py (line 296). The regex pattern (\d|[a-fA-F])+(-(\d|[a-fA-F])+){3,} designed for GUID matching contains nested repeating quantifiers, leading to catastrophic backtracking when processing partially matching malicious input. This results in severe performance degradation and can block the application thread indefinitely with sufficiently large input, complying with CWE-1333 (Inefficient Regular Expression Complexity).
More details: https://github.com/pygments/pygments/issues/3058 |
|---|
| 来源 | ⚠️ https://github.com/pygments/pygments/issues/3058 |
|---|
| 用户 | ybdesire (UID 83239) |
|---|
| 提交 | 2026-03-07 13時06分 (7 月前) |
|---|
| 管理 | 2026-03-21 10時10分 (14 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 352327 [pygments 直到 2.19.2 archetype.py AdlLexer 拒绝服务] |
|---|
| 积分 | 20 |
|---|