POJIA破甲
地图 / Out-of-bounds read in curl_formadd when CURLFORM_NAMELENGTH is explicitly 0

Out-of-bounds read in curl_formadd when CURLFORM_NAMELENGTH is explicitly 0

内存破坏 / Unlabeled / #4024268

厂商
curl
严重程度
低危
赏金
—
弱点
Unlabeled
研究员
@giant_anteater
披露日期
2026-09-15
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(6652 字符中的一小部分)
I've discovered a heap out-of-bounds read in `curl_formadd` that causes libcurl to silently read past a caller-supplied buffer and transmit the leaked contents to the remote server. It's confirmed under ASan and reachable without violating any documented precondition.
原文中的代码
static CURLcode forminfo_copyfield(struct bufref *field, size_t len)
{
  const char *value = Curl_bufref_ptr(field);
  CURLcode result = CURLE_OK;

  if(value) {
    if(!len)
      len = strlen(value);           /* line 128 */
    result = Curl_bufref_memdup0(field, value, len);
  }

  return …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有

同类报告

touch.mail.ru / e.mail.ru memory content disclosureMail.ru · — · $10,000CWE-195 in ExternalMemoryAccounter::Increase()Node.js · 2025-08-26Memory Exhaustion in CometBFT v1.0.1 via malicious ProposalMessage leads to network-wide denial of serviceCosmos · 2026-01-20CVE-2024-2398: HTTP/2 push headers memory-leakInternet Bug Bounty · 2024-04-22DoS via Unbounded Memory Allocation in sendWebStream on Fastify v5.7.0+ leads to OOM crash when backpressure is ignoredFastify · 2026-03-05Vulnerability Report: Buffer Overflow in Path Sanitizationcurl · 2026-06-16