CVE-2026-85644
published high CVSS 3.1 · 7.5XS::Parse::Infix versions from 0.40 through 0.49 for Perl treat a number as an array reference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | XS-Parse-Keyword0.40 through 0.49 · Other versions: unaffected | Affected | Not stated | CPANSec |
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywordaarch64 | Advisory build | 0.480.0-160000.3.1 | SUSE-SU-2026:24244-1 |
| Ubuntu | resolute | libxs-parse-keyword-perl | Advisory build | 0.49-1ubuntu0.1 | USN-8940-1 |
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywordaarch64 | Advisory build | 0.480.0-160100.3.1 | SUSE-SU-2026:24544-1 |
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywordaarch64 | Advisory build | 0.480.0-160100.3.1 | SUSE-SU-2026:24692-1 |
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywordppc64le | Advisory build | 0.480.0-160000.3.1 | SUSE-SU-2026:24244-1 |
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywordppc64le | Advisory build | 0.480.0-160100.3.1 | SUSE-SU-2026:24544-1 |
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywords390x | Advisory build | 0.480.0-160000.3.1 | SUSE-SU-2026:24244-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywords390x | Advisory build | 0.480.0-160100.3.1 | SUSE-SU-2026:24544-1 |
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywordx86_64 | Advisory build | 0.480.0-160000.3.1 | SUSE-SU-2026:24244-1 |
| SUSE / openSUSE | SLE-16 | perl-XS-Parse-Keywordx86_64 | Advisory build | 0.480.0-160100.3.1 | SUSE-SU-2026:24544-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-XS-Parse-Keywordaarch64 | Advisory build | 0.480.0-160000.3.1 | OPENSUSE-SU-2026:22101-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-XS-Parse-Keywordppc64le | Advisory build | 0.480.0-160000.3.1 | OPENSUSE-SU-2026:22101-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-XS-Parse-Keywords390x | Advisory build | 0.480.0-160000.3.1 | OPENSUSE-SU-2026:22101-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-XS-Parse-Keywordx86_64 | Advisory build | 0.480.0-160000.3.1 | OPENSUSE-SU-2026:22101-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | perl-XS-Parse-Keywordaarch64 | Advisory build | 0.480.0-160100.3.1 | OPENSUSE-SU-2026:22287-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | perl-XS-Parse-Keywordppc64le | Advisory build | 0.480.0-160100.3.1 | OPENSUSE-SU-2026:22287-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | perl-XS-Parse-Keywords390x | Advisory build | 0.480.0-160100.3.1 | OPENSUSE-SU-2026:22287-1 |
| SUSE / openSUSE | openSUSE-Leap-16.1 | perl-XS-Parse-Keywordx86_64 | Advisory build | 0.480.0-160100.3.1 | OPENSUSE-SU-2026:22287-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-XS-Parse-Keywordaarch64 | Advisory build | 0.500.0-1.1 | OPENSUSE-SU-2026:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-XS-Parse-Keywordppc64le | Advisory build | 0.500.0-1.1 | OPENSUSE-SU-2026:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-XS-Parse-Keywords390x | Advisory build | 0.500.0-1.1 | OPENSUSE-SU-2026:11863-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-XS-Parse-Keywordx86_64 | Advisory build | 0.500.0-1.1 | OPENSUSE-SU-2026:11863-1 |
| Ubuntu | stonking | libxs-parse-keyword-perl | Advisory build | 0.49-1ubuntu1 | USN-8940-1 |
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);
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| XS-Parse-Keyword | 0.40 through 0.49 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
- CWE-125 CWE-125 Out-of-bounds Read
References
3Provider assertions
3CPANSec · cna
XS::Parse::Infix versions from 0.40 through 0.49 for Perl treat a number as an array reference
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3e4608412d5089a24048aebe247a14fc38e8b0a09b8fb84caa4f91125c76a028
- Ingested
- 30 Sep 2026, 19:58:20 UTC
- Source record
- Official CVE record