CVE-2018-17057
An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.
- 9.8CriticalCVSS base score
- 26.2%Exploitation in 30 daysEPSS · top 2.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Show the exploits2
Exploit-DB1 entry
- LimeSurvey < 3.16 - Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 46634webapps, phppublished 2 Apr 2019Not verified
References tagged exploit1 reference
- 46634 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 26.2% · top 2.0% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
n/a
- affected n/a
Affected packages
Affected packages4
From reviewed advisories of the GitHub Advisory Database.
- Packagistfooman/tcpdfGHSA-5hw4-m7f3-hhx8 (opens in a new tab)
- Packagistla-haute-societe/tcpdfGHSA-5hw4-m7f3-hhx8 (opens in a new tab)
- Packagistspoonity/tcpdfGHSA-5hw4-m7f3-hhx8 (opens in a new tab)
- Packagisttecnickcom/tcpdfGHSA-5hw4-m7f3-hhx8 (opens in a new tab)
References
References7
- https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed (opens in a new tab)x_refsource_MISCx_transferred
- 20190322 CVE-2018-17057: phar deserialization in TCPDF might lead to RCE (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- http://packetstormsecurity.com/files/152200/TCPDF-6.2.19-Deserialization-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/LimeSurvey/LimeSurvey/commit/1cdd78d27697b3150bb44aaa7af1a81062a591a5 (opens in a new tab)x_refsource_MISCx_transferred
- 46634 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://packetstormsecurity.com/files/152360/LimeSurvey-Deserialization-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- https://contao.org/en/news/security-vulnerability-cve-2018-17057.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-7027 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5hw4-m7f3-hhx8 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-17057)Record last updated .