Skip to content

CVE-2025-9648 Denial of Service in CivetWeb

HighCVSS 8.7 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
azure linux ceph(Azure Linux:3.0) < 18.2.2-11 18.2.2-11
cbl-mariner ceph(CBL-Mariner:2.0) < 16.2.10-10 16.2.10-10
debian/civetweb(Debian:12) All versions No fix listed
debian/civetweb(Debian:12) = 1.15+dfsg-4 No fix listed
debian/civetweb(Debian:12) = 1.16+dfsg-1 No fix listed
debian/civetweb(Debian:12) = 1.16+dfsg-2 No fix listed
debian/civetweb(Debian:12) = 1.16+dfsg-3 No fix listed
debian/civetweb(Debian:12) = 1.16+dfsg-4 No fix listed
debian/civetweb(Debian:12) = 1.16+dfsg-5 No fix listed
debian/civetweb(Debian:12) = 1.16+dfsg-6 No fix listed
debian/civetweb(Debian:13) < 1.16+dfsg-2+deb13u1 1.16+dfsg-2+deb13u1
debian/civetweb(Debian:13) = 1.16+dfsg-2 No fix listed
debian/civetweb(Debian:14) < 1.16+dfsg-4 1.16+dfsg-4
debian/civetweb(Debian:14) = 1.16+dfsg-2 No fix listed
debian/civetweb(Debian:14) = 1.16+dfsg-3 No fix listed
civetweb >= 1.08, < 1.10 1.10
civetweb >= 1.10, <= 1.16 No fix listed
ubuntu/civetweb(Ubuntu:22.04) < 1.15+dfsg-3ubuntu0.1~esm1 1.15+dfsg-3ubuntu0.1~esm1
ubuntu/civetweb(Ubuntu:24.04) < 1.16+dfsg-1ubuntu0.1 1.16+dfsg-1ubuntu0.1
ubuntu/civetweb(Ubuntu:26.04) < 1.16+dfsg-3ubuntu0.1 1.16+dfsg-3ubuntu0.1
ubuntu/civetweb(Ubuntu:26.10) All versions No fix listed

References