{"id":"CVE-2024-56520","published":"2024-12-27T00:00:00Z","modified":"2025-11-03T19:32:20Z","title":"An issue was discovered in tc-lib-pdf-font before 2.6.4, as used in TCPDF before 6.8.0 and other products","vendor":"tecnick","product":"tcpdf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00557,"percentile":0.47357,"provenance":"source"},"cwes":[],"references":[{"url":"https://tcpdf.org","tags":[]},{"url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0","tags":[]},{"url":"https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe","tags":[]},{"url":"https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677","tags":[]},{"url":"https://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html","tags":[]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":9.47},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"tecnick","affectedVersions":[{"vendor":"tecnick","product":"tcpdf","versions":["< 6.8.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-02T19:32:48.474422Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"tecnickcom/tc-lib-pdf-font","vulnerableRanges":["<2.6.4"],"patched":["2.6.4"],"from":["GHSA-grhh-r4jj-8jh7"],"provenance":"source"}],"summary":{"text":"The tc-lib-pdf-font component, as used in TCPDF before 6.8.0 and other products, mishandles fonts, including misparsing the FontBBox data for Type 1 and TrueType fonts. An attacker can exploit this over the network without authentication or user interaction, using a crafted font.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:34Z"},"euvd":{"id":"EUVD-2024-3587","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tecnick-tcpdf-cve-2018-17057","parents":[{"from":"CVE-2018-17057","to":"CVE-2024-56520","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_fonts.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed","https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe"],"basis":"shared function","functions":["addTTFfont"]}]},{"from":"CVE-2024-32489","to":"CVE-2024-56520","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_fonts.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/51cd1b39de5643836e62661d162c472d63167df7","https://github.com/tecnickcom/TCPDF/commit/82fc97bf1c74c8dbe62b1d3cc6d10fa4b87e0262","https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe"],"basis":"rarely changed file"}]}]}}