Skip to main content
VulnerabilityPublished Updated

CVE-2024-22640: ReDoS

Source CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 09:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 70% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

1. Monitor TCPDF project repositories and security advisories for official patches addressing CVE-2024-22640 and apply updates promptly once available. 2. In the interim, implement strict input validation and sanitization to reject or neutralize suspicious or malformed color attributes in HTML content before processing. 3. Employ rate limiting and request throttling on endpoints that accept HTML input to reduce the risk of resource exhaustion from repeated exploit attempts. 4. Consider isolating PDF generation services in separate containers or sandboxed environments to limit the impact of potential denial of service. 5. Use Web Application Firewalls (WAFs) with custom rules to detect and block suspicious payloads targeting the vulnerable regex patterns if signatures become available. 6. Audit and restrict access to PDF generation functionality to trusted users or internal systems where feasible. 7. Conduct performance monitoring and alerting on CPU usage spikes in services utilizing TCPDF to enable rapid detection of exploitation attempts. 8. Review and update incident response plans to include scenarios involving ReDoS attacks on document generation services.

Description

TCPDF version <=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.

References

Community reviews

Loading reviews…