POJIA破甲
地图 / integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit

integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit

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

厂商
curl
严重程度
中危
赏金
—
弱点
整数溢出
研究员
@gudyuu
披露日期
2026-01-13
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(8325 字符中的一小部分)
Summary: A logic error involving an integer overflow (specifically, an unsigned integer underflow) exists in the lib/mqtt.c file within the mqtt_publish function. This vulnerability allows an attacker (or a malicious user configuration) to bypass the explicit MAX_MQTT_MESSAGE_SIZE check.
原文中的代码
import socket
import struct
import sys
import time

def run_server():
    host = '127.0.0.1'
    port = 1883
    
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    sock.bind((host, port))
    sock.listen(1) …

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

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @gudyuu · 版权归作者与 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