Skip to main content

JSON::XS EUVDEUVD-2026-125920

| CVE-2026-124536 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-14 CPANSec GHSA-jj44-v2qc-wcv3
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach application's incr_parse stream consumer
  2. Exploit
    Send chunk with embedded NUL byte
  3. Execution
    Stream unbounded data past max_size
  4. Impact
    Buffer grows unchecked, exhausting process memory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to use the JSON::XS incremental parser (incr_parse) to consume data from an attacker-reachable or peer-controlled stream; standard one-shot decode() is not affected. The attacker must be able to send a NUL byte within the first max_size bytes followed by continued data on that stream. The core flaw is that incr_parse compares max_size against parse progress (which halts at the NUL, treated as end-of-input) rather than against actual buffer length, and incr_skip cannot remove the NUL, so the configured max_size safeguard provides no protection. Limiting factors: only incr_parse consumers are vulnerable, the application must expose incremental parsing to untrusted input, and impact is confined to memory-exhaustion denial of service (no code execution or data disclosure). Complete remediation is upgrading to JSON::XS 4.05.

Impact

Signals align toward a genuine-but-bounded denial-of-service issue rather than an urgent emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5 HIGH) reflects a remote, low-complexity, unauthenticated availability-only impact - there is no confidentiality or integrity exposure (CWE-770, uncontrolled resource consumption). EPSS is low at 0.19% (8th percentile), and the vulnerability is not on CISA KEV, so there is no evidence of active or widespread exploitation; this is consistent with an availability-only bug that yields no attacker foothold. The vuln.today decision label is 'this_week', indicating prompt but non-emergency remediation. A key nuance tempers the AV:N/PR:N/AC:L score: exploitation is not against JSON::XS in the abstract but specifically against applications that call incr_parse to consume a peer-controlled stream, so real-world exposure is narrower than the raw vector suggests. No SSVC decision record, KEV entry, or POC flag is present in the input, so automatability and exploitation status beyond the description cannot be independently assessed. Net: a legitimate patch-this-cycle item for anyone using JSON::XS incremental parsing on untrusted streams, not a high-CVSS-but-trivial issue, yet far from a drop-everything emergency.

Exploit ScenarioDerived

An application uses JSON::XS incr_parse to incrementally decode JSON arriving from a network peer, relying on max_size to cap buffering. A malicious or compromised peer sends a chunk containing a NUL byte within the first max_size bytes followed by an unbounded stream of additional data; because the parser measures progress (which stops at the NUL) rather than buffer length, max_size never trips and the buffer grows until the process exhausts memory. No public proof-of-concept or exploit code is identified in the provided sources, and because the impact is availability-only the attacker gains no code execution or data access.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 17, 2026

Memory exhaustion in JSON::XS before 4.05 for Perl lets unauthenticated remote attackers crash or stall applications that feed attacker-reachable data into the incremental parser (incr_parse). A NUL byte within the first max_size bytes is treated as end-of-input, so the module compares max_size against parse progress rather than the growing buffer and incr_skip cannot remove the NUL; the buffer then expands without the configured cap. No public exploit was identified at time of analysis and EPSS is 0.19% (8th percentile); only incr_parse consumers are exposed, with impact limited to denial of service.

RemediationAI

Upgrade to JSON::XS 4.05, which is the complete remediation per the vendor change log at https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes. If upgrading cannot be done immediately, remove exposure by not using incr_parse to consume attacker-reachable or peer-controlled streams; applications that can switch to one-shot decode() are not affected by this flaw, with the trade-off that one-shot parsing requires the full document to be buffered and changes streaming behavior. Raising or tuning max_size is not a mitigation because the limit check is bypassed by the NUL-byte condition. See the oss-security advisory at https://seclists.org/oss-sec/2026/q4/706 for details. The vuln.today priority is this_week.

Affected ProductsAI

JSON::XS versions before 4.05 for Perl are affected. No CPE identifiers were provided in the input. The vendor change log for the 4.05 release is at https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes; the oss-security advisory is at https://seclists.org/oss-sec/2026/q4/706. The EUVD entry is EUVD-2026-125920 and the NVD detail is https://nvd.nist.gov/vuln/detail/CVE-2026-124536.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

JSON::XS is a Perl JSON serialization module. The flaw is in the incremental parsing API: incr_parse appends each incoming chunk to an internal buffer, but max_size is checked against how far parsing has progressed rather than against the buffer length. A NUL byte is treated as the end of input, so a NUL within the first max_size bytes keeps the progress counter below the limit while chunks continue to be appended; incr_skip cannot remove the NUL. This is CWE-770 (Allocation of Resources Without Limits or Throttling). One-shot decode() is not affected; exposure is limited to applications that use incr_parse on a stream that an attacker or peer can control. The trigger is described in the available sources as this NUL/progress-check interaction.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CPANSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

A remote peer streaming data with an embedded NUL requires no auth, no interaction, and low complexity, yielding availability-only memory exhaustion (C:N/I:N/A:H), matching the vendor vector.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Nov 17, 2026 - 16:22 NVD
7.5 (HIGH)
CVE Published
Nov 14, 2026 - 11:51 cve.org
UNKNOWN (no severity yet)
CVE Published
Nov 14, 2026 - 11:51 cve.org
HIGH 7.5

DescriptionCVE.org

JSON::XS versions before 4.05 for Perl allow memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse.

The parser appends each chunk to its buffer and compares max_size with how far it has progressed, not with the buffer length. It treats a NUL byte as the end of the input, so a NUL within the first max_size bytes keeps it short of the limit. The buffer keeps growing, and incr_skip cannot remove the NUL.

A peer streaming data to an incr_parse consumer can exhaust process memory regardless of max_size.

Executive ViewAI

Why It Matters

A high-severity vulnerability in Perl's JSON::XS library (versions before 4.05) allows unauthenticated attackers to cause memory exhaustion and crash applications that use the incremental parser. This affects any Perl-based service processing attacker-supplied data, potentially leading to service outages and operational disruption. Leadership should prioritize remediation because the library is widely embedded and a successful attack can halt critical business functions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
de-facto fast JSON module for Perl; popular library but Perl-scoped and only incr_parse users affected
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy