Vulnerability · Published Apr 19, 2024 · Assigned by mitre
CVE-2024-22640
High 7.5
In plain English
A high-severity regular-expression denial of service in the tcpdf package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.3%top 28.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tcpdf | 6.6.2+dfsg1-1+deb12u1 | DEBIAN-CVE-2024-22640 |
| Debian:12 | tcpdf | 6.6.2+dfsg1-1+deb12u1 | DSA-5933-1 |
| Debian:13 | tcpdf | 6.7.5+dfsg-1 | DEBIAN-CVE-2024-22640 |
| Debian:14 | tcpdf | 6.7.5+dfsg-1 | DEBIAN-CVE-2024-22640 |
| Packagist | tecnickcom/tcpdf | 6.7.5 | GHSA-mx3p-fhpw-x6rv |
| Ubuntu:22.04:LTS | tcpdf | no fix listed | UBUNTU-CVE-2024-22640 |
| Ubuntu:24.04:LTS | tcpdf | no fix listed | UBUNTU-CVE-2024-22640 |
| Ubuntu:25.10 | tcpdf | no fix listed | UBUNTU-CVE-2024-22640 |
| Ubuntu:26.04:LTS | tcpdf | no fix listed | UBUNTU-CVE-2024-22640 |
| Ubuntu:26.10 | tcpdf | no fix listed | UBUNTU-CVE-2024-22640 |
Affected products (as reported)
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/tecnickcom/TCPDF
- https://github.com/zunak/CVE-2024-22640
- FEDORA-2024-27eafd0e65 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/