Skip to main content
VulnerabilityPublished Updated

CVE-2024-22640: tecnickcom/tcpdf · TCPDF vulnerable to Regular Expression Denial of Service

Affects tecnickcom/tcpdfSource GCVE Database

0
Compare
Authoritative record:CVE-2024-22640· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 6.7.5 soon.

Data as of 4 Nov 2026, 17:27 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 6.7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.

What to do

Upgrade tecnickcom/tcpdf to 6.7.5.

Affected software

ProductAffectedFixed in
Packagisttecnickcom/tcpdfAffected
  • <6.7.5
Fixed in
  • 6.7.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade TCPDF to version 6.7.5 or later, where this ReDoS vulnerability is fixed. Since a patch is available, applying this official fix is the recommended remediation. Avoid processing untrusted HTML inputs with vulnerable versions until patched.

Description

TCPDF versions up to 6.7.4 are vulnerable to a Regular Expression Denial of Service (ReDoS) when parsing untrusted HTML containing a specially crafted color value. This vulnerability can cause the application to consume excessive CPU resources, potentially leading to denial of service conditions. The issue is fixed in version 6.7.5.

References

Community reviews

Loading reviews…