{"resourceId":"cpansec-cve-2026-13221-perl-regex-trie-65535-branch-overflow-20261126","versions":[{"version":"external-9303031fd6322b4e4428e683b2c61fb798efbfbe92bfda0d50debdf5b88b1aca","resource":{"id":"cpansec-cve-2026-13221-perl-regex-trie-65535-branch-overflow-20261126","title":"CPAN Security Group CVE-2026-13221: Perl regex silently mismatches only when an alternation exceeds 65,535 fixed-string branches; fix in development release 5.43.10","organization":"CPAN Security Group (CPANSec)","sector":"Open-source component used in NetApp management software and AI Data Engine; applies to SLED Perl-based tooling","geography":"Global","publishedAt":"Announced 13 Jul 2026; newly relevant because NetApp cited it on 26-27 Nov","publicationDate":"2026-07-13","eventDate":"2026-07-13","sourceName":"CPANSec CVE announcements list","sourceLabel":"Upstream open-source security announcement","sourceUrl":"https://lists.security.metacpan.org/cve-announce/msg/41780104/","evidenceClass":"independent-research","outcomeClass":"mixed","topics":["data-security","developers-agents"],"finding":"CPANSec states that Perl through 5.43.9 produces silently incorrect regex matches when an alternation of more than 65535 fixed string branches is compiled into a trie. A 16-bit field overflows and the match table is truncated with no warning, giving false positives and false negatives; when such a pattern gates an access or filtering decision, the result is wrong. CWE-190. The fix is an upstream patch included in development release 5.43.10.","sledRelevance":"Why now: NetApp cited this announcement tonight when it marked ONTAP Select Deploy affected and put AIDE under investigation, scoring it 9.1. Interpretation: the trigger is narrow (very large generated alternations, such as blocklists), which helps SLED teams judge real exposure in NetApp and in their own Perl scripts.","evidence":"Upstream announcement read in full. Project-side assessment independent of NetApp; no testing of NetApp products.","architectureImplications":"Relevant only where code compiles very large alternation patterns, such as generated allow or block lists.","governanceImplications":"Record the trigger condition with the vendor score; ask vendors whether their code meets it.","securityPrivacyImplications":"Integrity of filtering or access decisions; no memory corruption described.","caveats":"Announcement predates the last run; included because the NetApp advisory citing it is new tonight. Stable-branch fix versions come from NetApp's record, not this page.","streamIds":["netapp"],"roles":{"sales":"Sales: the upstream description narrows a scary-looking score. CPANSec says the Perl flaw only bites when a regex has more than 65,535 fixed branches, while NetApp scores it 9.1. For SLED customers piloting AI Data Engine or running ONTAP Select, help them ask NetApp whether its code builds such patterns. That is a short, credible advisory task; it does not justify urgency claims or a platform change.","engineering":"Engineering: the trigger is a single alternation with more than 65,535 fixed-string branches compiled into a trie, typically generated lists. Ask NetApp whether ONTAP Select Deploy or AIDE build such patterns. Search in-house Perl scripts for generated alternations used in access or filtering decisions. Plan upgrades to fixed Perl builds where they exist, since this page cites only the 5.43.10 development release.","delivery":"Delivery: add the upstream trigger condition to the tracker entry for the NetApp advisory. Assign the application security lead to scan internal Perl tooling for large generated alternations and record results. Keep the NetApp item open until NetApp lists fixed versions or confirms its code does not meet the trigger. Re-review if NetApp moves AIDE from under investigation to affected."},"roleDetails":{"sales":{"customerProblem":"SLED teams need to judge whether a 9.1 vendor score reflects real exposure given a narrow upstream trigger.","stakeholders":["Security operations lead","Application security lead","Storage administrator"],"discoveryQuestions":["Has NetApp said whether its code builds very large alternations?","Do your own Perl scripts generate large regex lists?"],"valueHypothesis":"Narrowing exposure may reduce unnecessary emergency work; not quantified.","potentialEngagement":"Short exposure assessment combining vendor and upstream data.","unsupportedClaims":["That NetApp products meet the trigger","That no risk exists","Any exploitation"]},"engineering":{"fit":"Applies only to code compiling alternations above 65,535 branches.","architectureIntegration":"Perl regex engine trie optimization.","prerequisites":["Code search access","Vendor response"],"constraints":["Only a development-release fix cited on this page","No NetApp mapping"],"security":"Avoid generated mega-alternations in security decisions.","proofOfValue":["Code search results recorded","Vendor confirmation of trigger applicability"]},"delivery":{"work":"Record trigger, scan internal code, await vendor confirmation.","dependencies":["Repository access","NetApp support case"],"ownership":"Application security lead.","skillsAdoption":"Developers need to recognise generated alternation patterns.","governanceCheckpoints":["Scan sign-off","Vendor response recorded"],"acceptanceCriteria":["Internal scan completed within an agreed window (proposed)","NetApp applicability answer recorded (proposed)"],"risks":["Vendor may not answer","Hidden Perl in third-party tools"]}},"retrievedAt":"2026-11-27T04:15:36Z","enrichedAt":"2026-11-27T04:20:27Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"No accessibility content.","procurementImplications":"None.","operatingModelImplications":"In-house Perl tooling (common in older campus and agency IT scripts) may need the same check.","sourceVerification":{"openedUrl":"https://lists.security.metacpan.org/cve-announce/msg/41780104/","referenceExcerpt":"A branch count above 65535 overflows the field, and the trie's match decision table is truncated with no warning or error.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}