CVE-2024-56520
HIGH7.3EPSS 0.09%tecnickcom/tc-lib-pdf-font mishandles fonts
Published: 12/27/2024Modified: 11/4/2025
Also known as:GHSA-grhh-r4jj-8jh7
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 packages (2)
- Debian/tcpdffrom 0, < 6.3.5+dfsg1-1+deb11u1
- Packagist/tecnickcom/tc-lib-pdf-fontfrom 0, < 2.6.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-56520
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-56520
- PATCHhttps://github.com/tecnickcom/tc-lib-pdf-font
- WEBhttps://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677
- WEBhttps://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4
- WEBhttps://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe
- WEBhttps://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
- WEBhttps://lists.debian.org/debian-lts-announce/2025/06/msg00004.html
- WEBhttps://tcpdf.org