CVE catalog

CVE-2026-45372

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header val

[CVE catalog]

Severity
Critical · CVSS 9.9CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, when cpp-httplib's server parses an incoming request, it applies percent-decoding to every header value except Location and Referer. The validity check (is_field_value) is run before decoding, so encoded %0D%0A passes the check and is then expanded to a literal \r\n byte pair inside the stored header value. This vulnerability is fixed in 0.44.0.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancpp-httplibsid0.41.0+ds-3vulnerable
Debiancpp-httplibforky0.41.0+ds-3vulnerable
Debiancpp-httplibtrixie0.18.7-1+deb13u1vulnerable
Debiancpp-httplibtrixie-security0.18.7-1+deb13u1vulnerable
Debiancpp-httplibbookworm0.11.4+ds-1+deb12u1vulnerable
Cpecpp-httplibNot reported0.14.3+ds-1.1ubuntu0.1~esm2fixed
Cpelibcpp-httplib-devNot reported0.14.3+ds-1.1ubuntu0.1~esm2fixed
Cpelibcpp-httplib0.14t64Not reported0.14.3+ds-1.1ubuntu0.1~esm2fixed
Cpecpp-httplibNot reportedNot reportedvulnerable
Cpecpp-httplibNot reported0.44.0fixed
Ubuntucpp-httplibpro0.18.7-1vulnerable
Ubuntucpp-httplibpro0.26.0+ds-2ubuntu2vulnerable
Ubuntucpp-httplibpro0.26.0+ds-2ubuntu3vulnerable
Ubuntucpp-httplibpro0.26.0+ds-2ubuntu3+esm1fixed
Ubuntucpp-httplib25.100.18.7-1vulnerable
Ubuntucpp-httplib25.100.18.7-1ubuntu0.25.10.1vulnerable
Ubuntucpp-httplib25.100.18.7-1ubuntu0.25.10.2fixed
Opensusecpp-httplibtumbleweed0.46.1-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancpp-httplibsourcesid(unfixed)not yet assignedNot reported[1138578]
Debiancpp-httplibsourceforky(unfixed)not yet assignedNot reported[1138578]
Debiancpp-httplibsourcetrixie(unfixed)not yet assignedNot reported[1138578]
Debiancpp-httplibsourcebookworm(unfixed)not yet assignedNot reported[1138578]
Cpecpp-httplibcpeNot reported0.14.3+ds-1.1ubuntu0.1~esm2Not reportedNot reportedNot reported
Cpelibcpp-httplib-devcpeNot reported0.14.3+ds-1.1ubuntu0.1~esm2Not reportedNot reportedNot reported
Cpelibcpp-httplib0.14t64cpeNot reported0.14.3+ds-1.1ubuntu0.1~esm2Not reportedNot reportedNot reported
Cpecpp-httplibcpeNot reported0.44.0Not reportedNot reportedNot reported
Ubuntucpp-httplibdebpro0.26.0+ds-2ubuntu3+esm1Not reportedUSN-8470-1Not reported
Ubuntucpp-httplibdeb25.100.18.7-1ubuntu0.25.10.2Not reportedUSN-8470-1Not reported
Opensusecpp-httplibrpmtumbleweed0.46.1-1.1Not reportedOPENSUSE-SU-2026:10994-1Not reported

[Debian bug #1138578]

Notes

[trixie] cpp-httplib: Minor issue [bookworm] cpp-httplib: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [cpp-httplib]

    Details (2)
    • 0.11.4+ds-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

    • 0.11.4+ds-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

  • Source package: [cpp-httplib]

    Details (2)
    • 0.11.4+ds-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

    • 0.11.4+ds-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · cpp-httplib · debian · bookworm; nvd · cpp-httplib · debian · 12

[Debian 13 (Trixie)]

  • Source package: [cpp-httplib]

    Details (4)
    • 0.18.7-1+deb13u1 · amd64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

  • Source package: [cpp-httplib]

    Details (2)
    • 0.41.0+ds-3~bpo13+1 · amd64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · arm64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

  • Source package: [cpp-httplib]

    Details (6)
    • 0.18.7-1+deb13u1 · amd64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · amd64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.41.0+ds-3~bpo13+1 · arm64 · trixie-backports

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

    • 0.18.7-1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · cpp-httplib · debian · 13

[openSUSE Tumbleweed]

  • Source package: [cpp-httplib]

    Details (1)
    • 0.49.0-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 0.46.1-1.1

      Version impact unknown

      nvd · cpp-httplib · opensuse · tumbleweed

  • Source package: [cpp-httplib]

    Details (1)
    • 0.49.0-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 0.46.1-1.1

      Version impact unknown

      nvd · cpp-httplib · opensuse · tumbleweed

Observed:

References