CVE-2024-56520: tecnickcom/tc-lib-pdf-font mishandles fonts
Affects tecnickcom/tc-lib-pdf-fontSource GCVE Database
Not known to be exploited · CVSS 7.3 High : upgrade to 2.6.4 soon.
Data as of 31 Oct 2026, 01:16 UTC
- Patch
- Available – fixed in 2.6.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 30 Oct 2026.
What to do
Upgrade tecnickcom/tc-lib-pdf-font to 2.6.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagisttecnickcom/tc-lib-pdf-font | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56520 (opens in a new tab)
- github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe (opens in a new tab)
- github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677 (opens in a new tab)
- github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0 (opens in a new tab)
- github.com/tecnickcom/tc-lib-pdf-font (opens in a new tab)
- github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/06/msg00004.html (opens in a new tab)
- tcpdf.org (opens in a new tab)