{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56522","id":"CVE-2024-56522","title":"TCPDF has incorrect comparison","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.","descriptionLong":"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":"2024-12-27T00:00:00.000Z","updated":"2026-10-28T02:31:01.925621193Z","reserved":"2024-12-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["tecnick tcpdf"],"affectedProducts":[{"vendor":"tecnick","product":"tcpdf","defaultStatus":"unaffected","versions":[{"lessThan":"6.8.0","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"tecnickcom/tcpdf","purl":"pkg:composer/tecnickcom/tcpdf","ranges":["<6.8.0"],"fixed":["6.8.0"],"advisory":"GHSA-w95c-7994-ghpr"}],"cwes":["CWE-843","CWE-697"],"aliases":["GHSA-w95c-7994-ghpr"],"references":[{"url":"https://tcpdf.org","tags":["Product","web"]},{"url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0","tags":["Issue Tracking","web"]},{"url":"https://github.com/tecnickcom/TCPDF/commit/d54b97cec33f4f1a5ad81119a82085cad93cec89","tags":["Patch","fix","web"]},{"url":"https://www.php.net/manual/en/types.comparisons.php","tags":["Not Applicable","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56522.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56522","tags":["advisory"]},{"url":"https://github.com/tecnickcom/TCPDF","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00614,"epssPercentile":0.50142,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56522","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56522","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56522","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w95c-7994-ghpr","ok":true,"note":"GHSA-w95c-7994-ghpr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56522","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}