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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-19T00:00:00.000Z
- Modified: 2026-06-17T07:11:38.227Z
- Also known as: GHSA-mx3p-fhpw-x6rv
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- tcpdf_project tcpdf: *; up to 6.7.4
- tecnickcom/tcpdf (Packagist): before 6.7.5
- fedoraproject fedora: 40

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/zunak/CVE-2024-22640> (exploit, third-party-advisory, web)
- <https://github.com/tecnickcom/TCPDF> (package, product)
- <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.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22640> (advisory)
- <https://github.com/tecnickcom/TCPDF/commit/05f3a28f4a7905019469e040cf77e53d6aa7f679> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LIB3R2WB7XPW2I4PGVMZ3VLFLRHOK4RB> (web)

## Sources

- CVE List: [CVE-2024-22640](https://www.cve.org/CVERecord?id=CVE-2024-22640), CVE Terms of Use, modified 2025-11-04
- GitHub Advisory Database: [GHSA-mx3p-fhpw-x6rv](https://github.com/advisories/GHSA-mx3p-fhpw-x6rv), CC-BY-4.0, modified 2025-11-04
- NVD: [CVE-2024-22640](https://nvd.nist.gov/vuln/detail/CVE-2024-22640), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-22640 · Whole record: https://cve.day/CVE-2024-22640.json · Rebuilt by cve.day 2026-11-25T22:58:39.485Z
