CVEfocus › CVE database › CVE-2026-85644

CVE-2026-85644XS::Parse::Infix versions from 0.40 through 0.49 for Perl treat a number as an array…

CVSS 7.5 HighEPSS 0.6% (higher than 43% of CVEs)Published 2026-09-28Updated 2026-09-30Assigner: CPANSec

XS::Parse::Infix versions from 0.40 through 0.49 for Perl treat a number as an array reference. The 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. An 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. An 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. A simple proof-of-concept uses the zip operator: use Syntax::Operator::Zip 'zip'; my @args = ([1], 2); zip(@args);

CWE-125CWE-843

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Debian has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
1Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libxs-parse-keyword-perlFixed0.49-1ubuntu1UBUNTU-CVE-2026-85644
Ubuntu 26.04libxs-parse-keyword-perlFixed0.49-1ubuntu0.1UBUNTU-CVE-2026-85644
Ubuntu 24.04libxs-parse-keyword-perlNot affected
vulnerable_code_not_present
Ubuntu 22.04libxs-parse-keyword-perlNot affected
vulnerable_code_not_present
Debian 14libxs-parse-keyword-perlFixed0.51-1DEBIAN-CVE-2026-85644
Debian 13libxs-parse-keyword-perlFix pendingDEBIAN-CVE-2026-85644
Red Hat Enterprise Linux 10perl-XS-Parse-KeywordNot affected
Red Hat Enterprise Linux 10perl-XS-Parse-Keyword-BuilderNot affected

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to XS-Parse-Keyword 0.50 or later.

Workaround: 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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.