CVE-2024-56520
HIGH
Published Dec 27, 2024
Modified Apr 15, 2026
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.
Is your site exposed to CVE-2024-56520?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
7.3
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
Other 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
Frequently Asked Questions
What is CVE-2024-56520? +
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. It has a CVSS v3.1 base score of 7.3 (HIGH).
How severe is CVE-2024-56520? +
CVE-2024-56520 has a CVSS v3.1 score of 7.3 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
How do I check if I'm vulnerable to CVE-2024-56520? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.