
Каталог CVE
CVE-2026-141523
ruby-json affected and fixed versions
Ruby JSON is a JSON implementation for Ruby. From 2.18.0 until 2.18.2 and 2.19.3, JSON.parse can perform an out-of-bounds write when allow_control_characters is enabled and attacker-controlled invalid JSON contains sufficient padding before a backslash immediately followed by an ASCII control character. This malformed escape sequence can defeat the parser's bounds checks, potentially corrupting heap memory and more likely crashing the Ruby VM, which can cause denial of service in applications that parse untrusted input with the affected option. This issue is fixed in versions 2.18.2 and 2.19.3.
- Критичність
- Medium · CVSS 3.1 · 6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.78% · Dec 4, 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 | ruby-json | 2.19.4+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2026-141523] |
| Debiansid | ruby-json | 3.2.0+dfsg-1 | Fixed | [CVE-2026-141523] |
| Debianforky | ruby-json | 2.19.4+dfsg-1 | FixedDistribution-reported fixed boundary | [CVE-2026-141523] |
| Debianforky | ruby-json | 3.2.0+dfsg-1 | Fixed | [CVE-2026-141523] |
More observations (21)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | ruby-json | Not reported | AffectedDistribution reports no fix | [CVE-2026-141523] |
| Debianbookworm | ruby-json | 2.6.3+dfsg-1 | Affected | [CVE-2026-141523] |
| Debiantrixie | ruby-json | Not reported | AffectedDistribution reports no fix | [CVE-2026-141523] |
| Debiantrixie | ruby-json | 2.9.1+dfsg-1 | Affected | [CVE-2026-141523] |
| Ubuntu20.04 | ruby-json | 2.1.0+dfsg-2 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu20.04 | ruby-json | 2.3.0+dfsg-1 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu20.04 | ruby-json | 2.3.0+dfsg-1build1 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu22.04 | ruby-json | 2.3.0+dfsg-1build1 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu22.04 | ruby-json | 2.5.1+dfsg-2 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu22.04 | ruby-json | 2.5.1+dfsg-2build1 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu24.04 | ruby-json | 2.6.3+dfsg-1build2 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu24.04 | ruby-json | 2.6.3+dfsg-1build3 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu24.04 | ruby-json | 2.6.3+dfsg-1build4 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu26.04 | ruby-json | 2.15.2+dfsg-1 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu26.04 | ruby-json | 2.18.1+dfsg-1 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntu26.04 | ruby-json | 2.9.1+dfsg-1 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntupro | ruby-json | 2.1.0+dfsg-1 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntupro | ruby-json | 2.1.0+dfsg-1ubuntu2 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntupro | ruby-json | 2.1.0+dfsg-1ubuntu3 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntupro | ruby-json | 2.1.0+dfsg-2 | Affected | [UBUNTU-CVE-2026-141523] |
| Ubuntupro | ruby-json | 2.1.0+dfsg-2ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-141523] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-json]Уражена
Подробиці (2)
2.6.3+dfsg-1· amd64 · bookwormУражена
dsa · ruby-json · debian · bookworm
2.6.3+dfsg-1· arm64 · bookwormУражена
dsa · ruby-json · debian · bookworm
Спостережено:
Посилання
- [https://github.com/ruby/json/commit/75e2f6453a3bf79df086ac10e41dbc5b7f124a76]
- [https://github.com/ruby/json/commit/dcfbbcd36f240c18c3b89e5399105715f70162e3]
- [https://github.com/ruby/json/releases/tag/v2.18.2]
- [https://github.com/ruby/json/releases/tag/v2.19.3]
- [https://github.com/ruby/json/security/advisories/GHSA-cjpr-jw2g-fw99]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-141523]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-141523]
- [https://security-tracker.debian.org/tracker/CVE-2026-141523]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]