CVE-2024-56522
HIGH7.5EPSS 0.15%TCPDF has incorrect comparison
Published: 12/27/2024Modified: 11/3/2025
Also known as:GHSA-w95c-7994-ghpr
Description
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.
Affected packages (2)
- Debian/tcpdffrom 0, < 6.3.5+dfsg1-1+deb11u1
- Packagist/tecnickcom/tcpdffrom 0, < 6.8.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-56522
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-56522
- PATCHhttps://github.com/tecnickcom/TCPDF
- WEBhttps://github.com/tecnickcom/TCPDF/commit/d54b97cec33f4f1a5ad81119a82085cad93cec89
- WEBhttps://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0
- WEBhttps://lists.debian.org/debian-lts-announce/2025/06/msg00004.html
- WEBhttps://tcpdf.org
- WEBhttps://www.php.net/manual/en/types.comparisons.php