PT-2026-165231
CVE-2026-141523
·
Published
2026-12-01
·
Updated
2026-12-01
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Name of the Vulnerable Software and Affected Versions
Ruby JSON versions 2.18.0 through 2.18.1
Ruby JSON version 2.19.0 through 2.19.2
Description
An out-of-bounds write can occur when using the
JSON.parse() function with the allow control characters option enabled. This happens when invalid JSON containing sufficient padding is followed by a backslash and an ASCII control character. This malformed escape sequence bypasses the parser's bounds checks, which may corrupt heap memory or crash the Ruby VM, leading to a denial of service in applications parsing untrusted input.Recommendations
Update Ruby JSON to version 2.18.2.
Update Ruby JSON to version 2.19.3.
As a temporary workaround, avoid enabling the
allow control characters option when parsing untrusted input. Found an issue in the description? Have something to add? Feel free to write us 👾