Live threats

All CVEs

CVE-2026-124539

Memory leak in JSON::XS for Perl from unreleased key

Critical 9.1 No auth needed

Priority
72
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Nov 14, 2026
Updated
Nov 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-401
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

What happens

JSON::XS for Perl before version 4.05 leaks memory when rejecting a JSON object due to a missing colon after the key. A remote attacker can send multiple malformed JSON documents to exhaust process memory, causing denial of service.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 4.05

Update JSON::XS to version 4.05 or later.

Vendor advisory · metacpan.org ↗

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.