Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. tecnickcom/tcpdf
  4. ›
  5. CVE-2024-51058

CVE-2024-51058: TCPDF Local File Inclusion vulnerability

November 26, 2024 (updated November 3, 2025)

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 src tag, potentially exposing sensitive information.

References

  • github.com/advisories/GHSA-rmv2-8jjc-23xw
  • github.com/saravana-hackz/vulnerability-research/tree/main/CVE-2024-51058
  • github.com/tecnickcom/TCPDF
  • github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b
  • lists.debian.org/debian-lts-announce/2025/06/msg00004.html
  • nvd.nist.gov/vuln/detail/CVE-2024-51058

Code Behaviors & Features

Detect and mitigate CVE-2024-51058 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.7.6

Fixed versions

  • 6.7.6

Solution

Upgrade to version 6.7.6 or above.

Impact 6.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-552: Files or Directories Accessible to External Parties

Source file

packagist/tecnickcom/tcpdf/CVE-2024-51058.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.