{"id":"CVE-2026-85644","published":"2026-09-28T16:09:02Z","modified":"2026-09-30T19:50:14Z","title":"XS::Parse::Infix versions from 0.40 through 0.49 for Perl treat a number as an array reference","vendor":null,"product":null,"tier":"tail","description":{"text":"XS::Parse::Infix versions from 0.40 through 0.49 for Perl treat a number as an array reference.\n\nThe wrapper function XS::Parse::Infix generates for a list-associative infix operator checks whether arguments are array references, but it tests using SvRV() rather than SvROK(). SvRV() reads a union slot that only holds a referent once SvROK(sv) is true, so the guard never validates that it is a reference. For an IV or NV that slot holds the number itself, SvRV() returns the caller's value and SvTYPE() dereferences it at offset 12. This will generally result in a segmentation fault.\n\nAn application that hands the wrapper a list built from decoded input (for example, from JSON) lets whoever supplies a number in that list choose the address that the interpreter dereferences.\n\nAn ordinary string's byte 12 is rarely SVt_PVAV so the guard croaks by luck, but an attacker-crafted string carrying 0x0b there passes, and the buffer is then used as an AV head, with AvARRAY taken from bytes 16-23 and its entries pushed onto the Perl stack as live SVs.\n\nA simple proof-of-concept uses the zip operator:\n\n    use Syntax::Operator::Zip 'zip';\n\n    my @args = ([1], 2);\n    zip(@args);","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00373,"percentile":0.3211,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://metacpan.org/release/PEVANS/XS-Parse-Keyword-0.50/changes","tags":["release-notes"]},{"url":"https://metacpan.org/release/PEVANS/XS-Parse-Keyword-0.50/diff/PEVANS/XS-Parse-Keyword-0.49#src/infix.c","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/28/14","tags":[]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.42},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 0.40, <= 0.49"]}],"solutions":{"items":["Upgrade to XS-Parse-Keyword 0.50 or later."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["For deployments that cannot upgrade, ensure that correct arguments (only array references where they are expected) are passed to list-associative operators that are defined with XS::Parse::Infix, such as those in Syntax::Operator::Zip."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-30T19:50:11.084770Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-88344","exploited":false,"provenance":"source"}}