{"id":"UBUNTU-CVE-2024-56520","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.","modified":"2025-10-24T05:15:07Z","published":"2024-12-27T05:15:00Z","upstream":["CVE-2024-56520"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-56520"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-56520"},{"type":"REPORT","url":"https://github.com/tecnickcom/tc-lib-pdf-font/commit/30012e333ae611c514ec2dc7cb370bbf4da4e677"},{"type":"REPORT","url":"https://github.com/tecnickcom/tc-lib-pdf-font/compare/2.6.2...2.6.4"},{"type":"REPORT","url":"https://github.com/tecnickcom/TCPDF/commit/a0a02efe487cc39bd5223359e916dbeafb5cd6fe"},{"type":"REPORT","url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0"},{"type":"REPORT","url":"https://tcpdf.org"}],"affected":[{"package":{"name":"tcpdf","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/tcpdf@6.0.048+dfsg-2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.010+dfsg-1","6.0.021+dfsg-1","6.0.048+dfsg-1","6.0.048+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"php-tcpdf","binary_version":"6.0.048+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56520.json"}},{"package":{"name":"tcpdf","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tcpdf@6.0.093+dfsg-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.093+dfsg-1","6.0.093+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-tcpdf","binary_version":"6.0.093+dfsg-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56520.json"}},{"package":{"name":"tcpdf","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tcpdf@6.2.13+dfsg-1ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.12+dfsg2-1ubuntu1","6.2.13+dfsg-1","6.2.13+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-tcpdf","binary_version":"6.2.13+dfsg-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56520.json"}},{"package":{"name":"tcpdf","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tcpdf@6.3.5+dfsg1-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.13+dfsg-1ubuntu1","6.3.2+dfsg1-1","6.3.4+dfsg1-1","6.3.5+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-tcpdf","binary_version":"6.3.5+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56520.json"}},{"package":{"name":"tcpdf","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tcpdf@6.4.4+dfsg1-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.3.5+dfsg1-1","6.4.2+dfsg1-1","6.4.4+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-tcpdf","binary_version":"6.4.4+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56520.json"}},{"package":{"name":"tcpdf","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/tcpdf@6.7.5+dfsg-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.6.2+dfsg1-1","6.6.5+dfsg-1","6.7.4+dfsg-1","6.7.5+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-tcpdf","binary_version":"6.7.5+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56520.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}