{"id":"CVE-2024-56527","aliases":["DEBIAN-CVE-2024-56527","DLA-4199-1","DSA-5933-1","EUVD-2024-3609","GHSA-qx95-cwh6-9mvq","MGASA-2025-0059","UBUNTU-CVE-2024-56527"],"status":"published","title":"TCPDF missing character escape on error messages","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00762,"percentile":0.55618,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-12-27T00:00:00Z","modified":"2026-11-02T12:02:57Z","fixes":[{"ecosystem":"Packagist","package":"tecnickcom/tcpdf","fixed_in":["6.8.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"tcpdf","fixed_in":["6.6.2+dfsg1-1+deb12u1"],"sources":["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"},{"fixed":"6.6.2+dfsg1-1+deb12u1"}]}],"versions":["6.6.2+dfsg1-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":"Debian:11","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.5+dfsg1-1+deb11u1"}]}],"versions":["6.3.5+dfsg1-1"],"bundled":8},{"source":"osv","ecosystem":"Debian:12","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.2+dfsg1-1+deb12u1"}]}],"versions":["6.6.2+dfsg1-1"],"bundled":8},{"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":["Issue Tracking","web","report"]},{"url":"https://github.com/tecnickcom/TCPDF/commit/11778aaa2d9e30a9ae1c1ee97ff349344f0ad6e1","tags":["Patch","fix","web","report"]},{"url":"https://andrea0.medium.com/analysis-of-cve-2024-56527-dbdab6962add","tags":["Exploit","Third Party Advisory","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56527","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qx95-cwh6-9mvq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56527.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-56527","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-56527","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-56527","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-56527","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","status":"published","published":"2024-12-27T00:00:00Z","modified":"2025-11-03T19:32:22.949Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:57.983942Z"}],"euvd":[{"id":"EUVD-2024-3609","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","status":"published","published":"2024-12-27T00:00:00Z","modified":"2025-11-03T19:32:22Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T19:49:33.639996Z"}],"ghsa":[{"id":"GHSA-qx95-cwh6-9mvq","title":"TCPDF missing character escape on error messages","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","status":"published","published":"2024-12-27T06:30:48Z","modified":"2025-11-04T16:16:34Z","cvss":[{"version":"4.0","score":4.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:05.278442Z"}],"nvd":[{"id":"CVE-2024-56527","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","status":"published","published":"2024-12-27T06:15:23.88Z","modified":"2026-06-17T08:12:18.587Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:10:41.091507Z"}],"osv":[{"id":"CVE-2024-56527","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","status":"published","published":"2024-12-27T00:00:00Z","modified":"2026-10-28T02:30:58.053957602Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:44.777182Z"},{"id":"DEBIAN-CVE-2024-56527","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","status":"published","published":"2024-12-27T06:15:23.88Z","modified":"2026-11-02T12:02:57.011689523Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:44.429177Z"},{"id":"GHSA-qx95-cwh6-9mvq","title":"TCPDF missing character escape on error messages","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","status":"published","published":"2024-12-27T06:30:48Z","modified":"2025-11-04T16:43:18.374787Z","cvss":[{"version":"4.0","score":4.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"UBUNTU-CVE-2024-56527","description":"An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error message.","status":"published","published":"2024-12-27T06:15:00Z","modified":"2025-10-24T05:15:07Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:15.331356Z"},{"id":"DLA-4199-1","title":"tcpdf - security update","status":"published","published":"2025-05-31T00:00:00Z","modified":"2026-03-09T01:18:22.137285Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"DSA-5933-1","title":"tcpdf - security update","status":"published","published":"2025-06-01T00:00:00Z","modified":"2026-03-09T02:09:21.116623Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"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"}]}}
