CVE-2024-22640

HIGH

TCPDF <=6.6.5 - Regular Expression Denial of Service via Crafted HTML Color

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-22640. PoCs published by zunak.

AI-analyzed exploit summary This repository contains a functional proof-of-concept for CVE-2024-22640, demonstrating a ReDoS vulnerability in TCPDF <= 6.7.4. The PoC exploits a crafted HTML color string to trigger excessive backtracking in a regular expression, leading to a denial of service.

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.

Exploits (1)

nomisec WORKING POC
by zunak · poc
https://github.com/zunak/CVE-2024-22640

This repository contains a functional proof-of-concept for CVE-2024-22640, demonstrating a ReDoS vulnerability in TCPDF <= 6.7.4. The PoC exploits a crafted HTML color string to trigger excessive backtracking in a regular expression, leading to a denial of service.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: TCPDF <= 6.7.4
No auth needed
Prerequisites: Access to a system running TCPDF <= 6.7.4 · Ability to pass crafted HTML color input to the TCPDF parser
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.5
EPSS 0.0155
EPSS Percentile 81.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-1333
Status published
Products (3)
fedoraproject/fedora 40
tcpdf_project/tcpdf < 6.7.4
tecnickcom/tcpdf 0 - 6.7.5Packagist
Published Apr 19, 2024
Tracked Since Feb 18, 2026