POJIA破甲
地图 / libcurl MQTT `CURLOPT_POSTFIELDSIZE_LARGE` overflow leads to immediate DoS

libcurl MQTT `CURLOPT_POSTFIELDSIZE_LARGE` overflow leads to immediate DoS

内存破坏 / 整数溢出 / #3417428

厂商
curl
严重程度
低危
赏金
—
弱点
整数溢出
研究员
@jiyong
披露日期
2025-11-10
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(7522 字符中的一小部分)
Summary An attacker can crash or forcefully abort any application that uses libcurl's MQTT support by setting an excessively large value for `CURLOPT_POSTFIELDSIZE_LARGE`. The MQTT publish logic (`lib/mqtt.c::mqtt_publish`) trusts this value without validating it against the protocol's maximum …
原文中的代码
import socket

HOST, PORT = "127.0.0.1", 1883
CONNACK = b"\x20\x02\x00\x00"

with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
    s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    s.bind((HOST, PORT))
    s.listen(1)
    print(f"[server] listening on {HOST}:{PORT}")
    conn, …

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

时间线

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

同类报告

Integer overflow leading to buffer overflowInternet Bug Bounty · 2019-09-25 · $1,000Integer overflow in CipherUpdateInternet Bug Bounty · 2021-04-08Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.cInternet Bug Bounty · 2019-10-21Integer overflow vulnerabilityGlovo · 2022-05-17Cookie Max-Age Integer Overflow Vulnerabilitycurl · 2026-01-19Integer Overflow in schannel.c TLS Data Transmissioncurl · 2025-08-02