PatchSiren cyber security CVE debrief
CVE-2026-124541 MLEHMANN CVE debrief
CVE-2026-124541 is a vulnerability in JSON::XS versions before 4.05 for Perl, where the decoded part of a rejected long string in decode_str can leak. This issue arises because the string is decoded through a fixed-size buffer, and when the buffer fills, its contents move into a new scalar. However, this scalar is not freed when the string is rejected due to a control character, invalid escape, malformed UTF-8, or end of input. A process that continues running after a failed decode retains the decoded part of each rejected string, with its size determined by the sender. Repeated requests can lead to memory exhaustion.
- 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, especially those handling untrusted input, should be aware of this vulnerability. They should assess their exposure and prioritize updating JSON::XS to version 4.05 or later.
Why it matters
CVE-2026-124541 is a memory leak vulnerability in JSON::XS versions before 4.05 for Perl. Defenders should care because it can lead to memory exhaustion through crafted input, potentially causing denial-of-service attacks. They should verify their JSON::XS version, monitor memory usage, and update to version 4.05 or later.
- Memory exhaustion through repeated exploitation attempts
- Potential for denial-of-service (DoS) attacks
- Need for verification of JSON::XS version in use
- Importance of monitoring memory usage patterns
Technical summary
The vulnerability in JSON::XS versions before 4.05 for Perl involves a memory leak when decoding strings. Specifically, when a string is decoded through a fixed-size buffer and then rejected due to issues like control characters or malformed UTF-8, the decoded part of the string is retained in memory. This can lead to memory exhaustion through repeated requests with crafted input. A process that continues running after a failed decode retains the decoded part of each rejected string, with its size determined by the sender. Defenders should prioritize verifying and updating JSON::XS to version 4.05 or later, especially in Perl applications that handle untrusted input.
Defensive priority
Defenders should prioritize verifying and updating JSON::XS to version 4.05 or later, especially in Perl applications that handle untrusted input. They should also monitor for unusual memory usage patterns that could indicate exploitation attempts.
Recommended defensive actions
- Update JSON::XS to version 4.05 or later
- Monitor for unusual memory usage patterns
- Verify input handling in Perl applications
- 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 about the vulnerability in JSON::XS versions before 4.05. The issue is related to memory leaks when decoding strings. However, specific details about exploitation or affected systems are limited.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-124541 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-124541
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-124541 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-124541
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
JSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long string in decode
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/124xxx/CVE-2026-124541.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes
Supplemental source - release-notes
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.