GitHub Advisory Database
GHSA-rmv2-8jjc-23xw
TCPDF Local File Inclusion vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | tecnickcom/tcpdf | All versions before 6.7.6 (fixed in 6.7.6) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-51058
- https://github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b
- https://github.com/saravana-hackz/vulnerability-research/tree/main/CVE-2024-51058
- https://github.com/tecnickcom/TCPDF
- https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html