SecurityContext

CVE-2026-124536: JSON::XS - Memory Exhaustion

  • Cve: CVE-2026-124536
  • Name: JSON::XS - Memory Exhaustion
  • Description: 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.
  • Impact: Attackers can exhaust process memory, causing denial of service and potential application crash.
  • Remediation: Update to JSON::XS version 4.05 or later.
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker must be able to stream data to an incr_parse consumer
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0043
  • Epss percentile: 0.3772
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2026-11-14T12:17:42Z
  • Age in days: 10
  • Modified at: 2026-11-17T16:17:42Z
  • References total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-124536
  • Nvd status: received
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
CWE-770Allocation of Resources Without Limits or Throttling

References

UrlSourceTags
https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changesnvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts