CVE-2024-56522: tecnick tcpdf · Type Confusion
Affects tecnick tcpdfSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 10:12 UTC
- 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| tecnick tcpdf | Affected
| Fixed in– |
AI-suggested
- Upgrade TCPDF to version 6.8.0 or later, where the vulnerability has been addressed with proper use of strict and constant-time comparisons.
- Audit all applications using TCPDF to identify usage of unserializeTCPDFtag or similar unserialize functions and replace or harden them to avoid unsafe deserialization and timing leaks.
- Implement application-layer input validation and sanitization to reduce the risk of malicious payloads triggering the vulnerability.
- Employ web application firewalls (WAFs) with rules to detect and block suspicious requests targeting PDF generation endpoints.
- Monitor application logs and network traffic for anomalous timing patterns or repeated requests that may indicate exploitation attempts.
- Educate developers on secure coding practices related to serialization, deserialization, and cryptographic comparisons to prevent similar vulnerabilities.
- Consider deploying runtime application self-protection (RASP) tools to detect and mitigate exploitation attempts in real time.
Description
An issue was discovered in TCPDF before 6.8.0.unserializeTCPDFtag uses != (aka loose comparison) and does not use a constant-time function to compare TCPDF tag hashes.
References
- tcpdf.org (opens in a new tab)
- github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0 (opens in a new tab)
- github.com/tecnickcom/TCPDF/commit/d54b97cec33f4f1a5ad81119a82085cad93cec89 (opens in a new tab)
- php.net/manual/en/types.comparisons.php (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/06/msg00004.html (opens in a new tab)