{"id":"CVE-2024-56520","aliases":["GHSA-grhh-r4jj-8jh7"],"url":"https://o3.security/vulnerability/CVE-2024-56520","summary":"tecnickcom/tc-lib-pdf-font mishandles fonts","details":"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":"2024-12-27T00:00:00Z","modified":"2026-08-12T03:51:41.805575809Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"tecnickcom/tc-lib-pdf-font","fixedVersion":"2.6.4"}],"fix":{"url":"https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe","label":"tecnickcom/TCPDF@a0a02ef"},"references":[{"type":"WEB","url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0"},{"type":"WEB","url":"https://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html"},{"type":"WEB","url":"https://tcpdf.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56520.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56520"},{"type":"FIX","url":"https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe"},{"type":"FIX","url":"https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677"},{"type":"PACKAGE","url":"https://github.com/tecnickcom/tc-lib-pdf-font"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:41.805575809Z"}}