PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-129115 MLEHMANN CVE debrief

CVE-2026-129115: The JSON::XS Perl module versions from 3.0 before 4.05 are vulnerable to reading freed stack memory when a FREEZE result's serialization grows the Perl stack under allow_tags in encode_rv. This occurs because the FREEZE method is called in list context, and each returned value is encoded through a saved Perl stack pointer. If encoding a returned value calls back into Perl and grows the stack, the stack is reallocated while the saved pointer still refers to the freed block. Defenders should prioritize verifying and updating JSON::XS to version 4.05 or later, assessing exposure in Perl applications using JSON::XS with allow_tags in encode_rv, and monitoring for CVE-

Vendor
MLEHMANN
Product
JSON::XS
CVSS
CRITICAL 9.1
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, especially those with allow_tags in encode_rv, should assess exposure and prioritize updates to version 4.05 or later. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify and update JSON::XS, assess exposure in Perl applications, and monitor for potential exploitation attempts.

Why it matters

CVE-2026-129115 in JSON::XS Perl module allows reading freed stack memory, potentially leading to sensitive data exposure or application instability. Defenders should verify and update JSON::XS, assess exposure in Perl applications, and monitor for exploitation attempts.

  • Potential for reading sensitive data from freed stack memory
  • Possible crashes or instability in affected applications
  • Need for verification and updates to JSON::XS
  • Monitoring for exploitation attempts may be necessary

Technical summary

The JSON::XS Perl module versions from 3.0 before 4.05 are vulnerable to reading freed stack memory when a FREEZE result's serialization grows the Perl stack under allow_tags in encode_rv. This occurs because the FREEZE method is called in list context, and each returned value is encoded through a saved Perl stack pointer. If encoding a returned value calls back into Perl and grows the stack, the stack is reallocated while the saved pointer still refers to the freed block.

Defensive priority

Defenders should prioritize verifying and updating JSON::XS to version 4.05 or later, assessing exposure in Perl applications using JSON::XS with allow_tags in encode_rv, and monitoring for potential exploitation attempts.

Recommended defensive actions

  • Verify and update JSON::XS to version 4.05 or later
  • Assess exposure in Perl applications using JSON::XS with allow_tags in encode_rv
  • Monitor for potential exploitation attempts
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability in JSON::XS versions from 3.0 before 4.05 for Perl, which reads freed stack memory when a FREEZE result's serialization grows the Perl stack under allow_tags in encode_rv.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-129115 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-129115 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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.