CVE Explorer
CVE-2025-66570
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.27.0, a vulnerability allows attacker-controlled HTTP headers to influence server-visible metadata, logging, and authorization decisions. An attacker can inject headers named REMOTE_ADDR, REMOTE_PORT, LOCAL_ADDR, LOCAL_PORT that are parsed into the request header multimap via read_headers() in httplib.h (headers.emplace), then the server later appends its own internal metadata using the same header names
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-807","description":"CWE-807: Reliance on Untrusted Inputs in a Security Decision","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-345","description":"CWE-345: Insufficient Verification of Data Authenticity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-290","description":"CWE-290: Authentication Bypass by Spoofing","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"cpp-httplib","vendor":"yhirose","versions":[{"status":"affected","version":"< 0.27.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-807","description":"CWE-807: Reliance on Untrusted Inputs in a Security Decision","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-345","description":"CWE-345: Insufficient Verification of Data Authenticity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-290","description":"CWE-290: Authentication Bypass by Spoofing","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/yhirose/cpp-httplib/commit/ac9ebb0ee333ce8bf13523f487bdfad9518a2aff","tags":["x_refsource_MISC"],"url":"https://github.com/yhirose/cpp-httplib/commit/ac9ebb0ee333ce8bf13523f487bdfad9518a2aff"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/references/1
{"name":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xm2j-vfr9-mg9m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-xm2j-vfr9-mg9m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1e119514676bfbf452e64f250353b7ebd4925cf49e63c4d216de307b87a6b1f3 · sha256:89880f473374efcb… · /containers/cna/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.