CVE-2024-56139 A stack overflow Segmentation Fault (SEGV) and Memory Leak in pdftools
Maliciously crafted EPUB files cause a stack overflow and crash in pdftools, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-56139?
CVE-2024-56139 is a medium-severity denial of service vulnerability in leonhad pdftools, published on 17 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-121
Which versions are affected by CVE-2024-56139?
How do I fix CVE-2024-56139?
No fix has been published for CVE-2024-56139 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-56139 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-56139 exists.