{"id":"CVE-2024-56521","aliases":["DEBIAN-CVE-2024-56521","EUVD-2024-3571","GHSA-9mgx-552f-59p6","MGASA-2025-0059","UBUNTU-CVE-2024-56521"],"status":"published","title":"TCPDF missing certificate validation","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00785,"percentile":0.56398,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2024-12-27T00:00:00Z","modified":"2026-11-02T12:02:56Z","fixes":[{"ecosystem":"Packagist","package":"tecnickcom/tcpdf","fixed_in":["6.8.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"tcpdf","fixed_in":["6.8.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tcpdf","fixed_in":["6.8.0+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"tecnickcom/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.10.1+dfsg-1","6.10.1+dfsg-2","6.11.2+dfsg-1","6.11.2+dfsg-2","6.6.2+dfsg1-1","6.6.2+dfsg1-1+deb12u1","6.6.3+dfsg1-1","6.6.5+dfsg-1","6.7.4+dfsg-1","6.7.5+dfsg-1","6.7.7+dfsg-1","6.8.0+dfsg-1","6.8.0+dfsg-1~bpo12+1","6.8.2+dfsg-1","6.8.2+dfsg-1~bpo12+1","6.9.1+dfsg-1","6.9.1+dfsg-1~bpo12+1"]},{"source":"osv","ecosystem":"Debian:13","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"tecnickcom/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.0"}]}],"versions":["6.0.013","6.0.014","6.0.015","6.0.016","6.0.017","6.0.018","6.0.019","6.0.020","6.0.021","6.0.022","6.0.023","6.0.024","6.0.025","6.0.026","6.0.027","6.0.028","6.0.029","6.0.030","6.0.031","6.0.032","6.0.033","6.0.034","6.0.035","6.0.036","6.0.037","6.0.038","6.0.039","6.0.040","6.0.041","6.0.042","6.0.043","6.0.044","6.0.045","6.0.046","6.0.047","6.0.048","6.0.049","6.0.050","6.0.051","6.0.052","6.0.053","6.0.054","6.0.055","6.0.056","6.0.057","6.0.058","6.0.059","6.0.060","6.0.061","6.0.062","6.0.063","6.0.064","6.0.065","6.0.066","6.0.067","6.0.068","6.0.069","6.0.070","6.0.071","6.0.072","6.0.073","6.0.074","6.0.075","6.0.076","6.0.077","6.0.078","6.0.079","6.0.080","6.0.081","6.0.082","6.0.083","6.0.084","6.0.085","6.0.086","6.0.087","6.0.088","6.0.089","6.0.090","6.0.091","6.0.092","6.0.093","6.0.094","6.0.095","6.0.096","6.0.097","6.0.098","6.0.099","6.1.0","6.1.1","6.2.0","6.2.1","6.2.10","6.2.11","6.2.12","6.2.13","6.2.16","6.2.17","6.2.19","6.2.2","6.2.20","6.2.21","6.2.22","6.2.23","6.2.25","6.2.26","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9","6.3.0","6.3.1","6.3.2","6.3.3","6.3.4","6.3.5","6.4.1","6.4.2","6.4.3","6.4.4","6.5.0","6.6.0","6.6.1","6.6.2","6.7.4","6.7.5","6.7.6","6.7.7","6.7.8"]},{"source":"osv","ecosystem":"Mageia:9","package":"php-tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.5.0-1.3.mga9"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"tcpdf","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.093+dfsg-1","6.0.093+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.12+dfsg2-1ubuntu1","6.2.13+dfsg-1","6.2.13+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"tcpdf","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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.3.5+dfsg1-1","6.4.2+dfsg1-1","6.4.4+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"tcpdf","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"]}],"products":[{"vendor":"tcpdf_project","product":"tcpdf"},{"vendor":"tecnick","product":"tcpdf"}],"references":[{"url":"https://tcpdf.org","tags":["Product","web","report"]},{"url":"https://github.com/tecnickcom/TCPDF/compare/6.7.8...6.8.0","tags":["Patch","web","report"]},{"url":"https://github.com/tecnickcom/TCPDF/commit/aab43ab0a824e956276141a28a24c7c0be20f554","tags":["Product","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56521","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9mgx-552f-59p6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56521.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-56521","tags":["advisory"]},{"url":"https://github.com/tecnickcom/TCPDF","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2025-0059.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33898","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZX3ABLKKEVGN4M4BBUJFPBNWW5SHP7J3/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2024-56521","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-56521","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-56521","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","status":"published","published":"2024-12-27T00:00:00Z","modified":"2025-03-24T17:45:16.482Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:33:57.983942Z"}],"euvd":[{"id":"EUVD-2024-3571","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","status":"published","published":"2024-12-27T00:00:00Z","modified":"2025-03-24T17:45:16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:54.592858Z"}],"ghsa":[{"id":"GHSA-9mgx-552f-59p6","title":"TCPDF missing certificate validation","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","status":"published","published":"2024-12-27T06:30:47Z","modified":"2024-12-27T19:54:50Z","cvss":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:38:26.167657Z"}],"nvd":[{"id":"CVE-2024-56521","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","status":"published","published":"2024-12-27T05:15:07.977Z","modified":"2026-06-17T08:12:17.63Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:10:41.091507Z"}],"osv":[{"id":"CVE-2024-56521","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","status":"published","published":"2024-12-27T00:00:00Z","modified":"2026-10-28T02:30:26.67353167Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:44:44.777182Z"},{"id":"DEBIAN-CVE-2024-56521","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","status":"published","published":"2024-12-27T05:15:07.977Z","modified":"2026-11-02T12:02:56.916954453Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:44.429177Z"},{"id":"GHSA-9mgx-552f-59p6","title":"TCPDF missing certificate validation","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","status":"published","published":"2024-12-27T06:30:47Z","modified":"2024-12-27T20:12:10.509042Z","cvss":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:43.875515Z"},{"id":"UBUNTU-CVE-2024-56521","description":"An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.","status":"published","published":"2024-12-27T05:15:00Z","modified":"2025-10-24T05:15:07Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:55:15.331356Z"},{"id":"MGASA-2025-0059","title":"Updated php-tcpdf packages fix security vulnerabilities","description":"An issue was discovered in TCPDF before 6.8.0. setSVGStyles does not\nsanitize the SVG font-family attribute. (CVE-2024-56519)\nAn issue was discovered in TCPDF before 6.8.0. If libcurl is used,\nCURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.\n(CVE-2024-56521)\nAn issue was discovered in TCPDF before 6.8.0. unserializeTCPDFtag uses\n!= (aka loose comparison) and does not use a constant-time function to\ncompare TCPDF tag hashes. (CVE-2024-56522)\nAn issue was discovered in TCPDF before 6.8.0. The Error function lacks\nan htmlspecialchars call for the error message. (CVE-2024-56527)\n","status":"published","published":"2025-02-12T21:31:42Z","modified":"2026-04-16T04:42:51.944132191Z","updated_at":"2026-11-02T15:49:43.178336Z"}]}}
