CVE-2024-22640: tecnickcom/tcpdf · TCPDF vulnerable to Regular Expression Denial of Service
Affects tecnickcom/tcpdfSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 6.7.5 soon.
Data as of 4 Nov 2026, 17:27 UTC
- Patch
- Available – fixed in 6.7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 4 Nov 2026.
What to do
Upgrade tecnickcom/tcpdf to 6.7.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagisttecnickcom/tcpdf | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade TCPDF to version 6.7.5 or later, where this ReDoS vulnerability is fixed. Since a patch is available, applying this official fix is the recommended remediation. Avoid processing untrusted HTML inputs with vulnerable versions until patched.
Description
TCPDF versions up to 6.7.4 are vulnerable to a Regular Expression Denial of Service (ReDoS) when parsing untrusted HTML containing a specially crafted color value. This vulnerability can cause the application to consume excessive CPU resources, potentially leading to denial of service conditions. The issue is fixed in version 6.7.5.
References
- nvd.nist.gov/vuln/detail/CVE-2024-22640 (opens in a new tab)
- github.com/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679 (opens in a new tab)
- github.com/tecnickcom/TCPDF (opens in a new tab)
- github.com/zunak/CVE-2024-22640 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/06/msg00004.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB (opens in a new tab)