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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tcpdf | 6.7.5+dfsg-1 | — |
| Debian 13 | tcpdf | 6.7.5+dfsg-1 | — |
| Debian 12 | tcpdf | 6.6.2+dfsg1-1+deb12u1 | DSA-5933-1 |
| Debian 11 | tcpdf | 6.3.5+dfsg1-1+deb11u1 | DLA-4199-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tcpdf | No fix yet | — |
| Ubuntu 26.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 25.10 | tcpdf | No fix yet | — |
| Ubuntu 24.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 22.04 LTS | tcpdf | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 18.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 16.04 LTS | tcpdf | No fix yet | — |
| Ubuntu 14.04 LTS | tcpdf | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
zunak/CVE-2024-22640 ★ 0 · Apr 1, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | tecnickcom/tcpdf | < 6.7.5 | 6.7.5 | GHSA-mx3p-fhpw-x6rv |
Advisories 2
- DSA-5933-1 tcpdf - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4199-1 tcpdf - security update Debian Security (DSA / DLA) · Mar 9, 2026