GitHub Advisory Database
GHSA-mx3p-fhpw-x6rv
TCPDF vulnerable to Regular Expression Denial of Service
Details
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 versions |
|---|---|---|
| Packagist | tecnickcom/tcpdf | All versions before 6.7.5 (fixed in 6.7.5) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22640
- https://github.com/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679
- https://github.com/tecnickcom/TCPDF
- https://github.com/zunak/CVE-2024-22640
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB