Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-85644 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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);

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-125Out-of-bounds ReadCPANSec
CWE-843Access of Resource Using Incompatible Type ('Type Confusion')CPANSec

Affected Products

ProductVersions
XS::Parse::Infix
>= 0.40, <= 0.49

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: 0.50moderate effort
  • Mitigation:low effort

    Ensure that only array references are passed to list-associative operators defined with XS::Parse::Infix, such as those in Syntax::Operator::Zip.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-85644
NVD Published Date:
Sep 28, 2026
NVD Last Modified:
Sep 30, 2026
Source:
CPANSec
CVE-2026-85644 Details - Not Deferred