CVE-2025-9648Denial of Service in CivetWeb
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | civetweb | Fix pending | UBUNTU-CVE-2025-9648 | |
| Ubuntu 26.04 | civetweb | Fixed | 1.16+dfsg-3ubuntu0.1 | UBUNTU-CVE-2025-9648 |
| Ubuntu 25.10 | civetweb | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-9648 | |
| Ubuntu 24.04 | civetweb | Fixed | 1.16+dfsg-1ubuntu0.1 | UBUNTU-CVE-2025-9648 |
| Ubuntu 22.04 | civetweb | Fix pending | 1.15+dfsg-3ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-9648 |
| Debian 14 | civetweb | Fixed | 1.16+dfsg-4 | DEBIAN-CVE-2025-9648 |
| Debian 13 | civetweb | Fixed | 1.16+dfsg-2+deb13u1 | DEBIAN-CVE-2025-9648 |
| Debian 12 | civetweb | Fix pending | DEBIAN-CVE-2025-9648 |
What the vendor says
As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- CivetWeb: affected: 1.10 to 1.16
Vendor advisories:
References
- https://cert.pl/en/posts/2025/09/CVE-2025-9648
- https://github.com/civetweb/civetweb
- https://github.com/civetweb/civetweb/issues/1348
- https://github.com/civetweb/civetweb/commit/782e18903515f43bafbf2e668994e82bdfa51133
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.