
CVE catalog
CVE-2026-124541
libjson-xs-perl affected and fixed versions
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.
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.44% · Nov 22, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | libjson-xs-perl | 4.050-1 | FixedDistribution-reported fixed boundary | [CVE-2026-124541] |
| Debianforky | libjson-xs-perl | 4.050-1 | FixedDistribution-reported fixed boundary | [CVE-2026-124541] |
More observations (25)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | libjson-xs-perl | Not reported | AffectedDistribution reports no fix | [CVE-2026-124541] |
| Debianbookworm | libjson-xs-perl | 4.040-1~deb12u1 | Affected | [CVE-2026-124541] |
| Debianbookworm-security | libjson-xs-perl | 4.040-1~deb12u1 | Affected | [CVE-2026-124541] |
| Debiantrixie | libjson-xs-perl | Not reported | AffectedDistribution reports no fix | [CVE-2026-124541] |
| Debiantrixie | libjson-xs-perl | 4.040-1~deb13u1 | Affected | [CVE-2026-124541] |
| Debiantrixie-security | libjson-xs-perl | 4.040-1~deb13u1 | Affected | [CVE-2026-124541] |
| Ubuntu14.04 | libjson-xs-perl | 2.340-1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu14.04 | libjson-xs-perl | 2.340-1build1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu16.04 | libjson-xs-perl | 3.010-2 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu16.04 | libjson-xs-perl | 3.010-2build1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu18.04 | libjson-xs-perl | 3.030-1build1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu18.04 | libjson-xs-perl | 3.040-1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu20.04 | libjson-xs-perl | 4.020-1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu20.04 | libjson-xs-perl | 4.020-1build1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu22.04 | libjson-xs-perl | 4.030-1build2 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu22.04 | libjson-xs-perl | 4.030-1build3 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu22.04 | libjson-xs-perl | 4.040-0ubuntu0.22.04.1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu24.04 | libjson-xs-perl | 4.030-2 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu24.04 | libjson-xs-perl | 4.030-2build1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu24.04 | libjson-xs-perl | 4.030-2build2 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu24.04 | libjson-xs-perl | 4.030-2build3 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu24.04 | libjson-xs-perl | 4.040-0ubuntu0.24.04.1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu26.04 | libjson-xs-perl | 4.040-1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu26.10 | libjson-xs-perl | 4.040-1 | Affected | [UBUNTU-CVE-2026-124541] |
| Ubuntu26.10 | libjson-xs-perl | 4.040-1build1 | Affected | [UBUNTU-CVE-2026-124541] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libjson-xs-perl]Affected
Details (4)
4.040-1~deb12u1· amd64 · bookwormAffected
dsa · libjson-xs-perl · debian · bookworm; pypi · libjson-xs-perl · debian · 12
4.040-1~deb12u1· arm64 · bookwormAffected
dsa · libjson-xs-perl · debian · bookworm; pypi · libjson-xs-perl · debian · 12
4.040-1~deb12u1· amd64 · bookworm-securityAffected
dsa · libjson-xs-perl · debian · bookworm; pypi · libjson-xs-perl · debian · 12
4.040-1~deb12u1· arm64 · bookworm-securityAffected
dsa · libjson-xs-perl · debian · bookworm; pypi · libjson-xs-perl · debian · 12
[Debian 13 (Trixie)]
- [libjson-xs-perl]Affected
Details (4)
4.040-1~deb13u1· amd64 · trixieAffected
pypi · libjson-xs-perl · debian · 13
4.040-1~deb13u1· arm64 · trixieAffected
pypi · libjson-xs-perl · debian · 13
4.040-1~deb13u1· amd64 · trixie-securityAffected
pypi · libjson-xs-perl · debian · 13
4.040-1~deb13u1· arm64 · trixie-securityAffected
pypi · libjson-xs-perl · debian · 13
Observed:
References
- [https://metacpan.org/release/MLEHMANN/JSON-XS-4.05/changes]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-124541]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-124541]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-124541]
- [https://security-tracker.debian.org/tracker/CVE-2026-124541]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]