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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-105274— Erlang/OTP hex_core 无限制解压漏洞

一分钟漏洞结论

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

Erlang 虚拟机中 hex_core 模块存在“高度压缩数据处理不当(数据放大)”漏洞。该漏洞允许不受信任的仓库镜像或响应 hex_core API 请求的服务器耗尽运行 hex_core 的 Erlang 虚拟机的内存。相同的代码也被内联(vendored)到 Hex(mix_hex_repo、mix_hex_api)和 rebar3(r3_hex_repo、r3_hex_api)中。 hex_repo 模块中的 、 、 和 函数会先使用 解压注册表响应数据,并在验证签名之前解码签名信封。由于镜像服务器没有仓

CVSS 2.1 · Low

影响版本矩阵 6

厂商产品 版本范围状态
erlang rebar3 3.9.1< 3.27.3 affected
209c02ec57c2cc3207ee0174c3af3675b8dc8f79< 360838a22f5b3a88c0358207f2923059bcbb3afb affected
hexpm hex 2.1.0< 2.5.2 affected
671f695ac548ed01f5828c2a739ecaa942b21007< d8b60eee97abb119d525306f048969a217d793a5 affected
hexpm hex_core 0.1.0< 0.20.0 affected
fbb6d9de472e5edb8d6fb6b32a91cb266137892e< ebe25d110717f6a3addba5232cd4a7dc1c76b628 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
hex_core decompresses registry and Erlang term API responses without size limits
来源: CVE Program / CVE List V5
Vulnerability Description
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in hexpm hex_core allows an untrusted repository mirror, or a server answering hex_core's API requests, to exhaust the memory of the Erlang VM running hex_core. The same code is vendored in Hex (mix_hex_repo, mix_hex_api) and rebar3 (r3_hex_repo, r3_hex_api). hex_repo:get_names/1, hex_repo:get_versions/1, hex_repo:get_package/2 and hex_repo:get_policy/2 decompress the registry response with zlib:gunzip/1 and decode the signed envelope before verifying its signature. A mirror doesn't have the repository's private key, but it chooses the compressed bytes, so a small response decompresses into an envelope of any size before the signature check rejects it. hex_api decodes responses with the application/vnd.hex+erlang content type through hex_safe_binary_to_term:safe_binary_to_term/1, which calls binary_to_term(Binary, [safe]). The safe option prevents atom creation, but it accepts compressed terms and doesn't limit the size of the decoded term, and the check that rejects functions and ports runs after the term has been built. The fix for CVE-2026-21619 added the safe option and that check without bounding the decoded size. This issue affects rebar3: from 3.9.1 before 3.27.3; hex: from 2.1.0 before 2.5.2; hex_core: from 0.1.0 before 0.20.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
对高度压缩数据的处理不恰当(数据放大攻击)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
erlang rebar3 3.9.1 ~ 3.27.3 cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*
erlang rebar3 209c02ec57c2cc3207ee0174c3af3675b8dc8f79 ~ 360838a22f5b3a88c0358207f2923059bcbb3afb cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*
hexpm hex_core 0.1.0 ~ 0.20.0 cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
hexpm hex_core fbb6d9de472e5edb8d6fb6b32a91cb266137892e ~ ebe25d110717f6a3addba5232cd4a7dc1c76b628 cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
hexpm hex 2.1.0 ~ 2.5.2 cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*
hexpm hex 671f695ac548ed01f5828c2a739ecaa942b21007 ~ d8b60eee97abb119d525306f048969a217d793a5 cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-105274 其他参考 (4)

IV. Related Vulnerabilities

V. Comments for CVE-2026-105274

暂无评论


发表评论