CVE catalog

CVE-2026-124040

civetweb affected and fixed versions

[CVE catalog]

CivetWeb through 1.16, when built with USE_HTTP2 and enable_http2 on, contains a use-after-free vulnerability in handle_http2() that retains freed :method and :path pointers. Unauthenticated remote attackers can send a later HEADERS frame omitting these pseudo-headers to influence request method or path seen by access rules, or crash the server.

Severity
Critical · CVSS 9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/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
Published
Source
[NVD] · [CVE record]
EPSS
0.51% · Nov 19, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
DebiantrixiecivetwebNot reportedAffectedDistribution reports no fix[CVE-2026-124040]
Debiantrixiecivetweb1.16+dfsg-2+deb13u1Affected[CVE-2026-124040]
DebiansidcivetwebNot reportedAffectedDistribution reports no fix[CVE-2026-124040]
Debiansidcivetweb1.16+dfsg-6Affected[CVE-2026-124040]
Ubuntuprocivetweb1.13+dfsg-5Affected[UBUNTU-CVE-2026-124040]
Ubuntuprocivetweb1.15+dfsg-1Affected[UBUNTU-CVE-2026-124040]
Ubuntuprocivetweb1.15+dfsg-3Affected[UBUNTU-CVE-2026-124040]
Ubuntuprocivetweb1.15+dfsg-3ubuntu0.1~esm1Affected[UBUNTU-CVE-2026-124040]
DebianforkycivetwebNot reportedAffectedDistribution reports no fix[CVE-2026-124040]
Debianforkycivetweb1.16+dfsg-6Affected[CVE-2026-124040]
DebianbookwormcivetwebNot reportedAffectedDistribution reports no fix[CVE-2026-124040]
Debianbookwormcivetweb1.15+dfsg-4Affected[CVE-2026-124040]
More observations (8)
Distribution / releasePackageVersionStatusSource
Ubuntu24.04civetweb1.16+dfsg-1Affected[UBUNTU-CVE-2026-124040]
Ubuntu24.04civetweb1.16+dfsg-1build1Affected[UBUNTU-CVE-2026-124040]
Ubuntu24.04civetweb1.16+dfsg-1ubuntu0.1Affected[UBUNTU-CVE-2026-124040]
Ubuntu26.04civetweb1.16+dfsg-2Affected[UBUNTU-CVE-2026-124040]
Ubuntu26.04civetweb1.16+dfsg-3Affected[UBUNTU-CVE-2026-124040]
Ubuntu26.04civetweb1.16+dfsg-3ubuntu0.1Affected[UBUNTU-CVE-2026-124040]
Ubuntu26.10civetweb1.16+dfsg-3Affected[UBUNTU-CVE-2026-124040]
Ubuntu26.10civetweb1.16+dfsg-4Affected[UBUNTU-CVE-2026-124040]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [civetweb]Affected
    Details (2)
    • 1.15+dfsg-4 · amd64 · bookworm

      Affected

      dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12

    • 1.15+dfsg-4 · arm64 · bookworm

      Affected

      dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12

  • [libcivetweb1]Affected

    Source package: [civetweb]

    Details (2)
    • 1.15+dfsg-4 · amd64 · bookworm

      Affected

      dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12

    • 1.15+dfsg-4 · arm64 · bookworm

      Affected

      dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12

  • [libcivetweb-dev]Affected

    Source package: [civetweb]

    Details (2)
    • 1.15+dfsg-4 · amd64 · bookworm

      Affected

      dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12

    • 1.15+dfsg-4 · arm64 · bookworm

      Affected

      dsa · civetweb · debian · bookworm; pypi · civetweb · debian · 12

[Debian 13 (Trixie)]

  • [civetweb]Affected
    Details (2)
    • 1.16+dfsg-2+deb13u1 · amd64 · trixie

      Affected

      pypi · civetweb · debian · 13

    • 1.16+dfsg-2+deb13u1 · arm64 · trixie

      Affected

      pypi · civetweb · debian · 13

  • [libcivetweb1]Affected

    Source package: [civetweb]

    Details (2)
    • 1.16+dfsg-2+deb13u1 · amd64 · trixie

      Affected

      pypi · civetweb · debian · 13

    • 1.16+dfsg-2+deb13u1 · arm64 · trixie

      Affected

      pypi · civetweb · debian · 13

  • [libcivetweb-dev]Affected

    Source package: [civetweb]

    Details (2)
    • 1.16+dfsg-2+deb13u1 · amd64 · trixie

      Affected

      pypi · civetweb · debian · 13

    • 1.16+dfsg-2+deb13u1 · arm64 · trixie

      Affected

      pypi · civetweb · debian · 13

Observed:

References