CVE-2024-22640 json
TCPDF vulnerable to Regular Expression Denial of Service
published 2024-04-19 2 y ago modified 2026-06-17 4 mo ago also GHSA-mx3p-fhpw-x6rv , EUVD-2024-1258
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
TCPDF version <=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.
Patch / fix
- packagist tecnickcom/tcpdf 6.7.5
- tcpdf Debian 12 6.6.2+dfsg1-1+deb12u1
- tcpdf Debian 14, Debian 13 6.7.5+dfsg-1
debian advisories DEBIAN-CVE-2024-22640
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-22640 updated cvss 5.3
tcpdf: ReDos when parsing an untrusted HTML page with a crafted color
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.32% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/zunak/CVE-2024-22640 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | tecnickcom/tcpdf | <6.7.5 |
6.7.5 |
Affected products
- tcpdf_project tcpdf
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679
web
-
github.com
/zunak/CVE-2024-22640
web, exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/
vendor-advisory, third-party-advisory
-
github.com
/tecnickcom/TCPDF
package, product
-
lists.debian.org
/debian-lts-announce/2025/06/msg00004.html
web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/
-
nvd.nist.gov
/vuln/detail/CVE-2024-22640
advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB
web
Sources
- CVE List CVE-2024-22640
- GitHub Advisory GHSA-mx3p-fhpw-x6rv
- NVD CVE-2024-22640
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.