Skip to main content
VulnerabilityPublished Updated

CVE-2024-22641: TCPDF · Unrestricted File Upload

Source CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.1% chance of exploitation in 30 days – higher than 65% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 28 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 26 Oct 2026.

What to do

AI-suggested

  1. Immediately audit all applications using TCPDF to identify if SVG parsing is enabled or if untrusted SVG files are accepted.
  2. Implement strict input validation and sanitization for SVG files before processing, using libraries designed to safely parse and clean SVG content.
  3. Employ rate limiting and request throttling on endpoints that accept file uploads to reduce the risk of resource exhaustion.
  4. Monitor CPU and memory usage patterns for anomalies indicative of ReDoS attacks, and establish alerting mechanisms.
  5. Where feasible, disable SVG support in TCPDF or replace SVG inputs with safer image formats.
  6. Stay updated with TCPDF releases and apply patches as soon as they become available.
  7. Consider deploying Web Application Firewalls (WAFs) with rules to detect and block malicious SVG payloads.
  8. Conduct regular security testing, including fuzzing and static analysis, to detect similar vulnerabilities in custom code handling SVG or PDF generation.

Description

TCPDF version 6.6.5 and before is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted SVG file.

References

Community reviews

Loading reviews…