{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-124541","id":"CVE-2026-124541","title":"JSON::XS memory exhaustion in rejected string decoding","description":"JSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long string in decode_str.\n\nA string is decoded through a fixed-size buffer (16 KiB in 4.04), and each time the buffer fills its contents move into a new scalar. Nothing frees that scalar when the string is then rejected for a control character, an invalid escape, malformed UTF-8 or the end of the input.\n\nA process that kee","descriptionLong":"JSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long string in decode_str.\n\nA string is decoded through a fixed-size buffer (16 KiB in 4.04), and each time the buffer fills its contents move into a new scalar. Nothing frees that scalar when the string is then rejected for a control character, an invalid escape, malformed UTF-8 or the end of the input.\n\nA process that keeps running after a failed decode retains the decoded part of each rejected string, with its size chosen by the sender. Repeated requests exhaust process memory.","published":"2026-11-14T11:53:12.301Z","updated":"2026-11-17T16:17:43.273Z","reserved":"2026-11-08T12:32:39.559Z","status":"Received","rejected":false,"assigner":"CPANSec","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"}],"rating":"high","products":["JSON-XS"],"affectedProducts":[{"vendor":"","product":"JSON-XS","defaultStatus":"unaffected","versions":[{"lessThan":"4.05","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes","tags":["release-notes"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00407,"epssPercentile":0.35894,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-124541","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124541","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-124541","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-124541","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}