CVE Explorer
CVE-2026-45352
cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.43.4, negative chunk-size in chunked Transfer-Encoding causes unbounded memory allocation and process crash. The ChunkedDecoder::read_payload function in cpp-httplib (httplib.h) parses the chunk-size field of HTTP chunked transfer encoding using std::strtoul(). Per the C standard (§7.22.1.4), strtoul silently accepts a leading minus sign, performing unsigned wrap-around: strtoul("-2", …, 16) returns ULON
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-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-1285","description":"CWE-1285: Improper Validation of Specified Index, Position, or Offset in Input","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"cpp-httplib","vendor":"yhirose","versions":[{"status":"affected","version":"< 0.43.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-1285","description":"CWE-1285: Improper Validation of Specified Index, Position, or Offset in Input","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-h6wq-j5mv-f3q8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /containers/adp/0/references/0
{"name":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-h6wq-j5mv-f3q8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-h6wq-j5mv-f3q8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c352efc28ade4723f8085af7e5db8522bbea3f6b70d442b3e088ebad38df6943 · sha256:fe8f4fa49f763002… · /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.