DEBIAN-CVE-2026-45352

Source
https://security-tracker.debian.org/tracker/CVE-2026-45352
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45352.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-45352
Upstream
Published
2026-05-29T20:16:26Z
Modified
2026-09-14T17:03:13Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.43.4, negative chunk-size in chunked Transfer-Encoding causes unbounded memory allocation and process crash. The ChunkedDecoder::read_payload function in cpp-httplib (httplib.h) parses the chunk-size field of HTTP chunked transfer encoding using std::strtoul(). Per the C standard (§7.22.1.4), strtoul silently accepts a leading minus sign, performing unsigned wrap-around: strtoul("-2", …, 16) returns ULONG_MAX − 1 (0xFFFFFFFFFFFFFFFE). The library's only guard (line 12833) rejects ULONG_MAX (the result of "-1"), but any other negative value such as "-2" passes validation. The resulting near-maximum value is stored in chunk_remaining and controls how many bytes the server's read loop consumes from the network. This vulnerability is fixed in 0.43.4.

References

Affected packages

Debian:12 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/debian/cpp-httplib?arch=source&distro=bookworm

Affected ranges

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

Affected versions

0.*
0.11.4+ds-1
0.11.4+ds-1+deb12u1
0.11.4+ds-2
0.11.4+ds-3
0.13.1+ds-1
0.14.0+ds-1
0.14.1+ds-1
0.14.1+ds-2
0.14.2+ds-1
0.14.3+ds-1
0.14.3+ds-1.1~exp1
0.14.3+ds-1.1
0.15.3+ds-1
0.15.3+ds-2
0.15.3+ds-3
0.16.0+ds-1
0.16.3+ds-1
0.16.3+ds-2
0.18.0+ds-1
0.18.7-1
0.20.1+ds-3
0.25.0+ds-1
0.26.0+ds-2
0.41.0+ds-1
0.41.0+ds-2
0.41.0+ds-3~bpo13+1
0.41.0+ds-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45352.json"

Debian:13 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/debian/cpp-httplib?arch=source&distro=trixie

Affected ranges

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

Affected versions

0.*
0.18.7-1
0.18.7-1+deb13u1
0.20.1+ds-3
0.25.0+ds-1
0.26.0+ds-2
0.41.0+ds-1
0.41.0+ds-2
0.41.0+ds-3~bpo13+1
0.41.0+ds-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45352.json"

Debian:14 / cpp-httplib

Package

Name
cpp-httplib
Purl
pkg:deb/debian/cpp-httplib?arch=source&distro=forky

Affected ranges

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

Affected versions

0.*
0.18.7-1
0.20.1+ds-3
0.25.0+ds-1
0.26.0+ds-2
0.41.0+ds-1
0.41.0+ds-2
0.41.0+ds-3~bpo13+1
0.41.0+ds-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45352.json"