json
JSON implementation for Ruby
Activity
- Latest release
- 2w ago
- Total releases
- 138
- Cadence
- ~10 days
- Last 12 months
- 26
Reach
- Stars
- 784
Details
- License
- unknown
- First release
- Sep 29, 2005
| Version | Released | |
|---|---|---|
3.1.0
minor
| ||
3.0.2
patch
| ||
3.0.1
patch
| ||
3.0.0
major
| ||
3.0.0.rc1
pre
| ||
2.21.2
patch
| ||
2.21.1
patch
1 CVE
CVE-2026-71847
GHSA-9hj4-r449-hfvc
Aug 07, 2026
Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams
Low
SummaryRuby's JSON native C extension clears the consumed When An attacker who can supply JSON stream data to an application using The issue was reproduced in the native C extension from the official RubyGems releases:
The attached evidence demonstrates:
This was originally reported privately through Ruby's HackerOne program as report No code execution or information disclosure is claimed. DetailsThe affected source is:
The vulnerable sequence in JSON 2.21.1 is:
Relevant source locations:
When input is supplied to the resumable parser, the parser state stores direct pointers into the backing Ruby string:
After the current buffer has been consumed,
This path does not invalidate or replace:
When the partial object contains duplicate keys, reconstruction follows this call path:
AddressSanitizer reports:
The reproducer follows the normal resumable-parser API sequence:
The issue does not require:
The release-build crash reproduced on JSON 2.20.0, 2.21.0, and 2.21.1. This report covers the native C-extension implementation. The separate Java-platform implementation was not tested and is not claimed to be affected. PoCThe complete evidence bundle is attached as:
SHA-256:
Requirements
Release-build, network, and differential reproductionExtract the attachment:
Run the official JSON 2.21.1 release-build proof, loopback network proof, and differential controls:
Expected primary results:
The following four differential controls must also report
The release-build crash stack includes:
AddressSanitizer reproductionRun:
Expected vulnerable result:
Expected patched-control result:
Affected-version matrixThe release-build crash was reproduced three times for each of the following official RubyGems releases:
Additional evidence is included in:
ImpactThis is a use-after-free that can result in native Ruby process termination. An attacker must be able to supply JSON stream data to an application that:
In network-facing deployments meeting these conditions, an attacker can cause process termination and denial of service. The release-build crash was reproduced consistently in the tested Linux environment. The AddressSanitizer result confirms the underlying heap-use-after-free independently of normal allocator behavior. The demonstrated impact is:
No confidentiality impact, integrity impact, arbitrary code execution, or information disclosure is claimed. Suggested remediationBefore clearing or releasing the resumable parser's input buffer, invalidate or replace every parser-state pointer that refers to the buffer's backing storage. Delayed code paths such as duplicate-key warning generation must not calculate cursor positions using pointers after the corresponding buffer has been released. The attached Affected versions
2.20.0
2.21.0
2.21.1
Fixed in
2.21.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.21.0
minor
1 CVE
CVE-2026-71847
GHSA-9hj4-r449-hfvc
Aug 07, 2026
Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams
Low
SummaryRuby's JSON native C extension clears the consumed When An attacker who can supply JSON stream data to an application using The issue was reproduced in the native C extension from the official RubyGems releases:
The attached evidence demonstrates:
This was originally reported privately through Ruby's HackerOne program as report No code execution or information disclosure is claimed. DetailsThe affected source is:
The vulnerable sequence in JSON 2.21.1 is:
Relevant source locations:
When input is supplied to the resumable parser, the parser state stores direct pointers into the backing Ruby string:
After the current buffer has been consumed,
This path does not invalidate or replace:
When the partial object contains duplicate keys, reconstruction follows this call path:
AddressSanitizer reports:
The reproducer follows the normal resumable-parser API sequence:
The issue does not require:
The release-build crash reproduced on JSON 2.20.0, 2.21.0, and 2.21.1. This report covers the native C-extension implementation. The separate Java-platform implementation was not tested and is not claimed to be affected. PoCThe complete evidence bundle is attached as:
SHA-256:
Requirements
Release-build, network, and differential reproductionExtract the attachment:
Run the official JSON 2.21.1 release-build proof, loopback network proof, and differential controls:
Expected primary results:
The following four differential controls must also report
The release-build crash stack includes:
AddressSanitizer reproductionRun:
Expected vulnerable result:
Expected patched-control result:
Affected-version matrixThe release-build crash was reproduced three times for each of the following official RubyGems releases:
Additional evidence is included in:
ImpactThis is a use-after-free that can result in native Ruby process termination. An attacker must be able to supply JSON stream data to an application that:
In network-facing deployments meeting these conditions, an attacker can cause process termination and denial of service. The release-build crash was reproduced consistently in the tested Linux environment. The AddressSanitizer result confirms the underlying heap-use-after-free independently of normal allocator behavior. The demonstrated impact is:
No confidentiality impact, integrity impact, arbitrary code execution, or information disclosure is claimed. Suggested remediationBefore clearing or releasing the resumable parser's input buffer, invalidate or replace every parser-state pointer that refers to the buffer's backing storage. Delayed code paths such as duplicate-key warning generation must not calculate cursor positions using pointers after the corresponding buffer has been released. The attached Affected versions
2.20.0
2.21.0
2.21.1
Fixed in
2.21.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.20.0
minor
1 CVE
CVE-2026-71847
GHSA-9hj4-r449-hfvc
Aug 07, 2026
Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams
Low
SummaryRuby's JSON native C extension clears the consumed When An attacker who can supply JSON stream data to an application using The issue was reproduced in the native C extension from the official RubyGems releases:
The attached evidence demonstrates:
This was originally reported privately through Ruby's HackerOne program as report No code execution or information disclosure is claimed. DetailsThe affected source is:
The vulnerable sequence in JSON 2.21.1 is:
Relevant source locations:
When input is supplied to the resumable parser, the parser state stores direct pointers into the backing Ruby string:
After the current buffer has been consumed,
This path does not invalidate or replace:
When the partial object contains duplicate keys, reconstruction follows this call path:
AddressSanitizer reports:
The reproducer follows the normal resumable-parser API sequence:
The issue does not require:
The release-build crash reproduced on JSON 2.20.0, 2.21.0, and 2.21.1. This report covers the native C-extension implementation. The separate Java-platform implementation was not tested and is not claimed to be affected. PoCThe complete evidence bundle is attached as:
SHA-256:
Requirements
Release-build, network, and differential reproductionExtract the attachment:
Run the official JSON 2.21.1 release-build proof, loopback network proof, and differential controls:
Expected primary results:
The following four differential controls must also report
The release-build crash stack includes:
AddressSanitizer reproductionRun:
Expected vulnerable result:
Expected patched-control result:
Affected-version matrixThe release-build crash was reproduced three times for each of the following official RubyGems releases:
Additional evidence is included in:
ImpactThis is a use-after-free that can result in native Ruby process termination. An attacker must be able to supply JSON stream data to an application that:
In network-facing deployments meeting these conditions, an attacker can cause process termination and denial of service. The release-build crash was reproduced consistently in the tested Linux environment. The AddressSanitizer result confirms the underlying heap-use-after-free independently of normal allocator behavior. The demonstrated impact is:
No confidentiality impact, integrity impact, arbitrary code execution, or information disclosure is claimed. Suggested remediationBefore clearing or releasing the resumable parser's input buffer, invalidate or replace every parser-state pointer that refers to the buffer's backing storage. Delayed code paths such as duplicate-key warning generation must not calculate cursor positions using pointers after the corresponding buffer has been released. The attached Affected versions
2.20.0
2.21.0
2.21.1
Fixed in
2.21.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.9
patch
| ||
2.19.8
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.7
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.6
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.5
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.4
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.3
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.17.1.2
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.2
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.15.2.1
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.1
patch
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.19.0
minor
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.18.1
patch
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.18.0
minor
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.17.1
patch
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.17.0
minor
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.16.0
minor
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.15.2
patch
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.15.1
patch
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.15.0
minor
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.14.0
minor
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.14.1
patch
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2026-33210
GHSA-3m6g-2423-7cp3
Mar 19, 2026
Ruby JSON has a format string injection vulnerability
High
Network
Low
None
None
ImpactA format string injection vulnerability than that lead to denial of service attacks or information disclosure, when the This option isn't the default, if you didn't opt-in to use it, you are not impacted. PatchesPatched in WorkaroundsThe issue can be avoided by not using the Affected versions
2.18.0
2.18.1
2.19.0
2.19.1
2.16.0
2.17.0
2.17.1
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
Fixed in
2.15.2.1
2.17.1.2
2.19.2
References Updated Sep 10, 2026 · Source: OSV.dev | ||
2.13.2
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.13.1
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.13.0
minor
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.12.2
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.12.1
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.12.0
minor
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.11.3
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.11.0
minor
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.11.2
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.11.1
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.10.2
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.10.1
patch
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-27788
GHSA-9m3q-rhmv-5q44
Mar 12, 2025
Out-of-bounds Read in Ruby JSON Parser
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
ImpactA specially crafted document could cause an out of bound read, most likely resulting in a crash. Versions 2.10.0 and 2.10.1 are impacted. Older versions are not. PatchesVersion 2.10.2 fixes the problem. WorkaroundsNone. Affected versions
2.10.0
2.10.1
Fixed in
2.10.2
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.10.0
minor
2 CVEs
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev
CVE-2025-27788
GHSA-9m3q-rhmv-5q44
Mar 12, 2025
Out-of-bounds Read in Ruby JSON Parser
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
ImpactA specially crafted document could cause an out of bound read, most likely resulting in a crash. Versions 2.10.0 and 2.10.1 are impacted. Older versions are not. PatchesVersion 2.10.2 fixes the problem. WorkaroundsNone. Affected versions
2.10.0
2.10.1
Fixed in
2.10.2
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.9.1
patch
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.9.0
minor
1 CVE
CVE-2026-54696
GHSA-x2f5-4prf-w687
Jul 23, 2026
Ruby json: JSON generator heap buffer overflow when streaming to an IO
3.7
/ 10
Low
Network
High
None
None
Unchanged
None
None
Low
Summary
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here. DetailsRoot cause is in On the IO path, the buffer is grown to
If
The minimal fix is to compare against the remaining capacity:
PoC
Verified results:
Control: the same data through ImpactA remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through Affected versions
2.10.0
2.10.1
2.10.2
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.12.1
2.12.2
2.13.0
2.13.1
+ 24 more Show less
2.13.2
2.14.0
2.14.1
2.15.0
2.15.1
2.15.2
2.15.2.1
2.16.0
2.17.0
2.17.1
2.17.1.2
2.18.0
2.18.1
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.19.5
2.19.6
2.19.7
2.19.8
2.9.0
2.9.1
Fixed in
2.19.9
References
Updated Sep 10, 2026 · Source: OSV.dev | ||
2.8.2
patch
| ||
2.8.0.alpha1
pre
| ||
2.8.0
minor
| ||
2.8.1
patch
|