tecnickcom/tcpdf · Security
TCPDF vulnerable to Regular Expression Denial of Service
- GHSA ID
- GHSA-mx3p-fhpw-x6rv
- CVE ID
- CVE-2024-22640
- Severity
- medium
- Published
- Updated
- CVSS v4
- 5.1 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Description
TCPDF version <= 6.7.4 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.
CWEs
- CWE-1333 · Inefficient Regular Expression Complexity
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22640 ↗
- 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://github.com/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679 ↗
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB ↗
- https://github.com/advisories/GHSA-mx3p-fhpw-x6rv ↗