Home / Tecnick / Tcpdf / CVE-2018-17057
CVE-2018-17057: is it exploited, and which versions of Tecnick Tcpdf are affected and fixed?
CVE-2018-17057 is a deserialization of untrusted data vulnerability in Tecnick Tcpdf. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: tecnickcom/tcpdf before 6.2.22, fooman/tcpdf before 6.2.22, la-haute-societe/tcpdf before 6.2.22 and 1 more (GitHub advisory GHSA-5hw4-m7f3-hhx8). Fixed in 6.2.22 (GitHub advisory GHSA-5hw4-m7f3-hhx8). Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:29 UTC.
What is CVE-2018-17057?
An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.
From the CVE record by mitre, last updated August 5, 2024, 10:39 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | tecnickcom/tcpdf | < 6.2.22 | 6.2.22 | GHSA-5hw4-m7f3-hhx8 |
| Packagist | fooman/tcpdf | < 6.2.22 | 6.2.22 | GHSA-5hw4-m7f3-hhx8 |
| Packagist | la-haute-societe/tcpdf | < 6.2.22 | 6.2.22 | GHSA-5hw4-m7f3-hhx8 |
| Packagist | spoonity/tcpdf | < 6.2.22 | 6.2.22 | GHSA-5hw4-m7f3-hhx8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 6, 2022. Summary: TCPDF vulnerable to attackers triggering deserialization of arbitrary data.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| tecnick | tcpdf | before 6.2.22 | application |
| limesurvey | limesurvey | before 3.16.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:45 UTC.
How severe is CVE-2018-17057?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-17057 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 25.9% probability of exploitation activity in the next 30 days, percentile 98.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed x_refsource_MISC
- 20190322 CVE-2018-17057: phar deserialization in TCPDF might lead to RCE mailing-list, x_refsource_FULLDISC
- http://packetstormsecurity.com/files/152200/TCPDF-6.2.19-Deserialization-Remote-Code-Execution.html x_refsource_MISC
- https://github.com/LimeSurvey/LimeSurvey/commit/1cdd78d27697b3150bb44aaa7af1a81062a591a5 x_refsource_MISC
- 46634 exploit, x_refsource_EXPLOIT-DB
- http://packetstormsecurity.com/files/152360/LimeSurvey-Deserialization-Remote-Code-Execution.html x_refsource_MISC
- https://contao.org/en/news/security-vulnerability-cve-2018-17057.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 14, 2018
- Published
- September 14, 2018, 20:00 UTC
- CVE record updated
- August 5, 2024, 10:39 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:45 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:29 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Tcpdf?
- Dec 27, 2024CVE-2024-56527 tecnick tcpdf: cross-site scripting (XSS)
- Dec 27, 2024CVE-2024-56522 tecnick tcpdf: type confusion
- Dec 27, 2024CVE-2024-56521 tecnick tcpdf: improper certificate validation
- Dec 27, 2024CVE-2024-56520 tecnick tcpdf: n/a
- Dec 27, 2024CVE-2024-56519 tecnick tcpdf: cross-site scripting (XSS)
Questions about CVE-2018-17057
Is CVE-2018-17057 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 25.9% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Tecnick Tcpdf are affected by CVE-2018-17057?
tecnickcom/tcpdf before 6.2.22, fooman/tcpdf before 6.2.22, la-haute-societe/tcpdf before 6.2.22 and spoonity/tcpdf before 6.2.22, per the GitHub advisory GHSA-5hw4-m7f3-hhx8. The tables above give every range the sources list.
Which version fixes CVE-2018-17057?
6.2.22, per the GitHub advisory GHSA-5hw4-m7f3-hhx8. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-17057?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-17057?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.