{"id":"GHSA-grhh-r4jj-8jh7","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.","aliases":["CVE-2024-56520"],"modified":"2025-11-05T00:40:50.300221Z","published":"2024-12-27T06:30:47Z","database_specific":{"nvd_published_at":"2024-12-27T05:15:07Z","cwe_ids":[],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-12-27T19:53:21Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56520"},{"type":"WEB","url":"https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe"},{"type":"WEB","url":"https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677"},{"type":"WEB","url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0"},{"type":"PACKAGE","url":"https://github.com/tecnickcom/tc-lib-pdf-font"},{"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"}],"affected":[{"package":{"name":"tecnickcom/tc-lib-pdf-font","ecosystem":"Packagist","purl":"pkg:composer/tecnickcom/tc-lib-pdf-font"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.4"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-grhh-r4jj-8jh7/GHSA-grhh-r4jj-8jh7.json"}}],"schema_version":"1.9.0"}