p PatchFirst

CVE-2025-9648

CVE-2025-9648 · Denial of Service in CivetWeb

CVSS 8.7 · High · EPSS 1.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="civetweb"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • USN-8749-1 · Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, Ubuntu Pro 22.04 LTS ·

Stack: system

Affected products and versions

  • civetweb

    Versions
    • ≥ 0, < 1.08: Not affected (semver)
    • ≥ 1.08, < 1.10: Unknown (semver)
    • ≥ 1.10, ≤ 1.16: Affected (semver)

    No fix published

  • civetweb 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
    All versions (7)
    • 1.16+dfsg-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • civetweb Debian 13

    Versions
    • 1.16+dfsg-2
    Affected ranges
    • ECOSYSTEM: < 1.16+dfsg-2+deb13u1

    Update to 1.16+dfsg-2+deb13u1

  • civetweb Debian 14

    Versions
    • 1.16+dfsg-2
    • 1.16+dfsg-3
    Affected ranges
    • ECOSYSTEM: < 1.16+dfsg-4

    Update to 1.16+dfsg-4

  • civetweb Ubuntu Pro 22.04 LTS

    Versions
    • 1.13+dfsg-5
    • 1.15+dfsg-1
    • 1.15+dfsg-3
    Affected ranges
    • ECOSYSTEM: < 1.15+dfsg-3ubuntu0.1~esm1

    Update to 1.15+dfsg-3ubuntu0.1~esm1

  • civetweb Ubuntu 24.04 LTS

    Versions
    • 1.16+dfsg-1
    • 1.16+dfsg-1build1
    Affected ranges
    • ECOSYSTEM: < 1.16+dfsg-1ubuntu0.1

    Update to 1.16+dfsg-1ubuntu0.1

  • civetweb Ubuntu 25.10

    Versions
    • 1.16+dfsg-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • civetweb Ubuntu 26.10

    Versions
    • 1.16+dfsg-3
    • 1.16+dfsg-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • civetweb Ubuntu 26.04 LTS

    Versions
    • 1.16+dfsg-2
    • 1.16+dfsg-3
    Affected ranges
    • ECOSYSTEM: < 1.16+dfsg-3ubuntu0.1

    Update to 1.16+dfsg-3ubuntu0.1

Original sources

Check your server →