VDB

ALPINE-CVE-2021-27291

ALPINE-CVE-2021-27291 PUBLISHED CVSS 7.5 HIGH

In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.

Risk Scores

CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Alpine:v3.11py3-pygments0, 1.3.1-r1, 1.4-r0
Alpine:v3.12py3-pygments0, 1.3.1-r0, 1.3.1-r1

Timeline

  • Mar 17, 2021 CVE Published
  • Nov 19, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›