NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-22640: TCPDF vulnerable to Regular Expression Denial of Service

mediumCVSS 4.0 5.1GHSA-mx3p-fhpw-x6rv

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

Published Apr 19, 2024 · Updated Nov 4, 2025

Affected packages

tecnickcom/tcpdf

Ecosystem
Composer (PHP)
Affected
<= 6.7.4
Fixed in
6.7.5
Check
composer show tecnickcom/tcpdf

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

Credited to Starfox64.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries