GHSA-mx3p-fhpw-x6rv
TCPDF vulnerable to Regular Expression Denial of Service
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | tecnickcom/tcpdf | < 6.7.5 | 6.7.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
TCPDF version <= 6.7.4 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.
References
External links from the advisory. They lead to third-party sites.
- 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