POJIA破甲
地图 / Telnet Suboption Buffer Pointer Underflow in lib/telnet.c leads to Out-of-Bounds Read

Telnet Suboption Buffer Pointer Underflow in lib/telnet.c leads to Out-of-Bounds Read

内存破坏 / Buffer Under-read / #3480712

厂商
curl
严重程度
低危
赏金
—
弱点
Buffer Under-read
研究员
@stif
披露日期
2025-12-29
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(4654 字符中的一小部分)
A buffer pointer underflow vulnerability exists in curl's telnet protocol handler (`lib/telnet.c`). When processing telnet suboptions in the `CURL_TS_SE` state, the code unconditionally decrements the suboption buffer pointer by 2 (`subpointer -= 2`), even when the `CURL_SB_ACCUM` macro skips …
原文中的代码
#define CURL_SB_ACCUM(x, c)                                   \
  do {                                                        \
    if(x->subpointer < (x->subbuffer + sizeof(x->subbuffer))) \
      *x->subpointer++ = (c);                                 \
  } while(0)

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

时间线

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

同类报告

Persistent SMTP header injection via identity `organization` / `name`Nextcloud · 2026-09-18controlled buffer under-read in pack_unpack_internal()Ruby · 2018-03-30Buffer can be readable through Debug on metrics.solana.comSolana BBP · —