CVE-2024-22640
JSON

7.5high

TCPDF vulnerable to Regular Expression Denial of Service

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.32% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-mx3p-fhpw-x6rv

Description

TCPDF version <=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
tcpdf_project tcpdf*, up to 6.7.4CVE List, NVD
tecnickcom/tcpdf (Packagist)before 6.7.5GitHub Advisory Database
fedoraproject fedora40NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Classification

CWE-1333

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

TCPDF version <=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.

GitHub Advisory Database

TCPDF version <= 6.7.4 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.

NVD (es)

La versión de TCPDF &lt;= 6.6.5 es vulnerable a ReDoS (denegación de servicio de expresión regular) si se analiza una página HTML que no es de confianza con un color manipulado.

References

https://github.com/tecnickcom/TCPDFpackage, product
https://github.com/zunak/CVE-2024-22640exploit, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2025/06/msg00004.htmlweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/
https://nvd.nist.gov/vuln/detail/CVE-2024-22640advisory
https://github.com/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RBweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RBweb

Sources

SourceRecordLicence
CVE ListCVE-2024-22640 changed 2025-11-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-mx3p-fhpw-x6rv changed 2025-11-04CC-BY-4.0
NVDCVE-2024-22640 changed 2026-06-17Public domain