OESA-2026-1159

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-1159
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-1159.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-1159
Upstream
Published
2026-01-16T11:10:11Z
Modified
2026-08-18T01:19:28Z
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
cpp-httplib security update
Details

A C++11 single-file header-only cross platform HTTP/HTTPS library. It's extremely easy to setup. Just include httplib.h file in your code!

Security Fix(es):

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to version 0.30.0, the write_headers function does not check for CR & LF characters in user supplied headers, allowing untrusted header value to escape header lines. This vulnerability allows attackers to add extra headers, modify request body unexpectedly & trigger an SSRF attack. When combined with a server that supports http1.1 pipelining (springboot, python twisted etc), this can be used for server side request forgery (SSRF). Version 0.30.0 fixes this issue.(CVE-2026-21428)

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 due to the unsafe handling of compressed HTTP request bodies (Content-Encoding: gzip, br, etc.). The library validates the payload_max_length against the compressed data size received from the network, but does not limit the size of the decompressed data stored in memory. An attacker can exploit this by sending a compressed payload with a very high compression ratio (e.g., a zip bomb), which upon decompression consumes excessive memory, leading to service unavailability.(CVE-2026-22776)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:24.03-LTS-SP1 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:rpm/openEuler/cpp-httplib&distro=openEuler-24.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.30.1-1.oe2403sp1

Ecosystem specific

{
    "aarch64": [
        "cpp-httplib-0.30.1-1.oe2403sp1.aarch64.rpm",
        "cpp-httplib-debuginfo-0.30.1-1.oe2403sp1.aarch64.rpm",
        "cpp-httplib-debugsource-0.30.1-1.oe2403sp1.aarch64.rpm",
        "cpp-httplib-devel-0.30.1-1.oe2403sp1.aarch64.rpm"
    ],
    "src": [
        "cpp-httplib-0.30.1-1.oe2403sp1.src.rpm"
    ],
    "x86_64": [
        "cpp-httplib-0.30.1-1.oe2403sp1.x86_64.rpm",
        "cpp-httplib-debuginfo-0.30.1-1.oe2403sp1.x86_64.rpm",
        "cpp-httplib-debugsource-0.30.1-1.oe2403sp1.x86_64.rpm",
        "cpp-httplib-devel-0.30.1-1.oe2403sp1.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-1159.json"