Skip to content
Heist/ feed
Back to feed
HighFix available

civetweb — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
civetweb
Affected versions
1.15+dfsg-4, 1.16+dfsg-1, 1.16+dfsg-2, 1.16+dfsg-3, 1.16+dfsg-4, 1.16+dfsg-5, 1.16+dfsg-6
Fixed versions
1.16+dfsg-2+deb13u1, 1.16+dfsg-4
CVEs
CVE-2025-9648
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:24 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-9648

core-osv · Original source

Published 29 Sept 2025, 12:15 UTC

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.

osv:DEBIAN-CVE-2025-9648

civetweb

Fixed versions: Not specified

civetweb

Fixed versions: 1.16+dfsg-2+deb13u1

civetweb

Fixed versions: 1.16+dfsg-4

Complete source record
{
  "id": "619014a0309fb67cc1512da447e3a41ab5f7cf3b3dc6cdd2ed8c543b895d7ab8",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-9648",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-9648",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2025-9648",
    "products": [
      {
        "name": {
          "value": "civetweb",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.15+dfsg-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16+dfsg-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16+dfsg-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16+dfsg-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.16+dfsg-6",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "civetweb",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.16+dfsg-2+deb13u1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.16+dfsg-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "civetweb",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.16+dfsg-4",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.16+dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.16+dfsg-3",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2025-9648",
      "aliases": [
        "DEBIAN-CVE-2025-9648"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "civetweb",
            "purl": "pkg:deb/debian/civetweb?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.15+dfsg-4",
            "1.16+dfsg-1",
            "1.16+dfsg-2",
            "1.16+dfsg-3",
            "1.16+dfsg-4",
            "1.16+dfsg-5",
            "1.16+dfsg-6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-9648.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.16+dfsg-2+deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "civetweb",
            "purl": "pkg:deb/debian/civetweb?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.16+dfsg-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-9648.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.16+dfsg-4"
                }
              ]
            }
          ],
          "package": {
            "name": "civetweb",
            "purl": "pkg:deb/debian/civetweb?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.16+dfsg-2",
            "1.16+dfsg-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-9648.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:16.635894692Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-9648"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-9648"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-9648",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420997,
  "published_at": "2025-09-29T12:15:49.44+00:00"
}