CVE-2018-17057
CRITICAL 9.8CVSS 3.0TCPDF vulnerable to attackers triggering deserialization of arbitrary data
An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.
- Published
- 14 Sep 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-5hw4-m7f3-hhx8
- Sources
- NVDJSONOSV GHSA-5hw4-m7f3-hhx8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tecnick | tcpdfcpe:2.3:a:tecnick:tcpdf:*:*:*:*:*:*:*:* |
< 6.2.22 | 6.2.22 |
| NVD | limesurvey | limesurveycpe:2.3:a:limesurvey:limesurvey:*:*:*:*:*:*:*:* |
< 3.16.0 | 3.16.0 |
| OSV | Packagist | tecnickcom/tcpdf | < 6.2.22 | 6.2.22 |
| OSV | Packagist | fooman/tcpdf | < 6.2.22 | 6.2.22 |
| OSV | Packagist | la-haute-societe/tcpdf | < 6.2.22 | 6.2.22 |
| OSV | Packagist | spoonity/tcpdf | < 6.2.22 | 6.2.22 |
References
- http://packetstormsecurity.com/files/152200/TCPDF-6.2.19-Deserialization-Remote-Code-Execution.html · Third Party Advisory, VDB Entry, WEB
- http://packetstormsecurity.com/files/152360/LimeSurvey-Deserialization-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://seclists.org/fulldisclosure/2019/Mar/36 · Mailing List, Third Party Advisory, WEB
- https://contao.org/en/news/security-vulnerability-cve-2018-17057.html · Third Party Advisory, WEB
- https://github.com/LimeSurvey/LimeSurvey/commit/1cdd78d27697b3150bb44aaa7af1a81062a591a5 · Patch, Third Party Advisory, WEB
- https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed · Patch, Third Party Advisory, WEB
- https://www.exploit-db.com/exploits/46634/ · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-17057 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/fooman/tcpdf/CVE-2018-17057.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/la-haute-societe/tcpdf/CVE-2018-17057.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/spoonity/tcpdf/CVE-2018-17057.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/tecnickcom/tcpdf/CVE-2018-17057.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/wallabag/tcpdf/CVE-2018-17057.yaml · WEB
- https://github.com/tecnickcom/TCPDF · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 14 Sep 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Oct 2022)