Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-4539

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-4539

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-4539

pygments

Source reference: /affected/0/package/name

Affected versions
2.14.0+dfsg-1

Source reference: /affected/0/versions

2.15.0+dfsg-1

Source reference: /affected/0/versions

2.15.1+dfsg-1

Source reference: /affected/0/versions

2.17.2+dfsg-1

Source reference: /affected/0/versions

2.18.0+dfsg-1

Source reference: /affected/0/versions

2.18.0+dfsg-2

Source reference: /affected/0/versions

2.19.2+dfsg-1

Source reference: /affected/0/versions

2.20.0+dfsg-1

Source reference: /affected/0/versions

2.20.0+dfsg-2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

pygments

Source reference: /affected/1/package/name

Affected versions
2.18.0+dfsg-2

Source reference: /affected/1/versions

2.19.2+dfsg-1

Source reference: /affected/1/versions

2.20.0+dfsg-1

Source reference: /affected/1/versions

2.20.0+dfsg-2

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

pygments

Source reference: /affected/2/package/name

Affected versions
2.18.0+dfsg-2

Source reference: /affected/2/versions

2.19.2+dfsg-1

Source reference: /affected/2/versions

Fixed versions
2.20.0+dfsg-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "pygments",
      "purl": "pkg:deb/debian/pygments?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.14.0+dfsg-1",
      "2.15.0+dfsg-1",
      "2.15.1+dfsg-1",
      "2.17.2+dfsg-1",
      "2.18.0+dfsg-1",
      "2.18.0+dfsg-2",
      "2.19.2+dfsg-1",
      "2.20.0+dfsg-1",
      "2.20.0+dfsg-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4539.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "pygments",
      "purl": "pkg:deb/debian/pygments?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "2.18.0+dfsg-2",
      "2.19.2+dfsg-1",
      "2.20.0+dfsg-1",
      "2.20.0+dfsg-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4539.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.20.0+dfsg-1"
          }
        ]
      }
    ],
    "package": {
      "name": "pygments",
      "purl": "pkg:deb/debian/pygments?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "2.18.0+dfsg-2",
      "2.19.2+dfsg-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4539.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57118 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement