Name
civetweb
Version
1.16
Type
library
Description
Civetweb embedded web server
Licenses
MIT
PURL
-
CPE
cpe:2.3:*:civetweb_project:civetweb:1.16:*:*:*:*:*:*:*
Other Versions#
Patches#
#
Title
Author
Resolve
1
Make parsing of URL encoded forms more robust
bel2125 <bel2125@gmail.com>
CVE-2025-9648
2
Fix heap overflow in directory URI slash redirection
krispybyte <krispybyte@proton.me>
CVE-2025-55763
3
Unittest: Link librt and libm using -l option
Khem Raj <raj.khem@gmail.com>
Vulnerabilities#
Name
Analysis
Description
Exploitable
Vulnerability related to an unquoted search path in CivetWeb v1.16. This vulnerability allows a local attacker to execute arbitrary code with elevated privileges by placing a malicious executable in a directory that is scanned before the intended application path (C:\Program Files\CivetWeb\CivetWeb.exe --), due to the absence of quotes in the service configuration.
Patched
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.
Patched
Buffer Overflow in the URI parser of CivetWeb 1.14 through 1.16 (latest) allows a remote attacker to achieve remote code execution via a crafted HTTP request. This vulnerability is triggered during request processing and may allow an attacker to corrupt heap memory, potentially leading to denial of service or arbitrary code execution.