# CVE-2026-141523: Ruby JSON: Out of Bound Write in parser when \`allow\_control\_characters: true\` is enabled

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-05
- Aliases: GHSA-cjpr-jw2g-fw99, CGA-4h6g-4w8r-j8q7, DEBIAN-CVE-2026-141523, CGA-2pfq-qm5c-j9ff, CGA-3rjr-r9gj-7fhc, CGA-4gf8-h9f2-m4x2, CGA-7c4m-9prc-936g, CGA-7j2r-pgh8-x73m, CGA-7p75-h58h-c447, CGA-cg7x-qg87-7qjm, CGA-cj64-7qrr-hpwv, CGA-gqj8-vhcj-5w86, CGA-h5m6-g9rp-542c, CGA-hjcg-7fw4-9wx5, CGA-mqr4-2gxv-8r42, CGA-phc2-vm7x-r88x, CGA-qhwp-wcmw-2xv4, CGA-qpq3-65hx-ppgr, CGA-qq6f-mj2q-8mw2, CGA-5rj8-rqcf-qj9h, CGA-rxcp-rhq5-p595, UBUNTU-CVE-2026-141523
- Record: https://cvemate.com/vulnerability/CVE-2026-141523 · JSON: https://cvemate.com/vulnerability/CVE-2026-141523/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
- EPSS: 0.777%, percentile 57.196%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.2 (Chainguard): All versions (No fix recorded)
- debian ruby-json (Debian): All versions (No fix recorded) \| \< 2.19.4+dfsg-1
- ubuntu ruby-json (Ubuntu): All versions (No fix recorded)
- RubyGems json (RubyGems): ≥ 2.18.0, \< 2.18.2 \| ≥ 2.19.0, \< 2.19.3
- ruby json: ≥ 2.18.0, \< 2.18.2 \| ≥ 2.19.0, \< 2.19.3

## References

- <https://github.com/ruby/json/security/advisories/GHSA-cjpr-jw2g-fw99>
- <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>
- <https://security-tracker.debian.org/tracker/CVE-2026-141523>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141523.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-141523>
- <https://ubuntu.com/security/CVE-2026-141523>
- <https://www.cve.org/CVERecord?id=CVE-2026-141523>

---

Data as of 2026-12-05T03:38:00.393Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
