UBUNTU-CVE-2026-22776

Source
https://ubuntu.com/security/CVE-2026-22776
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22776.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-22776
Upstream
Published
2026-01-12T19:16:00Z
Modified
2026-01-14T22:00:08.464879Z
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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.30.1, a Denial of Service (DoS) vulnerability exists in cpp-httplib due to the unsafe handling of compressed HTTP request bodies (Content-Encoding: gzip, br, etc.). The library validates the payloadmaxlength against the compressed data size received from the network, but does not limit the size of the decompressed data stored in memory.

References

Affected packages

Ubuntu:Pro:22.04:LTS / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.10.3+ds-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.9+ds-1
0.9.10+ds-1
0.10.1+ds-1
0.10.2+ds-1
0.10.3+ds-1
0.10.3+ds-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpp-httplib-dev",
            "binary_version": "0.10.3+ds-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "libcpp-httplib0",
            "binary_version": "0.10.3+ds-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22776.json"

Ubuntu:Pro:24.04:LTS / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.14.3+ds-1.1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.13.1+ds-1ubuntu1
0.14.3+ds-1
0.14.3+ds-1.1
0.14.3+ds-1.1build1
0.14.3+ds-1.1build2
0.14.3+ds-1.1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpp-httplib-dev",
            "binary_version": "0.14.3+ds-1.1ubuntu0.1~esm1"
        },
        {
            "binary_name": "libcpp-httplib0.14t64",
            "binary_version": "0.14.3+ds-1.1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22776.json"

Ubuntu:25.10 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.18.7-1ubuntu0.25.10.1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.18.7-1
0.18.7-1ubuntu0.25.10.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpp-httplib-dev",
            "binary_version": "0.18.7-1ubuntu0.25.10.1"
        },
        {
            "binary_name": "libcpp-httplib0.18",
            "binary_version": "0.18.7-1ubuntu0.25.10.1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22776.json"

Ubuntu:25.04 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/ubuntu/cpp-httplib@0.18.7-1ubuntu0.25.04.1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.15.3+ds-3
0.16.3+ds-2
0.18.7-1
0.18.7-1ubuntu0.25.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libcpp-httplib-dev",
            "binary_version": "0.18.7-1ubuntu0.25.04.1"
        },
        {
            "binary_name": "libcpp-httplib0.18",
            "binary_version": "0.18.7-1ubuntu0.25.04.1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22776.json"