Vulnerability in Civetweb
CVE-2025-9648
A vulnerability in the CivetWeb library's function mg_handle_form_request allows remote attackers to trigger a denial of service (DoS) condition. By sending a specially crafted HTTP POST request containing a null byte in the payload, the server enters an infinite loop during form data parsing. Multiple malicious requests will result in complete CPU exhaustion and render the service unresponsive to further requests. This issue was fixed in commit 782e189. This issue affects only the library, standalone executable pre-built by vendor is not affected.
EPSS: 0.007 (50.5th percentile) — read the EPSS interpretation.
Affected products
- Civetweb — versions 0, 1.08, 1.10
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cvd@cert.pl (third-party-advisory)
- cvd@cert.pl (product)
- cvd@cert.pl (issue-tracking)
- cvd@cert.pl (patch)
Frequently asked questions
- What is CVE-2025-9648?
- CVE-2025-9648 is a vulnerability in Civetweb, classified under CWE-158. Published 2025-09-29.
- Is CVE-2025-9648 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.