Skip to main content
CVE-2026-4539VulnerabilityPublished Updated

Mac cleanup py: Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching

Affects mac-cleanup-pySource GCVE Database

0
Compare
Authoritative record:CVE-2026-4539· Medium 4.8

Public exploit available · CVSS 4.8 Medium : upgrade to 3.4.0 as a priority.

Data as of 30 Oct 2026, 07:30 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade mac-cleanup-py to 3.4.0.

Affected software

ProductAffectedFixed in
Homebrewmac-cleanup-pypkg:brew/mac-cleanup-pyOther threatsAffected
  • >=3.3.0 <3.4.0
Fixed in
  • 3.4.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…