{"id":"CVE-2024-51058","published":"2024-11-26T00:00:00Z","modified":"2025-11-03T19:31:56Z","title":"Local File Inclusion (LFI) vulnerability has been discovered in TCPDF 6.7.5","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0111,"percentile":0.65551,"provenance":"source"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"references":[{"url":"https://github.com/tecnickcom/TCPDF","tags":[]},{"url":"https://github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b","tags":[]},{"url":"https://github.com/saravana-hackz/vulnerability-research/tree/main/CVE-2024-51058","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00004.html","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":13.11},{"name":"CVSS severity","points":4.34}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-26T19:42:39.282766Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"tecnickcom/tcpdf","vulnerableRanges":["<6.7.6"],"patched":["6.7.6"],"from":["GHSA-rmv2-8jjc-23xw"],"provenance":"source"}],"summary":{"text":"A Local File Inclusion vulnerability exists in TCPDF 6.7.5, a PDF generation library, where the <img> src tag can be abused to read arbitrary files from the server's file system. An attacker with no privileges or user interaction required, reaching the affected component through local access, can read sensitive files on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:40Z"},"euvd":{"id":"EUVD-2024-3381","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tecnick-tcpdf-cve-2018-17057","parents":[{"from":"CVE-2018-17057","to":"CVE-2024-51058","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_static.php","tcpdf.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/1861e33fe05f653b67d070f7c106463e7a5c26ed","https://github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b"],"basis":"shared function","functions":["TCPDF_STATIC"]}]},{"from":"CVE-2024-32489","to":"CVE-2024-51058","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_static.php","tcpdf.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/51cd1b39de5643836e62661d162c472d63167df7","https://github.com/tecnickcom/TCPDF/commit/82fc97bf1c74c8dbe62b1d3cc6d10fa4b87e0262","https://github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b"],"basis":"shared function","functions":["TCPDF_STATIC","openHTMLTagHandler"]}]}],"children":[{"from":"CVE-2024-51058","to":"CVE-2024-56521","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["include/tcpdf_static.php"],"commits":["https://github.com/tecnickcom/TCPDF/commit/bfa7d2b6d455ebf72ebe3d48fbd487ee5a1f6f3b","https://github.com/tecnickcom/TCPDF/commit/aab43ab0a824e956276141a28a24c7c0be20f554"],"basis":"shared function","functions":["TCPDF_STATIC"]}]}],"packageHistory":[{"cve":"CVE-2018-17057","published":"2018-09-14","fixed":"6.2.22","kev":false},{"cve":"CVE-2024-32489","published":"2024-04-15","fixed":"6.7.4","kev":false},{"cve":"CVE-2024-22640","published":"2024-04-19","fixed":"6.7.5","kev":false,"link":{"from":"CVE-2024-22640","to":"CVE-2024-51058","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:tecnickcom/tcpdf","fromFixed":"6.7.5","toFixed":"6.7.6","daysApart":221}]}},{"cve":"CVE-2024-51058","published":"2024-11-26","fixed":"6.7.6","kev":false},{"cve":"CVE-2024-56519","published":"2024-12-27","fixed":"6.8.0","kev":false},{"cve":"CVE-2024-56521","published":"2024-12-27","fixed":"6.8.0","kev":false},{"cve":"CVE-2024-56522","published":"2024-12-27","fixed":"6.8.0","kev":false}],"package":"Packagist:tecnickcom/tcpdf"}}