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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-100290— 正则表达式库 regcomp/regexec 双重释放漏洞

一分钟漏洞结论

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

GNU C 库(glibc)2.3 至 2.44 版本中的 和 函数,在编译或匹配正则表达式过程中若发生内存分配失败,可能导致读取已释放的内存,并对同一堆内存块重复释放。具体而言, (NFA 节点表)和 (括号范围)会通过连续的 调用扩展多个数组,且仅在所有扩展均成功后才更新指针。若后续某次 失败,模式缓冲区仍保留指向已释放内存块的指针,而错误清理流程会再次释放这些块。在 中,后向引用缓存( )在 失败时会释放其数组,却仍保留原指针,导致在错误处理路径上该指针被再次释放。 攻击者无需构造特殊的正则表达式:只要正则表

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

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

漏洞信息

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

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

Vulnerability Title
Double free after allocation failure in regcomp and regexec
来源: CVE Program / CVE List V5
Vulnerability Description
The regcomp and regexec functions in the GNU C Library version 2.3 to version 2.44 may read freed memory and free the same heap block twice when a memory allocation fails while a regular expression is compiled or matched. The re_dfa_add_node (the NFA node table) and build_range_exp (bracket ranges) grow several arrays with consecutive realloc calls and store the new pointers only after all of them succeed. When a later call fails, the pattern buffer keeps pointers to blocks that were already freed, and the error cleanup frees them again. In regexec, the back-reference cache (match_ctx_add_entry) frees its array when a realloc fails but keeps the pointer, which is freed again on the error path. An attacker does not need to supply a crafted regular expression: patterns large enough to grow these arrays are common. The failure has to hit a specific allocation, though, so the issue can only be reached when the system is already under memory pressure. An attacker who supplies the pattern or the subject string has little control over which allocation fails, so the expected impact is a crash of the process. This issue affects all architectures and ABIs supported by the GNU C Library.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
双重释放
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
The GNU C Library glibc 2.3 ~ 2.44 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-100290 其他参考 (3)

IV. Related Vulnerabilities