CVE-2026-80490
Last modified
CVE-2026-80490 is a vulnerability of currently unknown severity. 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.
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.
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | — | <= 0.04 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-80490?
How severe is CVE-2026-80490?
How do I fix CVE-2026-80490?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-80469An attacker may achieve arbitrary code execution on a target…8.3
- CVE-2026-8047The affected products perform improper length checking when …8.7
- CVE-2026-8048The My Email Shortcode plugin for WordPress is vulnerable to…6.4
- CVE-2026-80488The WP Ultimate CSV Importer WordPress plugin before 9.0 do…4.1
- CVE-2026-80489Converting crafted EUC_JISX0213 input to UCS-4 or the intern…5.9
- CVE-2026-8049In SignalRGB versions prior to 1.3.7.0, the \\.\SignalIo dev…5.3
- CVE-2026-80491The SAMO Forms WordPress plugin through 1.0.0 does not prope…8.6
- CVE-2026-80494The Yogeta WP Cloud WordPress plugin through 1.0 does not va…8.6
- CVE-2026-8050In SignalRGB versions prior to 1.3.7.0, seven of the thirtee…7.5
- CVE-2026-8051OS command injection in Ivanti Virtual Traffic Manager befor…7.2
- CVE-2026-80513The wpForo Forum WordPress plugin before 3.1.6 does not rest…7.5
- CVE-2026-80514The wpForo Forum WordPress plugin from 3.0.0 before 3.1.6 do…5.3
Are you affected by CVE-2026-80490?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
