PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-124536 MLEHMANN CVE debrief

CVE-2026-124536 is a vulnerability in JSON::XS versions before 4.05 for Perl, which allows memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse. This issue arises because the parser appends each chunk to its buffer and compares max_size with how far it has progressed, not with the buffer length. A peer streaming data to an incr_parse consumer can exhaust process memory regardless of max_size.

Vendor
MLEHMANN
Product
JSON::XS
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-14
Original CVE updated
2026-11-17
Advisory published
2026-11-14
Advisory updated
2026-11-17

Who should care

Defenders responsible for Perl applications using JSON::XS versions before 4.05 should assess exposure and prioritize updating to version 4.05 or later to prevent potential memory exhaustion attacks.

Why it matters

CVE-2026-124536 is a vulnerability in JSON::XS versions before 4.05 for Perl, which allows memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse. Defenders should prioritize verifying and updating JSON::XS to version 4.05 or later to prevent potential memory exhaustion attacks.

  • Potential memory exhaustion attacks against Perl applications using JSON::XS versions before 4.05
  • Need to verify and update JSON::XS to version 4.05 or later
  • Possible impact on process memory usage

Technical summary

The vulnerability in JSON::XS versions before 4.05 for Perl allows 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. A peer streaming data to an incr_parse consumer can exhaust process memory regardless of max_size. This issue arises because the parser treats a NUL byte as the end of the input, allowing the buffer to grow beyond the specified max_size limit. Defenders should prioritize verifying and updating JSON::XS to version 4.05 or later to prevent potential memory exhaustion attacks.

Defensive priority

Defenders should prioritize verifying and updating JSON::XS to version 4.05 or later to prevent potential memory exhaustion attacks.

Recommended defensive actions

  • Verify JSON::XS version and update to 4.05 or later
  • Monitor for potential memory exhaustion attacks
  • Implement compensating controls to limit process memory usage
  • Review and update asset inventory to identify exposed systems
  • Track exceptions and retest remediated assets
  • Plan vendor-supported updates or mitigations through normal change control
  • Confirm whether affected product deployments exist in managed environments

Evidence notes

The CVE record and source item provide details about the vulnerability in JSON::XS versions before 4.05 for Perl. The NVD entry is currently empty. Defenders should verify JSON::XS versions in use and assess exposure to potential memory exhaustion attacks. Evidence from the CVE Program and other sources indicates that this vulnerability allows memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse. The parser's behavior and the lack of proper input handling contribute to this issue.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-124536 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-124536

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-124536 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-124536

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.