# CVE-2026-124539: JSON::XS versions before 4.05 for Perl leak the decoded key of an object rejected for a missing colon in decode_hv

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-11-14T11:52:36.293Z
- Modified: 2026-11-24T19:10:01.980Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

JSON::XS versions before 4.05 for Perl leak the decoded key of an object rejected for a missing colon in decode_hv.

Unless it is short plain ASCII, a quoted key is decoded into a new scalar. Nothing frees that scalar when the object is rejected for a missing ':' after the key.

A process that keeps running after a failed decode retains one key per rejected document, with its size chosen by the sender. Repeated requests exhaust process memory.

(As written by CVE List.)

## Affected

- JSON-XS: before 4.05

## References

- <https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-124539](https://www.cve.org/CVERecord?id=CVE-2026-124539), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-124539](https://nvd.nist.gov/vuln/detail/CVE-2026-124539), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-124539 · Whole record: https://cve.day/CVE-2026-124539.json · Rebuilt by cve.day 2026-11-25T22:59:50.803Z
