Home / mailings [USN-8470-1] cpp-httplib vulnerability
Posted on 25 June 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-8470-1
June 25, 2026
cpp-httplib vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 26.04 LTS
- Ubuntu 25.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
Summary:
cpp-httplib could mishandle HTTP requests if it received specially
crafted network traffic.
Software Description:
- cpp-httplib: A C++ header-only HTTP/HTTPS server and client library
Details:
It was discovered that cpp-httplib incorrectly percent-decoded HTTP
request header values. A remote attacker could use this to inject crafted
header content possibly leading to response splitting, log injection
or proxy smuggling.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 26.04 LTS
libcpp-httplib-dev 0.26.0+ds-2ubuntu3+esm1
Available with Ubuntu Pro
libcpp-httplib0.26 0.26.0+ds-2ubuntu3+esm1
Available with Ubuntu Pro
Ubuntu 25.10
libcpp-httplib-dev 0.18.7-1ubuntu0.25.10.2
libcpp-httplib0.18 0.18.7-1ubuntu0.25.10.2
Ubuntu 24.04 LTS
libcpp-httplib-dev 0.14.3+ds-1.1ubuntu0.1~esm2
Available with Ubuntu Pro
libcpp-httplib0.14t64 0.14.3+ds-1.1ubuntu0.1~esm2
Available with Ubuntu Pro
Ubuntu 22.04 LTS
libcpp-httplib-dev 0.10.3+ds-1ubuntu0.1~esm2
Available with Ubuntu Pro
libcpp-httplib0 0.10.3+ds-1ubuntu0.1~esm2
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-8470-1
CVE-2026-45372
Package Information:
https://launchpad.net/ubuntu/+source/cpp-httplib/0.18.7-1ubuntu0.25.10.2
--===============0028409849819925571==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
