CVE-2024-22640
HIGH 7.5CVSS 3.1TCPDF vulnerable to Regular Expression Denial of Service
TCPDF version <=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.
- Published
- 19 Apr 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-mx3p-fhpw-x6rv
- Sources
- NVDJSONOSV GHSA-mx3p-fhpw-x6rvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tcpdf_project | tcpdfcpe:2.3:a:tcpdf_project:tcpdf:*:*:*:*:*:*:*:* |
<= 6.7.4 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
= 40 | |
| OSV | Packagist | tecnickcom/tcpdf | < 6.7.5 | 6.7.5 |
References
- https://github.com/tecnickcom/TCPDF · Product, PACKAGE
- https://github.com/zunak/CVE-2024-22640 · Exploit, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/ · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22640 · ADVISORY
- https://github.com/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679 · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Apr 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 19 Apr 2024)