CVE-2026-129115
JSON::XS versions from 3.0 before 4.05 for Perl read freed stack memory when a FREEZE result's serialisation grows the Perl stack under allow_tags in encode_rv
No exploitation reported by the sources we read.
- Published2026-11-14
- WeaknessCWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
JSON::XS versions from 3.0 before 4.05 for Perl read freed stack memory when a FREEZE result's serialisation grows the Perl stack under allow_tags in encode_rv. With allow_tags, an object's FREEZE method is called in list context and each returned value is encoded through a saved Perl stack pointer. When encoding a returned value calls back into Perl, through TO_JSON under convert_blessed or another FREEZE, and that callback grows the stack, the stack is reallocated while the saved pointer still refers to the freed block. Encoding such objects reads freed memory, and encode can return undef without an error.
Timeline
dates in UTC- 2026-11-1411:54CVE publishedCNA
Versions per branch
Products declared by the CNA1 product
As CPANSec, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- JSON-XSother versions: not affectedAffected
- ≥ 3.0, < 4.05fixed in 4.05custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-14
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libjson-xs-perlUbuntu:26.10all versions · no fixed version listed
- libjson-xs-perlUbuntu:26.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:24.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:22.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:20.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:18.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:16.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:14.04:LTSall versions · no fixed version listed
3 more package ranges on OSV.dev
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-17
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-17
- CISA-ADPSSVC decisionnone2026-11-17
- CISA-ADPCVSS 3.19.12026-11-17
- CNAweakness (CWE)CWE-4162026-11-14
- FIRST EPSSEPSS score0.2 %2026-11-16
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2026-125914same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-w99q-7mg2-3mhxsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Published
- 2026-11-14
- Last Modified
- 2026-11-17
- NVD status
- Received
- GitHub Advisory
- GHSA-w99q-7mg2-3mhx
Frequently asked questions
What is CVE-2026-129115?
Is CVE-2026-129115 actively exploited?
What is the CVSS score for CVE-2026-129115?
Running libjson-xs-perl? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-40928same product
- CVE-2026-129114same productJSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse
- CVE-2026-129113same productJSON::XS versions from 4.0_00 before 4.05 for Perl corrupt the incremental buffer length by chopping past its end in incr_skip after a top-level number
- CVE-2026-124541same productJSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long string in decode_str
- CVE-2026-124540same productJSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag
- CVE-2026-124539same productJSON::XS versions before 4.05 for Perl leak the decoded key of an object rejected for a missing colon in decode_hv
- CVE-2026-124536same productJSON::XS versions before 4.05 for Perl allow memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse
- CVE-2026-123039KEVsame weekLocal privilege escalation to root in the DynamicCLI daemon via local world-writable control socket
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-w99q-7mg2-3mhx
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0