Improper Certificate Validation in Cpp-httplib - CVE-2026-32627
Published: April 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to intercept HTTPS connections and disclose sensitive information.
The vulnerability exists due to improper certificate validation in ClientImpl::create_redirect_client() in httplib.h when following an HTTPS redirect through a configured proxy. A remote attacker can return a crafted redirect response and present a forged or self-signed certificate to intercept HTTPS connections and disclose sensitive information.
Only builds with SSL support are affected, and exploitation requires the client to have a proxy configured with redirect following enabled.
Affected software
Fedora
openEuler
cpp-httplib
cpp-httplib-debuginfo
cpp-httplib-devel
cpp-httplib-debugsource
How to mitigate CVE-2026-32627
cpp-httplib - addressed in versions 0.37.2-1.el9, 0.37.2-1.fc42, 0.38.0-1.el10_3, 0.38.0-1.fc43, 0.38.0-1.fc44, 0.38.0-1.fc45
cpp-httplib-debuginfo - update to 0.38.0-1
cpp-httplib-devel - update to 0.38.0-1
cpp-httplib-debugsource - update to 0.38.0-1
cpp-httplib - update to 0.38.0-1
External References
Related Security Bulletins
- Improper Certificate Validation in Cpp-httplib
- Fedora 45 update for cpp-httplib
- Fedora 44 update for cpp-httplib
- Fedora 43 update for cpp-httplib
- Fedora 42 update for cpp-httplib
- Fedora EPEL 10.3 update for cpp-httplib
- Fedora EPEL 9 update for cpp-httplib
- openEuler 24.03 LTS SP3 update for cpp-httplib
- openEuler 24.03 LTS SP2 update for cpp-httplib
- openEuler 24.03 LTS SP1 update for cpp-httplib
- openEuler 24.03 LTS update for cpp-httplib