Out-of-bounds Write Affecting ruby3.4-default-gems package, versions <0:3.4.10-31.5.hum1


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.3% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUBY34DEFAULTGEMS-18475722
  • published31 Jul 2026
  • disclosed30 Jun 2026

Introduced: 30 Jun 2026

CVE-2026-54696  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade RHEL:10 ruby3.4-default-gems to version 0:3.4.10-31.5.hum1 or higher.
This issue was patched in RHSA-2026:48482.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.4-default-gems package and not the ruby3.4-default-gems package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1