Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2018-17057 EUVD-2022-7027GHSA-5hw4-m7f3-hhx8

TCPDF vulnerable to attackers triggering deserialization of arbitrary data

Published Sep 14, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tcpdf 6.2.26+dfsg-1 —
Debian 13 tcpdf 6.2.26+dfsg-1 —
Debian 12 tcpdf 6.2.26+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS tcpdf No fix yet —
Ubuntu 20.04 LTS tcpdf No fix yet —
Ubuntu 18.04 LTS tcpdf No fix yet —
Ubuntu 16.04 LTS tcpdf No fix yet —
Ubuntu 14.04 LTS tcpdf No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
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
Packagist tecnickcom/tcpdf < 6.2.22 6.2.22 GHSA-5hw4-m7f3-hhx8

References