CVE-2024-56522
HIGH 7.5CVSS 3.1TCPDF has incorrect comparison
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.
- Published
- 27 Dec 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-697CWE-843
- Also known as
- GHSA-w95c-7994-ghpr
- Sources
- NVDJSONOSV GHSA-w95c-7994-ghprJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tcpdf_project | tcpdfcpe:2.3:a:tcpdf_project:tcpdf:*:*:*:*:*:*:*:* |
< 6.8.0 | 6.8.0 |
| OSV | Packagist | tecnickcom/tcpdf | < 6.8.0 | 6.8.0 |
References
- https://github.com/tecnickcom/TCPDF/commit/d54b97cec33f4f1a5ad81119a82085cad93cec89 · Patch, WEB
- https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0 · Issue Tracking, WEB
- https://tcpdf.org · Product, WEB
- https://www.php.net/manual/en/types.comparisons.php · Not Applicable, WEB
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-56522 · ADVISORY
- https://github.com/tecnickcom/TCPDF · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Dec 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 27 Dec 2024)