Skip to main content
CVE-2024-56519VulnerabilityPublished Updated

CVE-2024-56519: tecnick tcpdf · n/a

Affects tecnick tcpdfSource CVE Database V5

0

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

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.8.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Dec 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 2026-10-26.

What to do

Upgrade tecnickcom/TCPDF to 6.8.0.

Affected software

ProductAffectedFixed in
GitHubtecnickcom/TCPDFpkg:github/tecnickcom/TCPDFOther threatsAffected
  • <6.8.0
Fixed in
  • 6.8.0

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

AI-suggested

1. Upgrade TCPDF to version 6.8.0 or later immediately once available, as this version addresses the sanitization issue in setSVGStyles. 2. Implement strict input validation and sanitization on all user-supplied SVG content before it is processed by TCPDF, specifically filtering or escaping font-family attributes to prevent injection of malicious code. 3. Employ Content Security Policy (CSP) headers and PDF viewer security settings to limit the execution of embedded scripts or malicious content within PDFs. 4. Monitor and audit PDF generation logs for unusual or unexpected SVG content submissions that could indicate exploitation attempts. 5. Where feasible, isolate PDF generation processes in sandboxed environments to reduce the risk of lateral movement in case of exploitation. 6. Educate developers and system administrators about the risks associated with SVG content in PDFs and encourage secure coding practices around third-party libraries. 7. Stay updated with vendor advisories and community patches related to TCPDF and SVG processing vulnerabilities.

Description

An issue was discovered in TCPDF before 6.8.0.setSVGStyles does not sanitize the SVG font-family attribute.

References

Community reviews

Loading reviews…