CVE-2024-56520: tc-lib-pdf-font
Affects tcpdfSource GCVE Database
Not known to be exploited · CVSS 7.3 High.
Data as of 24 Nov 2026, 19:42 UTC
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 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTStcpdfpkg:deb/ubuntu/tcpdf?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTStcpdfpkg:deb/ubuntu/tcpdf?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTStcpdfpkg:deb/ubuntu/tcpdf?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTStcpdfpkg:deb/ubuntu/tcpdf?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTStcpdfpkg:deb/ubuntu/tcpdf?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Ubuntu 14.04 LTStcpdfpkg:deb/ubuntu/tcpdf?arch=source&distro=trustyOther threats | 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
- ubuntu.com/security/CVE-2024-56520 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-56520 (opens in a new tab)
- github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677 (opens in a new tab)
- github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4 (opens in a new tab)
- github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe (opens in a new tab)
- github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0 (opens in a new tab)
- tcpdf.org (opens in a new tab)