CVE Explorer
CVE-2026-46527
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.44.0, When the server has called Server::set_trusted_proxies() with a non-empty trusted-proxy list, an attacker can send an HTTP request that includes an X-Forwarded-For header whose value parses to no valid IP segments. The code path then executes get_client_ip(), which calls front() on an empty std::vector—undefined behavior in C++. On typical implementations this manifests as abnormal process terminat
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cpp-httplib","vendor":"yhirose","versions":[{"status":"affected","version":"< 0.44.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:92dcf86bd643b19cbffc598244fb9774fbea3fc38e8e091a51cdb636e4efe96f · sha256:2f7a93b754fb86c5… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:92dcf86bd643b19cbffc598244fb9774fbea3fc38e8e091a51cdb636e4efe96f · sha256:2f7a93b754fb86c5… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-476","description":"CWE-476: NULL Pointer Dereference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:92dcf86bd643b19cbffc598244fb9774fbea3fc38e8e091a51cdb636e4efe96f · sha256:2f7a93b754fb86c5… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-hg3g-vrg8-578g","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-hg3g-vrg8-578g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:92dcf86bd643b19cbffc598244fb9774fbea3fc38e8e091a51cdb636e4efe96f · sha256:2f7a93b754fb86c5… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-hg3g-vrg8-578g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:92dcf86bd643b19cbffc598244fb9774fbea3fc38e8e091a51cdb636e4efe96f · sha256:2f7a93b754fb86c5… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.