{"id":"CVE-2024-56520","aliases":["CVE-2024-56520","GHSA-grhh-r4jj-8jh7"],"related":[],"kind":"vulnerability","state":"published","title":"tecnickcom/tc-lib-pdf-font mishandles fonts","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en tc-lib-pdf-font anterior a la versión 2.6.4, tal como se utiliza en TCPDF anterior a la versión 6.8.0 y otros productos. Las fuentes se gestionan de forma incorrecta, por ejemplo, FontBBox para fuentes Type 1 y TrueType se analiza incorrectamente.","source":"nvd"}],"published":"2024-12-27T00:00:00.000Z","modified":"2026-06-17T08:12:17.480Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"6.8.0","status":"affected"}],"vendor":"tecnick","product":"tcpdf","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.6.4"}],"ecosystem":"Packagist","package":"tecnickcom/tc-lib-pdf-font","purl":"pkg:composer/tecnickcom/tc-lib-pdf-font","source":"ghsa"}],"references":[{"url":"https://tcpdf.org","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56520","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tecnickcom/tc-lib-pdf-font","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-01-02T19:32:48.474Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56520","url":"https://www.cve.org/CVERecord?id=CVE-2024-56520","licence":"CVE Terms of Use","modified":"2025-11-03T19:32:20.167Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-grhh-r4jj-8jh7","url":"https://github.com/advisories/GHSA-grhh-r4jj-8jh7","licence":"CC-BY-4.0","modified":"2025-11-04T16:42:13.035Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56520","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56520","licence":"Public domain","modified":"2026-06-17T08:12:17.480Z"}],"updatedAt":"2026-11-25T22:58:50.386Z","epss":{"score":0.00557,"percentile":0.47826,"date":"2026-12-01T12:00:22.000Z"}}