CVE-2026-124541
JSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long string in decode_str
No exploitation reported by the sources we read.
- Published2026-11-14
- WeaknessCWE-401
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
JSON::XS versions before 4.05 for Perl leak the decoded part of a rejected long string in decode_str. A 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. A 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.
Timeline
dates in UTC- 2026-11-1411:53CVE publishedCNA
Versions per branch
Products declared by the CNA1 product
As CPANSec, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- JSON-XSother versions: not affectedAffected
- < 4.05fixed in 4.05custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-14
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libjson-xs-perlUbuntu:26.10all versions · no fixed version listed
- libjson-xs-perlUbuntu:26.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:24.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:22.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:20.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:18.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:16.04:LTSall versions · no fixed version listed
- libjson-xs-perlUbuntu:14.04:LTSall versions · no fixed version listed
3 more package ranges on OSV.dev
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-17
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-17
- CISA-ADPSSVC decisionnone2026-11-17
- CISA-ADPCVSS 3.17.52026-11-17
- CNAweakness (CWE)CWE-4012026-11-14
- FIRST EPSSEPSS score0.2 %2026-11-16
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2026-125917same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-vgmh-4qpm-2xcvsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-11-14
- Last Modified
- 2026-11-17
- NVD status
- Received
- GitHub Advisory
- GHSA-vgmh-4qpm-2xcv
Frequently asked questions
What is CVE-2026-124541?
Is CVE-2026-124541 actively exploited?
What is the CVSS score for CVE-2026-124541?
Running libjson-xs-perl? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-40928same product
- CVE-2026-129115same productJSON::XS versions from 3.0 before 4.05 for Perl read freed stack memory when a FREEZE result's serialisation grows the Perl stack under allow_tags in encode_rv
- CVE-2026-129114same productJSON::XS versions from 3.04 before 4.05 for Perl write one byte past a heap buffer when appending a one-byte chunk in incr_parse
- CVE-2026-129113same productJSON::XS versions from 4.0_00 before 4.05 for Perl corrupt the incremental buffer length by chopping past its end in incr_skip after a top-level number
- CVE-2026-124540same productJSON::XS versions before 4.05 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag
- CVE-2026-124539same productJSON::XS versions before 4.05 for Perl leak the decoded key of an object rejected for a missing colon in decode_hv
- CVE-2026-124536same productJSON::XS versions before 4.05 for Perl allow memory exhaustion by buffering incremental input past max_size after a NUL byte in incr_parse
- CVE-2026-123039KEVsame weekLocal privilege escalation to root in the DynamicCLI daemon via local world-writable control socket
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vgmh-4qpm-2xcv
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0