目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-104016— Jackson 有符号整数溢出导致内存耗尽漏洞

一分钟漏洞结论

影响对象
FasterXML jackson-dataformat-protobuf
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

ProtobufParser 在解析带有长度前缀的 Protobuf 字符串和字节字段时,会先检查 ,随后在快速路径上调用 。这两处均使用 32 位有符号整数运算。当攻击者提供一个解码后长度接近 的变长整数(varint)时, 会发生整数上溢并变为负值,导致边界检查通过;随后 会调用 ,该函数执行无上限的 ,最终抛出 (请求的数组大小超出虚拟机限制)。 JVM 在检查可用堆内存之前,就会拒绝创建大于 的数组,因此调整 参数无法缓解此问题。此外, 中的 和 配置并未拦截此路径:仅 33 字节的载荷远低于任何文档长度上

CVSS 7.5 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-104016 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
jackson-dataformat-protobuf: signed integer overflow in string-length paths allows unbounded array allocation and OutOfMemoryError
来源: CVE Program / CVE List V5
Vulnerability Description
ProtobufParser parses length-prefixed protobuf string and bytes fields by checking (_inputPtr + len) <= _inputEnd and then, on the fast path, calling _finishShortText(len). Both use 32-bit signed integer arithmetic. When an attacker supplies a varint decoding to a length near Integer.MAX_VALUE, _inputPtr + len overflows to a negative value, the bounds check passes, and _finishShortText(len) reaches TextBuffer.expandCurrentSegment(len), which performs Arrays.copyOf with no cap and throws OutOfMemoryError: Requested array size exceeds VM limit. The JVM refuses arrays larger than Integer.MAX_VALUE - 8 before consulting available heap, so -Xmx tuning does not mitigate the issue. StreamReadConstraints.maxStringLength and maxDocumentLength do not gate this path: a 33-byte payload is far below any document-length cap and the string-length check does not fire before the allocation. This was confirmed empirically against shipping artifacts with maxStringLength, maxDocumentLength and maxNestingDepth all configured. A February 2026 hardening commit added the equivalent overflow guard to the packed-array-length and message-length paths but left the string-length call sites unguarded. No privileges or user interaction beyond the ability to submit data for parsing are required.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
整数溢出或超界折返
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
FasterXML jackson-dataformat-protobuf 2.6.0 ~ 2.18.12 -
FasterXML jackson-dataformat-protobuf 3.0.0 ~ 3.1.8 -

二、漏洞 CVE-2026-104016 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-104016 的情报信息

请登录查看更多情报信息。

CVE-2026-104016 其他参考 (1)

IV. Related Vulnerabilities