{"id":"CVE-2024-56522","aliases":["CVE-2024-56522","GHSA-w95c-7994-ghpr"],"related":[],"kind":"vulnerability","state":"published","title":"TCPDF has incorrect comparison","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en TCPDF antes de 6.8.0. unserializeTCPDFtag usa != (también conocido como comparación flexible) y no usa una función de tiempo constante para comparar hashes de etiquetas TCPDF.","source":"nvd"}],"published":"2024-12-27T00:00:00.000Z","modified":"2026-06-17T08:12:17.787Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"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:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-697","CWE-843"],"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":"6.8.0"}],"ecosystem":"Packagist","package":"tecnickcom/tcpdf","purl":"pkg:composer/tecnickcom/tcpdf","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.8.0"}],"vendor":"tcpdf_project","product":"tcpdf","cpe":"cpe:2.3:a:tcpdf_project:tcpdf:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://tcpdf.org","tags":["product","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0","tags":["issue-tracking","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tecnickcom/TCPDF/commit/d54b97cec33f4f1a5ad81119a82085cad93cec89","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.php.net/manual/en/types.comparisons.php","tags":["not-applicable","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-56522","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tecnickcom/TCPDF","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-12-30T15:54:25.367Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56522","url":"https://www.cve.org/CVERecord?id=CVE-2024-56522","licence":"CVE Terms of Use","modified":"2025-11-03T19:32:21.561Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w95c-7994-ghpr","url":"https://github.com/advisories/GHSA-w95c-7994-ghpr","licence":"CC-BY-4.0","modified":"2025-11-03T23:05:57.134Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56522","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56522","licence":"Public domain","modified":"2026-06-17T08:12:17.787Z"}],"updatedAt":"2026-11-25T22:58:50.387Z","epss":{"score":0.00614,"percentile":0.50777,"date":"2026-12-02T12:00:21.000Z"}}