POJIA破甲
地图 / WebSocket decoder use-after-free when curl_easy_pause() unpauses from a debug callback

WebSocket decoder use-after-free when curl_easy_pause() unpauses from a debug callback

内存破坏 / 释放后使用 / #4123749

厂商
curl
严重程度
低危
赏金
—
弱点
释放后使用
研究员
@rat5ak
披露日期
2026-10-19
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(2866 字符中的一小部分)
At `lib/ws.c:503`, `ws_dec_pass_payload()` holds a pointer into the WebSocket receive queue while passing a frame to the application's write callback. If that callback returns `CURL_WRITEFUNC_PAUSE`, the `PAUSE requested` trace invokes the debug callback before the WebSocket pass consumes those …
原文中的代码
   cmake -S . -B bld-vuln -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DCURL_USE_OPENSSL=ON -DENABLE_DEBUG=OFF -DCURL_DISABLE_VERBOSE_STRINGS=OFF
   cmake --build bld-vuln --target libcurl_static -j2
   

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

时间线

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

同类报告

Use-After-Free In IPV6_2292PKTOPTIONS leading To Arbitrary Kernel R/W PrimitivesPlayStation · 2020-07-06 · $10,000sys_fsc2h_ctrl kernel stack freePlayStation · 2025-04-18 · $10,000Use-after-free in setsockopt IPV6_2292PKTOPTIONS (CVE-2020-7457)PlayStation · 2022-09-20 · $10,000CVE-2021-22901: TLS session caching disastercurl · 2021-05-26Old WebKit HTML agent in Template Preview function has multiple known vulnerabilities leading to RCELob · — · $1,500Use-After-Free in SMB connection reuse (req->path dangling pointer after needle destruction)curl · 2026-04-29