{"id":"CVE-2024-56139","state":"PUBLISHED","title":"A stack overflow Segmentation Fault (SEGV) and Memory Leak in pdftools","description":"pdftools is a high level tools to convert PDF files to ePUB formats. In versions up to and including 0.5.0 maliciously crafted epub files can cause a stack overflow leading to a crash. This issue has not yet been addressed and users are advised to avoid untrusted input to their systems.","publishedAt":"2024-12-17T18:32:18.011Z","updatedAt":"2024-12-20T20:58:09.933Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["leonhad pdftools"],"affected":[{"vendor":"leonhad","product":"pdftools","versions":[{"version":"<= 0.5.0","status":"affected"}]}],"references":["https://github.com/leonhad/pdftools/security/advisories/GHSA-hgvf-4pf3-fwc9"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/56xxx/CVE-2024-56139.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-56139","state":"PUBLISHED","datePublished":"2024-12-17T18:32:18.011Z","dateUpdated":"2024-12-20T20:58:09.933Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-12-16T17:30:30.068Z"},"containers":{"cna":{"title":"A stack overflow Segmentation Fault (SEGV) and Memory Leak in pdftools","descriptions":[{"lang":"en","value":"pdftools is a high level tools to convert PDF files to ePUB formats. In versions up to and including 0.5.0 maliciously crafted epub files can cause a stack overflow leading to a crash. This issue has not yet been addressed and users are advised to avoid untrusted input to their systems."}],"affected":[{"vendor":"leonhad","product":"pdftools","versions":[{"version":"<= 0.5.0","status":"affected"}]}],"references":[{"url":"https://github.com/leonhad/pdftools/security/advisories/GHSA-hgvf-4pf3-fwc9","name":"https://github.com/leonhad/pdftools/security/advisories/GHSA-hgvf-4pf3-fwc9","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-12-17T18:32:18.011Z"},"source":{"advisory":"GHSA-hgvf-4pf3-fwc9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/leonhad/pdftools/security/advisories/GHSA-hgvf-4pf3-fwc9","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-20T20:57:38.344553Z","id":"CVE-2024-56139","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-20T20:58:09.933Z"}}]}}}