CVE-2024-51058
TCPDF Local File Inclusion vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.2
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.
- Record
CVE-2024-51058- CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-552
- Updated
- 2026-11-02
EUVDEUVD-2024-3381
6.2
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.
- Record
EUVD-2024-3381- CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rmv2-8jjc-23xw
5.5
TCPDF Local File Inclusion vulnerability
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.
- Record
GHSA-rmv2-8jjc-23xw- CVSS 4.0
- 5.5 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P - CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-552
- Updated
- 2026-11-02
NVD
6.2
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.
- Record
CVE-2024-51058- CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-552
- Updated
- 2026-11-02
OSV
6.2
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.
- Record
CVE-2024-51058- CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-51058
6.2
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.
- Record
DEBIAN-CVE-2024-51058- CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-rmv2-8jjc-23xw
5.5
TCPDF Local File Inclusion vulnerability
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.
- Record
GHSA-rmv2-8jjc-23xw- CVSS 4.0
- 5.5 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P - CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-552
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-51058
6.2
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.
- Record
UBUNTU-CVE-2024-51058- CVSS 3.1
- 6.2 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tecnickcom/tcpdfPackagist |
through 6.7.5 | 6.7.6 |
tcpdfDebian:12 |
before 6.6.2+dfsg1-1+deb12u1, plus listed versions 6.6.2+dfsg1-1 |
6.6.2+dfsg1-1+deb12u1 |
tcpdfDebian:13 |
before 6.7.7+dfsg-1 | 6.7.7+dfsg-1 |
tcpdfDebian:14 |
before 6.7.7+dfsg-1 | 6.7.7+dfsg-1 |
tcpdfDebian:11 From an advisory covering 8 CVEs |
before 6.3.5+dfsg1-1+deb11u1, plus listed versions 6.3.5+dfsg1-1 |
6.3.5+dfsg1-1+deb11u1 |
tcpdfDebian:12 From an advisory covering 8 CVEs |
before 6.6.2+dfsg1-1+deb12u1, plus listed versions 6.6.2+dfsg1-1 |
6.6.2+dfsg1-1+deb12u1 |
tecnickcom/tcpdfPackagist |
before 6.7.6, plus listed versions 6.0.0136.0.0146.0.0156.0.0166.0.017 Show 45 moreShow less6.0.0186.0.0196.0.0206.0.0216.0.0226.0.0236.0.0246.0.0256.0.0266.0.0276.0.0286.0.0296.0.0306.0.0316.0.0326.0.0336.0.0346.0.0356.0.0366.0.0376.0.0386.0.0396.0.0406.0.0416.0.0426.0.0436.0.0446.0.0456.0.0466.0.0476.0.0486.0.0496.0.0506.0.0516.0.0526.0.0536.0.0546.0.0556.0.0566.0.0576.0.0586.0.0596.0.0606.0.0616.0.062 |
6.7.6 |
tcpdfUbuntu:14.04:LTS |
All versions, plus listed versions 6.0.010+dfsg-16.0.021+dfsg-16.0.048+dfsg-16.0.048+dfsg-2 |
None known |
tcpdfUbuntu:16.04:LTS |
All versions, plus listed versions 6.0.093+dfsg-16.0.093+dfsg-1ubuntu1 |
None known |
tcpdfUbuntu:18.04:LTS |
All versions, plus listed versions 6.2.12+dfsg2-1ubuntu16.2.13+dfsg-16.2.13+dfsg-1ubuntu1 |
None known |
tcpdfUbuntu:20.04:LTS |
All versions, plus listed versions 6.2.13+dfsg-1ubuntu16.3.2+dfsg1-16.3.4+dfsg1-16.3.5+dfsg1-1 |
None known |
tcpdfUbuntu:22.04:LTS |
All versions, plus listed versions 6.3.5+dfsg1-16.4.2+dfsg1-16.4.4+dfsg1-1 |
None known |
tcpdfUbuntu:24.04:LTS |
All versions, plus listed versions 6.6.2+dfsg1-16.6.5+dfsg-16.7.4+dfsg-16.7.5+dfsg-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-51058 is a medium vulnerability (CVSS 6.2) in Tcpdf Project Tcpdf, published November 26, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.81%, the 57th percentile. Fixed in tecnickcom/tcpdf 6.7.6.
References
github.com/tecnickcom/TCPDF
github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b
github.com/saravana-hackz/vulnerability-research/tree/main/CVE-2024-51058
lists.debian.org/debian-lts-announce/2025/06/msg00004.html
nvd.nist.gov/vuln/detail/CVE-2024-51058
github.com/advisories/GHSA-rmv2-8jjc-23xw
Left out here: 78 versions. The JSON record has them.