What’s Vulnerable › Vulnerabilities
CVE-2024-56520
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-27 · updated 2026-06-17
Description
An issue was discovered in tc-lib-pdf-font before 2.6.4, as used in TCPDF before 6.8.0 and other products. Fonts are mishandled, e.g., FontBBox for Type 1 and TrueType fonts is misparsed.
Affected products
- tecnick tcpdf: before 6.8.0 — fixed in 6.8.0
How to fix
Upgrade to a fixed version: tecnick tcpdf 6.8.0. Check the vendor advisory for mitigations.
References
- https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe
- https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
- https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677
- https://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4
- https://tcpdf.org
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html
Get alerted when CVE-2024-56520 or the next vulnerability affects your stack