{"id":"GHSA-grhh-r4jj-8jh7","aliases":["CVE-2024-56520"],"title":"tecnickcom/tc-lib-pdf-font mishandles fonts","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","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.","severity":"medium","score":null,"published":"2024-12-27T06:30:47.000Z","modified":"2025-11-04T16:42:13.035Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"tecnickcom/tc-lib-pdf-font","sources":[{"name":"OSV · GHSA-grhh-r4jj-8jh7","url":"https://osv.dev/vulnerability/GHSA-grhh-r4jj-8jh7"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2.6.4"}],"type":"ECOSYSTEM"}],"versions":["1.0.1","1.0.3","1.10.0","1.10.3","1.10.5","1.10.6","1.11.0","1.11.1","1.11.10","1.11.2","1.11.3","1.11.4","1.11.5","1.11.6","1.11.7","1.11.8","1.11.9","1.12.0","1.13.0","1.14.0","1.15.0","1.15.1","1.15.10","1.15.3","1.15.4","1.15.5","1.15.6","1.15.7","1.15.9","1.16.1","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.5.0","1.6.0","1.7.0","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.8.0","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.9.0","1.9.3","1.9.6","1.9.7","2.0.11","2.0.13","2.0.7","2.0.8","2.0.9","2.1.1","2.2.0","2.2.1","2.2.2","2.2.3","2.3.1","2.4.0","2.4.1","2.4.2","2.5.0","2.5.1","2.6.0","2.6.1","2.6.2"],"fixed":["2.6.4"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-56520","https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe","https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677","https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0","https://github.com/tecnickcom/tc-lib-pdf-font","https://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4","https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html","https://tcpdf.org"],"sources":[{"name":"OSV","id":"GHSA-grhh-r4jj-8jh7","modified":"2025-11-04T16:42:13.035966Z","url":"https://osv.dev/vulnerability/GHSA-grhh-r4jj-8jh7"}],"assessments":[],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T00:40:34.326Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}