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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-80490— Perl AhoCorasick::XS 0.04 越界读取漏洞

一分钟漏洞结论

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

Perl 模块 在 0.04 及之前版本中,会在将 haystack(待搜索字符串)标量转换为字符串之前读取其长度。 、 和 方法使用 typemap,通过 构造函数将 Perl 标量(SV)转换为 C++ 字符串。该过程使用 宏将 haystack 输入转换为字符串,并使用 宏获取 SV 的长度。 当输入的 SV 是引用、整数(IV)或浮点数(NV)时,如果在输入被字符串化之前执行 宏,它将返回无效的长度值,从而导致越界读取(out-of-bounds read),可能使进程异常终止。 需要注意的是, 构造函数的

AI 预测 5.3 利用难度: 较易 EPSS 0.19% · P8

影响版本矩阵 1

厂商产品 版本范围状态
None None ≤ 0.04 affected

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

漏洞信息

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

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

Vulnerability Title
Algorithm::AhoCorasick::XS versions through 0.04 for Perl read the haystack string length before the scalar is stringified
来源: CVE Program / CVE List V5
Vulnerability Description
Algorithm::AhoCorasick::XS versions through 0.04 for Perl read the haystack string length before the scalar is stringified. The matches, first_match and match_details methods use the T_STD_STRING typemap to translate Perl scalars (SVs) into strings via the std::string constructor, using the SvPV macro to stringify the haystack input, and the SvCUR macro to determine the length of the SV. When the input SVs are references, integers (IVs) or floats (NVs), the SvCUR macro will return an invalid length if it is run before the input is stringified, leading to an out-of-bounds read which can abort the process. Note that the evaluation order of arguments to std::string is unspecified. Depending on the compiler, SvCUR may be run first and lead to an abort that cannot be caught within Perl. This can be triggered when the haystack is a numeric value, for example, my $ac = Algorithm::AhoCorasick::XS->new( [ "11", "22" ] ); $ac->matches( 211 ); This can occur when the haystack is the result of reading data from decoded JSON or a numeric database column. It can also be triggered when using a blessed object as a haystack.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
- - 0 ~ 0.04 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

CVE-2026-80490 其他参考 (2)

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-80490

暂无评论


发表评论