MEDIUM6.2
GHSA-rmv2-8jjc-23xw
TCPDF Local File Inclusion vulnerability
Quick fix
GHSA-rmv2-8jjc-23xw — tecnickcom/tcpdf: upgrade to the fixed version with the command below.
composer require tecnickcom/tcpdf:^6.7.6Details
Local File Inclusion (LFI) vulnerability has been discovered in TCPDF 6.7.5. This vulnerability enables a user to read arbitrary files from the server's file system through <img> src tag, potentially exposing sensitive information.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/tecnickcom/tcpdf
Introduced in:
0Fixed in: 6.7.6Fix
composer require tecnickcom/tcpdf:^6.7.6References
- https://nvd.nist.gov/vuln/detail/CVE-2024-51058[ADVISORY]
- https://github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b[WEB]
- https://github.com/saravana-hackz/vulnerability-research/tree/main/CVE-2024-51058[WEB]
- https://github.com/tecnickcom/TCPDF[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html[WEB]