CVE-2024-56520
HIGH 7.3CVSS 3.1tecnickcom/tc-lib-pdf-font mishandles fonts
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.
- Published
- 27 Dec 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Also known as
- GHSA-grhh-r4jj-8jh7
- Sources
- NVDJSONOSV GHSA-grhh-r4jj-8jh7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | tecnickcom/tc-lib-pdf-font | < 2.6.4 | 2.6.4 |
References
- https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe · WEB
- https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0 · WEB
- https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677 · WEB
- https://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4 · WEB
- https://tcpdf.org · WEB
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-56520 · ADVISORY
- https://github.com/tecnickcom/tc-lib-pdf-font · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Dec 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 Dec 2024)