CVE-2025-9648

Source
https://cve.org/CVERecord?id=CVE-2025-9648
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9648.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-9648
Downstream
Published
2025-09-29T12:15:49.440Z
Modified
2026-03-14T12:47:11.196474Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

A vulnerability in the CivetWeb library's function mghandleform_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.

References

Affected packages

Git / github.com/civetweb/civetweb

Affected ranges

Type
GIT
Repo
https://github.com/civetweb/civetweb
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.1
v1.10
v1.11
v1.12
v1.13
v1.14
v1.15
v1.16
v1.2
v1.3
v1.4
v1.5
v1.6
v1.7
v1.8
v1.9
v1.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9648.json"
vanir_signatures
[
    {
        "signature_type": "Line",
        "source": "https://github.com/civetweb/civetweb/commit/782e18903515f43bafbf2e668994e82bdfa51133",
        "id": "CVE-2025-9648-92407a8a",
        "deprecated": false,
        "target": {
            "file": "src/civetweb.c"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "262102526754851776000496951543696743762",
                "90031154124252169044932373501415412274",
                "330369650434154686861895714283752893407",
                "115260498040285122837782907303990455742",
                "44640609732211274540712429175379562308",
                "47248022828901286483989241316108820833",
                "232351802467864333175965731083390149586",
                "180454196029772646826402407495020490878",
                "214171637155368966227925664998966874811",
                "23957278772383405683911756781478916952",
                "335181318920006826243120555573581779086",
                "71733794818596046744335264556338673955",
                "285528959600774905986883292735844383843"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "source": "https://github.com/civetweb/civetweb/commit/782e18903515f43bafbf2e668994e82bdfa51133",
        "id": "CVE-2025-9648-bd74f632",
        "deprecated": false,
        "target": {
            "function": "mg_url_decode",
            "file": "src/civetweb.c"
        },
        "signature_version": "v1",
        "digest": {
            "length": 762.0,
            "function_hash": "174610756416788892050062497333688976807"
        }
    }
]