PatchSiren cyber security CVE debrief
CVE-2026-80490 RJH CVE debrief
CVE-2026-80490 is a vulnerability in Algorithm::AhoCorasick::XS versions through 0.04 for Perl, which can lead to an out-of-bounds read and process abortion when the haystack input is not stringified before determining its length. The vulnerability arises from the way the module handles the haystack string length before it is stringified. Specifically, 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. Defenders should verify the version of Algorithm::AhoCorasick::XS in use and apply patches or updates to mitigate
- Vendor
- RJH
- Product
- Algorithm-AhoCorasick-XS
- CVSS
- MEDIUM 4.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-30
- Original CVE updated
- 2026-11-09
- Advisory published
- 2026-09-30
- Advisory updated
- 2026-11-09
Who should care
Perl developers and administrators using the Algorithm::AhoCorasick::XS module should assess their exposure to this vulnerability and take necessary actions to mitigate it. They should verify the version in use, apply patches, and review input validation procedures.
Why it matters
CVE-2026-80490 is a vulnerability in Algorithm::AhoCorasick::XS that can lead to an out-of-bounds read and process abortion. Defenders should verify the version in use, apply patches, and review input validation procedures.
- Potential process abortion due to out-of-bounds read.
- Possible denial of service (DoS) if exploited.
- Need for verification of Algorithm::AhoCorasick::XS version and application of patches.
- Potential for data corruption or unexpected behavior if not properly mitigated.
Technical summary
The Algorithm::AhoCorasick::XS module for Perl has a vulnerability in versions through 0.04. The issue arises from the way the module handles the haystack string length before it is stringified. Specifically, 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.
Defensive priority
Defenders should prioritize verifying the version of Algorithm::AhoCorasick::XS in use and applying patches or updates to mitigate this vulnerability.
Recommended defensive actions
- Verify the version of Algorithm::AhoCorasick::XS in use and apply patches or updates to mitigate this vulnerability.
- Review and update input validation and sanitization procedures to prevent similar vulnerabilities.
- Monitor system logs for potential exploitation attempts.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The vulnerability is triggered when the haystack is a numeric value, such as when reading data from decoded JSON or a numeric database column, or when using a blessed object as a haystack. 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 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.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-80490 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-80490
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-80490 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-80490
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/richardjharris/Algorithm-AhoCorasick-XS/pull/1
9b29abf9-4ab0-4765-b253-1875cd9b441e
-
Source reference
Unverified legacy reference
URL: https://metacpan.org/release/RJH/Algorithm-AhoCorasick-XS-0.04/source/typemap
9b29abf9-4ab0-4765-b253-1875cd9b441e
-
Source reference
Unverified legacy reference
URL: https://security.metacpan.org/patches/A/Algorithm-AhoCorasick-XS/0.04/CVE-2026-80490-r1.patch
9b29abf9-4ab0-4765-b253-1875cd9b441e
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.