{"id":"CVE-2018-17057","aliases":["DEBIAN-CVE-2018-17057","EUVD-2022-7027","GHSA-5hw4-m7f3-hhx8","UBUNTU-CVE-2018-17057"],"status":"published","title":"TCPDF vulnerable to attackers triggering deserialization of arbitrary data","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.26172,"percentile":0.98007,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-502"],"published":"2018-09-14T20:00:00Z","modified":"2026-11-04T10:45:07Z","exploits":[{"source":"exploitdb","id":"EDB-46634","title":"LimeSurvey \u003c 3.16 - Remote Code Execution","type":"webapps","platform":"php","date":"2019-04-02","url":"https://www.exploit-db.com/exploits/46634"}],"fixes":[{"ecosystem":"Packagist","package":"tecnickcom/tcpdf","fixed_in":["6.2.22"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"fooman/tcpdf","fixed_in":["6.2.22"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"la-haute-societe/tcpdf","fixed_in":["6.2.22"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"spoonity/tcpdf","fixed_in":["6.2.22"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"tcpdf","fixed_in":["6.2.26+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tcpdf","fixed_in":["6.2.26+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tcpdf","fixed_in":["6.2.26+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"tecnickcom/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.22"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"fooman/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.22"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"la-haute-societe/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.22"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"spoonity/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.22"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.26+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.26+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.26+dfsg-1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"tecnickcom/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.22"}]}],"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.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9"]},{"source":"osv","ecosystem":"Packagist","package":"fooman/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.22"}]}],"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.2","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9"]},{"source":"osv","ecosystem":"Packagist","package":"la-haute-societe/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.22"}]}],"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.14","6.2.2","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9"]},{"source":"osv","ecosystem":"Packagist","package":"spoonity/tcpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.22"}]}],"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.2","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9"]},{"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"]}],"products":[{"vendor":"limesurvey","product":"limesurvey"},{"vendor":"tecnick","product":"tcpdf"}],"references":[{"url":"https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"http://seclists.org/fulldisclosure/2019/Mar/36","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://packetstormsecurity.com/files/152200/TCPDF-6.2.19-Deserialization-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://github.com/LimeSurvey/LimeSurvey/commit/1cdd78d27697b3150bb44aaa7af1a81062a591a5","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.exploit-db.com/exploits/46634/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://packetstormsecurity.com/files/152360/LimeSurvey-Deserialization-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://contao.org/en/news/security-vulnerability-cve-2018-17057.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17057","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/wallabag/tcpdf/CVE-2018-17057.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/fooman/tcpdf/CVE-2018-17057.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/la-haute-societe/tcpdf/CVE-2018-17057.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/spoonity/tcpdf/CVE-2018-17057.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/tecnickcom/tcpdf/CVE-2018-17057.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5hw4-m7f3-hhx8"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-17057","tags":["advisory"]},{"url":"https://github.com/tecnickcom/TCPDF","tags":["package"]},{"url":"https://www.exploit-db.com/exploits/46634","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-17057","tags":["report"]},{"url":"https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26e","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-17057","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-17057","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.","status":"published","published":"2018-09-14T20:00:00Z","modified":"2024-08-05T10:39:59.443Z","updated_at":"2026-11-02T14:35:07.672841Z"}],"euvd":[{"id":"EUVD-2022-7027","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.","status":"published","published":"2018-09-14T20:00:00Z","modified":"2024-08-05T10:39:59Z","updated_at":"2026-11-03T02:39:39.229856Z"}],"ghsa":[{"id":"GHSA-5hw4-m7f3-hhx8","title":"TCPDF vulnerable to attackers triggering deserialization of arbitrary data","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the `phar://` wrapper.","status":"published","published":"2022-10-06T19:53:20Z","modified":"2024-02-05T10:54:54Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:37:35.293818Z"}],"nvd":[{"id":"CVE-2018-17057","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.","status":"published","published":"2018-09-14T20:29:00.54Z","modified":"2026-06-17T01:45:17.44Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:04:40.661264Z"}],"osv":[{"id":"CVE-2018-17057","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.","status":"published","published":"2018-09-14T20:29:00.54Z","modified":"2026-11-10T10:45:10.271838954Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-07T03:07:43.145435Z"},{"id":"DEBIAN-CVE-2018-17057","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.","status":"published","published":"2018-09-14T20:29:00.54Z","modified":"2026-10-23T18:04:47.413253815Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"GHSA-5hw4-m7f3-hhx8","title":"TCPDF vulnerable to attackers triggering deserialization of arbitrary data","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the `phar://` wrapper.","status":"published","published":"2022-10-06T19:53:20Z","modified":"2024-02-16T08:21:52.520485Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:38.553953Z"},{"id":"UBUNTU-CVE-2018-17057","description":"An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.","status":"published","published":"2018-09-14T20:29:00Z","modified":"2025-10-24T04:47:13Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:17.496046Z"}]}}
