# CVE-2024-56520: tecnickcom/tc-lib-pdf-font mishandles fonts

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 47% of CVEs (2026-12-01)
- Published: 2024-12-27T00:00:00.000Z
- Modified: 2026-06-17T08:12:17.480Z
- Also known as: GHSA-grhh-r4jj-8jh7
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- tecnick tcpdf: before 6.8.0
- tecnickcom/tc-lib-pdf-font (Packagist): before 2.6.4

## Every score

- CISA-ADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: rating Medium

## References

- <https://tcpdf.org> (web)
- <https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0> (web)
- <https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe> (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://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)

## Sources

- CVE List: [CVE-2024-56520](https://www.cve.org/CVERecord?id=CVE-2024-56520), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-grhh-r4jj-8jh7](https://github.com/advisories/GHSA-grhh-r4jj-8jh7), CC-BY-4.0, modified 2025-11-04
- NVD: [CVE-2024-56520](https://nvd.nist.gov/vuln/detail/CVE-2024-56520), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56520 · Whole record: https://cve.day/CVE-2024-56520.json · Rebuilt by cve.day 2026-11-25T22:58:50.386Z
