CVE-2026-124539
9.1 Critical
AI summary
JSON::XS for Perl before 4.05 leaks the decoded key of objects rejected for a missing colon in decode_hv, allowing remote attackers to exhaust process memory with repeated requests. Critical (9.1); upgrade to 4.05.
Official 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.
- Published
- 2026-11-14 12:17 UTC
- Modified
- 2026-11-24 19:10 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - EPSS
- 0.51% (percentile 37)
- ENISA EUVD
- EUVD-2026-125919
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
- CWE
- CWE-401
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- none
- Availability
- high
References
- NVD · CVE.org
- metacpan.org
https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes