CVE-2025-20260
CRITICALClamAV < 1.0.9 - Heap-based Buffer Overflow in PDF Scanner
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2025-20260. PoCs published by Alex-Acero-Security, keyuraghao.
AI-analyzed exploit summary The repository contains a functional Python script that generates a malicious PDF file exploiting a buffer overflow in ClamAV's PDF scanning process (CVE-2025-20260). The exploit leverages an ASCII85-encoded stream with an excessively large length field to trigger the vulnerability.
Description
A vulnerability in the PDF scanning processes of ClamAV could allow an unauthenticated, remote attacker to cause a buffer overflow condition, cause a denial of service (DoS) condition, or execute arbitrary code on an affected device. This vulnerability exists because memory buffers are allocated incorrectly when PDF files are processed. An attacker could exploit this vulnerability by submitting a crafted PDF file to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to trigger a buffer overflow, likely resulting in the termination of the ClamAV scanning process and a DoS condition on the affected software. Although unproven, there is also a possibility that an attacker could leverage the buffer overflow to execute arbitrary code with the privileges of the ClamAV process.
Exploits (2)
The repository contains a functional Python script that generates a malicious PDF file exploiting a buffer overflow in ClamAV's PDF scanning process (CVE-2025-20260). The exploit leverages an ASCII85-encoded stream with an excessively large length field to trigger the vulnerability.
This PoC generates a malicious PDF file exploiting CVE-2025-20260, targeting ClamAV's ASCII85Decode filter with an oversized length field to trigger a buffer overflow. The script constructs a PDF with an intentionally malformed ASCII85 stream to exploit a vulnerability in ClamAV's parsing logic.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H