CVE-2024-51058: tecnickcom/tcpdf · TCPDF Local File Inclusion vulnerability
Affects tecnickcom/tcpdfSource GCVE Database
Not known to be exploited · CVSS 6.2 Medium : upgrade to 6.7.6 when convenient.
Data as of 30 Oct 2026, 02:29 UTC
- Patch
- Available – fixed in 6.7.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade tecnickcom/tcpdf to 6.7.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagisttecnickcom/tcpdf | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade TCPDF to version 6.7.6 or later to remediate this vulnerability. Since a patch is available and fixed versions are published, applying the official fix is the recommended mitigation.
Description
A Local File Inclusion (LFI) vulnerability exists in TCPDF version 6.7.5 and earlier. This flaw allows an attacker to read arbitrary files on the server via the <img> src tag, potentially exposing sensitive information. The vulnerability is fixed in version 6.7.6.
References
- nvd.nist.gov/vuln/detail/CVE-2024-51058 (opens in a new tab)
- github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b (opens in a new tab)
- github.com/saravana-hackz/vulnerability-research/tree/main/CVE-2024-51058 (opens in a new tab)
- github.com/tecnickcom/TCPDF (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/06/msg00004.html (opens in a new tab)