high7.5
CVE-2024-22640
TCPDF vulnerable to Regular Expression Denial of Service
Impact
TCPDF version <= 6.7.4 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | tecnickcom/tcpdf | <= 6.7.4 | 6.7.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Tcpdf Project | Tcpdf | through 6.7.4 |
| Fedoraproject | Fedora | Version 40 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/tecnickcom/TCPDF
- https://github.com/zunak/CVE-2024-22640
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/
- https://github.com/advisories/GHSA-mx3p-fhpw-x6rv
- https://nvd.nist.gov/vuln/detail/CVE-2024-22640
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB
- https://github.com/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB