CVE-2026-54696 - Low Severity Vulnerability
Vulnerable Library - json-2.12.2.gem
This is a JSON implementation as a Ruby extension in C.
Library home page: https://rubygems.org/gems/json-2.12.2.gem
Path to dependency file: /Gemfile.lock
Path to vulnerable library: /vendor/cache/json-2.12.2.gem
Dependency Hierarchy:
- rubocop-1.76.1.gem (Root Library)
- ❌ json-2.12.2.gem (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 through 2.19.8 are vulnerable to heap buffer overflow when the JSON generator is provided with an oversized streamed object. When streaming to an IO JSON.dump(obj, io) and JSON::State#generate(obj, io) can write past the internal JSON generator buffer when a streamed object contains an
attacker-controlled string near 16 KB. Exploitation would result in a reliable process crash/denial of service. This issue has been fixed in version 2.19.9.
Publish Date: 2026-06-30
URL: CVE-2026-54696
CVSS 3 Score Details (3.7)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: Low
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: GHSA-x2f5-4prf-w687
Release Date: 2026-06-30
Fix Resolution: json - 2.19.9
Step up your Open Source Security Game with Mend here
CVE-2026-54696 - Low Severity Vulnerability
This is a JSON implementation as a Ruby extension in C.
Library home page: https://rubygems.org/gems/json-2.12.2.gem
Path to dependency file: /Gemfile.lock
Path to vulnerable library: /vendor/cache/json-2.12.2.gem
Dependency Hierarchy:
Found in base branch: master
Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 through 2.19.8 are vulnerable to heap buffer overflow when the JSON generator is provided with an oversized streamed object. When streaming to an IO JSON.dump(obj, io) and JSON::State#generate(obj, io) can write past the internal JSON generator buffer when a streamed object contains an
attacker-controlled string near 16 KB. Exploitation would result in a reliable process crash/denial of service. This issue has been fixed in version 2.19.9.
Publish Date: 2026-06-30
URL: CVE-2026-54696
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: Low
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: GHSA-x2f5-4prf-w687
Release Date: 2026-06-30
Fix Resolution: json - 2.19.9
Step up your Open Source Security Game with Mend here