{"id":"UBUNTU-CVE-2024-56522","details":"An issue was discovered in TCPDF before 6.8.0. unserializeTCPDFtag uses != (aka loose comparison) and does not use a constant-time function to compare TCPDF tag hashes.","modified":"2025-10-24T05:15:07Z","published":"2024-12-27T05:15:00Z","upstream":["CVE-2024-56522"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-56522"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-56522"},{"type":"REPORT","url":"https://github.com/tecnickcom/TCPDF/commit/d54b97cec33f4f1a5ad81119a82085cad93cec89"},{"type":"REPORT","url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0"},{"type":"REPORT","url":"https://tcpdf.org"},{"type":"REPORT","url":"https://www.php.net/manual/en/types.comparisons.php"}],"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_version":"6.0.048+dfsg-2","binary_name":"php-tcpdf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56522.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_version":"6.0.093+dfsg-1ubuntu1","binary_name":"php-tcpdf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56522.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_version":"6.2.13+dfsg-1ubuntu1","binary_name":"php-tcpdf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56522.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_version":"6.3.5+dfsg1-1","binary_name":"php-tcpdf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56522.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_version":"6.4.4+dfsg1-1","binary_name":"php-tcpdf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56522.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_version":"6.7.5+dfsg-1","binary_name":"php-tcpdf"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-56522.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:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}