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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-82390— ESP32 硬件加密驱动跨会话 AES 密钥混淆漏洞

一分钟漏洞结论

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

Espressif 的 AES 驱动程序(位于 )对外宣称支持多会话密码 API:它最多可分配 (默认为 4)个独立会话,每个会话拥有自己的密钥和加解密方向。然而,AES 硬件外设仅有一组全局的密钥和模式寄存器。 函数仅在会话启动时、且处于用于序列化转换操作的 互斥锁之外,一次性对这些寄存器进行编程。随后,各操作处理函数( 、 和 )调用 时,直接使用寄存器中当前残留的密钥和方向,而该状态可能已被其他会话修改。 因此,一旦以不同密钥开启第二个会话,第一个会话的所有后续操作将静默地改用第二个会话的密钥和方向,且不会报

CVSS 3.7 · Low
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Cross-session AES key confusion in the Espressif ESP32 hardware crypto driver
来源: CVE Program / CVE List V5
Vulnerability Description
The Espressif AES driver drivers/crypto/crypto_esp32_aes.c advertises a multi-session cipher API — it hands out up to CONFIG_ESP32_CRYPTO_AES_SESSIONS_MAX (default 4) independent sessions, each carrying its own key and direction. The AES peripheral, however, has a single chip-global set of key and mode registers, and aes_begin_session() programmed them exactly once, at session start, outside the aes_lock mutex that serialises the transforms. The per-operation handlers aes_ecb_op(), aes_cbc_op() and aes_ctr_op() then ran aes_hal_transform_block() against whatever key and direction the registers happened to hold. As a result, once a second session is opened with a different key, every subsequent operation on the first session silently uses the second session's key and direction, and no error is reported. Because the key programming happened outside the lock, the correct usage pattern of "each thread does begin, then op, then free on its own session" also races: a second thread's cipher_begin_session() landing between the first thread's begin and its operation makes that operation run under the second thread's key. An attacker who can induce session creation on the device — for example a protocol peer whose connection causes a session key to be installed — can influence which key is resident when a victim operation runs. The impact is a cryptographic failure rather than memory corruption: data the application believed it was protecting under one key is encrypted or decrypted under another. Where the resident key is one the attacker knows or supplied, the affected plaintext becomes recoverable by that attacker, and the operation's direction (encrypt versus decrypt) can likewise be inverted. Exposure requires an application that holds two or more concurrent sessions with different keys against this driver; no in-tree Zephyr subsystem does so today (the 802.15.4 security layer, which does open two sessions, uses CCM mode, which this driver rejects), so the risk falls on application code that uses the documented multi-session API. The fix removes all hardware access from aes_begin_session() and reprograms the key and direction at the top of every operation, inside aes_lock, so the chip-global registers can no longer be observed stale by another session.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
使用共享资源的并发执行不恰当同步问题(竞争条件)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
zephyrproject zephyr 4.3.0 ~ 4.4.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-82390 补丁与修复 (1)

CVE-2026-82390 厂商安全公告 (1)

同批安全公告 · zephyrproject · 2026-10-26 · 共 6 条

CVE-2026-81038 7.1 HIGH 蓝牙 OTS 服务器计算校验和失败时泄露未初始化栈内存
CVE-2026-82389 6.5 MEDIUM 蓝牙 HFP AG 连接失败时 NULL 解引用漏洞
CVE-2026-82388 5.3 MEDIUM 蓝牙经典主机 HFP 对象释放后使用漏洞
CVE-2026-81039 4.3 MEDIUM 蓝牙主机多连接集共享身份时的连接预留泄露漏洞
CVE-2026-19742 3.7 LOW IPv6 接口标识符非加密随机数生成器密钥泄露漏洞

IV. Related Vulnerabilities