CVE-2026-54696
Ruby JSON: JSON generator heap buffer overflow when streaming to an IO
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
3.7
Ruby JSON: JSON generator heap buffer overflow when streaming to an IO
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.
- Record
CVE-2026-54696- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-122, CWE-131, CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2026-40626
3.7
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.
- Record
EUVD-2026-40626- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-x2f5-4prf-w687
3.7
Ruby json: JSON generator heap buffer overflow when streaming to an IO
Summary
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. The issue is a heap out-of-bounds write
in the IO-streaming path and is demonstrated as a reliable process crash /
denial of service.
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here.
Details
Root cause is in ext/json/fbuffer/fbuffer.h, fbuffer_do_inc_capa().
On the IO path, the buffer is grown to FBUFFER_IO_BUFFER_SIZE (16383), but the
early return checks total capacity instead of remaining capacity:
if (RB_UNLIKELY(fb->io)) {
if (fb->capa < FBUFFER_IO_BUFFER_SIZE) {
fbuffer_realloc(fb, FBUFFER_IO_BUFFER_SIZE);
} else {
fbuffer_flush(fb);
}
if (RB_LIKELY(requested < fb->capa)) {
return;
}
}
If fb->len already contains JSON syntax bytes, and a string flush has
16383 - fb->len <= requested < 16383, this check returns even though there is
not enough space left. fbuffer_append_reserved() then writes past the buffer:
MEMCPY(fb->ptr + fb->len, newstr, char, len);
The minimal fix is to compare against the remaining capacity:
- if (RB_LIKELY(requested < fb->capa)) {
+ if (RB_LIKELY(requested <= fb->capa - fb->len)) {
return;
}
PoC
require "json"
require "stringio"
io = StringIO.new
big = "a" * 16385
big[16382] = '"' # escapable byte near the buffer boundary
JSON.dump([big], io)
Verified results:
Ruby 4.0.5 / bundled json 2.18.0:
malloc(): invalid size (unsorted)
.../json/common.rb:956: [BUG] Aborted
ruby/ruby master c78418b7a0 / json 2.19.8 / ASan:
heap-buffer-overflow WRITE of size 16382
fbuffer_append_reserved ext/json/fbuffer/fbuffer.h:145
search_flush ext/json/generator/generator.c:139
convert_UTF8_to_JSON ext/json/generator/generator.c:231
raw_generate_json_string ext/json/generator/generator.c:922
cState_m_generate ext/json/generator/generator.c:1891
Control: the same data through JSON.dump([big]) without an IO argument returns
normally. The bug is specific to the IO-streaming path.
Impact
A remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through JSON.dump(obj, io) or
JSON::State#generate(obj, io). The demonstrated impact is reliable denial of
service. I am not claiming code execution or information disclosure.
- Record
GHSA-x2f5-4prf-w687- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-122, CWE-131, CWE-787
- Updated
- 2026-11-02
NVD
3.7
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.
- Record
CVE-2026-54696- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-122, CWE-131, CWE-787
- Updated
- 2026-11-02
OSV
3.7
Ruby JSON: JSON generator heap buffer overflow when streaming to an IO
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.
- Record
CVE-2026-54696- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-122, CWE-131, CWE-787
- Updated
- 2026-11-05
OSVDEBIAN-CVE-2026-54696
3.7
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.
- Record
DEBIAN-CVE-2026-54696- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-x2f5-4prf-w687
3.7
Ruby json: JSON generator heap buffer overflow when streaming to an IO
Summary
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. The issue is a heap out-of-bounds write
in the IO-streaming path and is demonstrated as a reliable process crash /
denial of service.
This was triaged on HackerOne as report #3785370. The issue was confirmed there and I was asked to open it here.
Details
Root cause is in ext/json/fbuffer/fbuffer.h, fbuffer_do_inc_capa().
On the IO path, the buffer is grown to FBUFFER_IO_BUFFER_SIZE (16383), but the
early return checks total capacity instead of remaining capacity:
if (RB_UNLIKELY(fb->io)) {
if (fb->capa < FBUFFER_IO_BUFFER_SIZE) {
fbuffer_realloc(fb, FBUFFER_IO_BUFFER_SIZE);
} else {
fbuffer_flush(fb);
}
if (RB_LIKELY(requested < fb->capa)) {
return;
}
}
If fb->len already contains JSON syntax bytes, and a string flush has
16383 - fb->len <= requested < 16383, this check returns even though there is
not enough space left. fbuffer_append_reserved() then writes past the buffer:
MEMCPY(fb->ptr + fb->len, newstr, char, len);
The minimal fix is to compare against the remaining capacity:
- if (RB_LIKELY(requested < fb->capa)) {
+ if (RB_LIKELY(requested <= fb->capa - fb->len)) {
return;
}
PoC
require "json"
require "stringio"
io = StringIO.new
big = "a" * 16385
big[16382] = '"' # escapable byte near the buffer boundary
JSON.dump([big], io)
Verified results:
Ruby 4.0.5 / bundled json 2.18.0:
malloc(): invalid size (unsorted)
.../json/common.rb:956: [BUG] Aborted
ruby/ruby master c78418b7a0 / json 2.19.8 / ASan:
heap-buffer-overflow WRITE of size 16382
fbuffer_append_reserved ext/json/fbuffer/fbuffer.h:145
search_flush ext/json/generator/generator.c:139
convert_UTF8_to_JSON ext/json/generator/generator.c:231
raw_generate_json_string ext/json/generator/generator.c:922
cState_m_generate ext/json/generator/generator.c:1891
Control: the same data through JSON.dump([big]) without an IO argument returns
normally. The bug is specific to the IO-streaming path.
Impact
A remote attacker can trigger a heap out-of-bounds write if they control a
string field that an application serializes through JSON.dump(obj, io) or
JSON::State#generate(obj, io). The demonstrated impact is reliable denial of
service. I am not claiming code execution or information disclosure.
- Record
GHSA-x2f5-4prf-w687- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-122, CWE-131, CWE-787
- Updated
- 2026-11-02
OSVRHSA-2026:47932
3.7
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
- Record
RHSA-2026:47932- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVRHSA-2026:48482
3.7
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:48482- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-54696
3.7
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.
- Record
UBUNTU-CVE-2026-54696- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jsonRubyGems |
2.9.0 up to 2.19.9 | 2.19.9 |
ruby-jsonDebian:13 |
All versions, plus listed versions 2.15.2+dfsg-12.18.1+dfsg-12.19.1+dfsg-12.19.2+dfsg-12.19.4+dfsg-1 Show 6 moreShow less2.19.9+dfsg-12.21.1+dfsg-12.21.2+dfsg-12.9.1+dfsg-13.0.2+dfsg-13.1.0+dfsg-1 |
None known |
ruby-jsonDebian:14 |
before 2.19.9+dfsg-1, plus listed versions 2.15.2+dfsg-12.18.1+dfsg-12.19.1+dfsg-12.19.2+dfsg-12.19.4+dfsg-12.9.1+dfsg-1 |
2.19.9+dfsg-1 |
jsonRubyGems |
2.9.0 up to 2.19.9, plus listed versions 2.10.02.10.12.10.22.11.02.11.1 Show 30 moreShow less2.11.22.11.32.12.02.12.12.12.22.13.02.13.12.13.22.14.02.14.12.15.02.15.12.15.22.15.2.12.16.02.17.02.17.12.17.1.22.18.02.18.12.19.02.19.12.19.22.19.32.19.42.19.52.19.62.19.72.19.82.9.1 |
2.19.9 |
ruby4.0Red Hat:hummingbird:1 |
before 0:4.0.6-37.1.hum1 | 0:4.0.6-37.1.hum1 |
ruby4.0-bundled-gemsRed Hat:hummingbird:1 |
before 0:4.0.6-37.1.hum1 | 0:4.0.6-37.1.hum1 |
ruby4.0-default-gemsRed Hat:hummingbird:1 |
before 0:4.0.6-37.1.hum1 | 0:4.0.6-37.1.hum1 |
ruby4.0-develRed Hat:hummingbird:1 |
before 0:4.0.6-37.1.hum1 | 0:4.0.6-37.1.hum1 |
ruby4.0-docRed Hat:hummingbird:1 |
before 0:4.0.6-37.1.hum1 | 0:4.0.6-37.1.hum1 |
ruby4.0-libsRed Hat:hummingbird:1 |
before 0:4.0.6-37.1.hum1 | 0:4.0.6-37.1.hum1 |
Show 49 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rubygem4.0-bigdecimalRed Hat:hummingbird:1 |
before 0:4.0.1-37.1.hum1 | 0:4.0.1-37.1.hum1 |
rubygem4.0-bundlerRed Hat:hummingbird:1 |
before 0:4.0.16-37.1.hum1 | 0:4.0.16-37.1.hum1 |
rubygem4.0-develRed Hat:hummingbird:1 |
before 0:4.0.16-37.1.hum1 | 0:4.0.16-37.1.hum1 |
rubygem4.0-io-consoleRed Hat:hummingbird:1 |
before 0:0.8.2-37.1.hum1 | 0:0.8.2-37.1.hum1 |
rubygem4.0-irbRed Hat:hummingbird:1 |
before 0:1.16.0-37.1.hum1 | 0:1.16.0-37.1.hum1 |
rubygem4.0-jsonRed Hat:hummingbird:1 |
before 0:2.18.0-37.1.hum1 | 0:2.18.0-37.1.hum1 |
rubygem4.0-minitestRed Hat:hummingbird:1 |
before 0:6.0.0-37.1.hum1 | 0:6.0.0-37.1.hum1 |
rubygem4.0-power_assertRed Hat:hummingbird:1 |
before 0:3.0.1-37.1.hum1 | 0:3.0.1-37.1.hum1 |
rubygem4.0-psychRed Hat:hummingbird:1 |
before 0:5.3.1-37.1.hum1 | 0:5.3.1-37.1.hum1 |
rubygem4.0-raccRed Hat:hummingbird:1 |
before 0:1.8.1-37.1.hum1 | 0:1.8.1-37.1.hum1 |
rubygem4.0-rakeRed Hat:hummingbird:1 |
before 0:13.3.1-37.1.hum1 | 0:13.3.1-37.1.hum1 |
rubygem4.0-rbsRed Hat:hummingbird:1 |
before 0:3.10.0-37.1.hum1 | 0:3.10.0-37.1.hum1 |
rubygem4.0-rdocRed Hat:hummingbird:1 |
before 0:7.0.4-37.1.hum1 | 0:7.0.4-37.1.hum1 |
rubygem4.0-rexmlRed Hat:hummingbird:1 |
before 0:3.4.4-37.1.hum1 | 0:3.4.4-37.1.hum1 |
rubygem4.0-rssRed Hat:hummingbird:1 |
before 0:0.3.2-37.1.hum1 | 0:0.3.2-37.1.hum1 |
rubygem4.0-rubygemsRed Hat:hummingbird:1 |
before 0:4.0.16-37.1.hum1 | 0:4.0.16-37.1.hum1 |
rubygem4.0-test-unitRed Hat:hummingbird:1 |
before 0:3.7.5-37.1.hum1 | 0:3.7.5-37.1.hum1 |
rubygem4.0-typeprofRed Hat:hummingbird:1 |
before 0:0.31.1-37.1.hum1 | 0:0.31.1-37.1.hum1 |
ruby3.4Red Hat:hummingbird:1 |
before 0:3.4.10-31.5.hum1 | 0:3.4.10-31.5.hum1 |
ruby3.4-bundled-gemsRed Hat:hummingbird:1 |
before 0:3.4.10-31.5.hum1 | 0:3.4.10-31.5.hum1 |
ruby3.4-default-gemsRed Hat:hummingbird:1 |
before 0:3.4.10-31.5.hum1 | 0:3.4.10-31.5.hum1 |
ruby3.4-develRed Hat:hummingbird:1 |
before 0:3.4.10-31.5.hum1 | 0:3.4.10-31.5.hum1 |
ruby3.4-docRed Hat:hummingbird:1 |
before 0:3.4.10-31.5.hum1 | 0:3.4.10-31.5.hum1 |
ruby3.4-libsRed Hat:hummingbird:1 |
before 0:3.4.10-31.5.hum1 | 0:3.4.10-31.5.hum1 |
jrubyUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 1.5.6-5ubuntu11.5.6-61.5.6-71.5.6-9+deb8u2build0.14.04.1~esm2 |
None known |
ruby-jsonUbuntu:14.04:LTS |
All versions, plus listed versions 1.8.0-11.8.0-1build1 |
None known |
ruby2.3Ubuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.3.0-12.3.0-22.3.0-4ubuntu22.3.0-4ubuntu32.3.0-5ubuntu1 Show 28 moreShow less2.3.1-2~16.042.3.1-2~16.04.22.3.1-2~16.04.42.3.1-2~16.04.52.3.1-2~16.04.62.3.1-2~16.04.72.3.1-2~16.04.92.3.1-2~16.04.102.3.1-2~16.04.112.3.1-2~16.04.122.3.1-2~ubuntu16.04.132.3.1-2~ubuntu16.04.142.3.1-2~ubuntu16.04.152.3.1-2~ubuntu16.04.162.3.1-2~ubuntu16.04.16+esm12.3.1-2~ubuntu16.04.16+esm22.3.1-2~ubuntu16.04.16+esm32.3.1-2~ubuntu16.04.16+esm42.3.1-2~ubuntu16.04.16+esm52.3.1-2~ubuntu16.04.16+esm62.3.1-2~ubuntu16.04.16+esm72.3.1-2~ubuntu16.04.16+esm82.3.1-2~ubuntu16.04.16+esm92.3.1-2~ubuntu16.04.16+esm102.3.1-2~ubuntu16.04.16+esm112.3.1-2~ubuntu16.04.16+esm122.3.1-2~ubuntu16.04.16+esm142.3.1-2~ubuntu16.04.16+esm15 |
None known |
jrubyUbuntu:16.04:LTS |
All versions, plus listed versions 1.7.21-2ubuntu41.7.22-1ubuntu1 |
None known |
ruby-jsonUbuntu:16.04:LTS |
All versions, plus listed versions 1.8.3-1build11.8.3-1build21.8.3-1build4 |
None known |
ruby2.5Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.5.0~preview1-1ubuntu22.5.0-4ubuntu12.5.0-4ubuntu42.5.0-5ubuntu12.5.0-6ubuntu1 Show 23 moreShow less2.5.1-1ubuntu12.5.1-1ubuntu1.12.5.1-1ubuntu1.22.5.1-1ubuntu1.42.5.1-1ubuntu1.52.5.1-1ubuntu1.62.5.1-1ubuntu1.72.5.1-1ubuntu1.82.5.1-1ubuntu1.92.5.1-1ubuntu1.102.5.1-1ubuntu1.112.5.1-1ubuntu1.122.5.1-1ubuntu1.132.5.1-1ubuntu1.142.5.1-1ubuntu1.152.5.1-1ubuntu1.162.5.1-1ubuntu1.16+esm12.5.1-1ubuntu1.16+esm32.5.1-1ubuntu1.16+esm42.5.1-1ubuntu1.16+esm52.5.1-1ubuntu1.16+esm62.5.1-1ubuntu1.16+esm72.5.1-1ubuntu1.16+esm8 |
None known |
jrubyUbuntu:18.04:LTS |
All versions, plus listed versions 9.1.13.0-19.1.17.0-1~18.04 |
None known |
ruby-jsonUbuntu:18.04:LTS |
All versions, plus listed versions 2.1.0+dfsg-12.1.0+dfsg-1ubuntu22.1.0+dfsg-1ubuntu32.1.0+dfsg-2 |
None known |
ruby2.7Ubuntu:Pro:20.04:LTS |
All versions, plus listed versions 2.7.0-12.7.0-22.7.0-32.7.0-42.7.0-4ubuntu1 Show 23 moreShow less2.7.0-5ubuntu12.7.0-5ubuntu1.12.7.0-5ubuntu1.22.7.0-5ubuntu1.32.7.0-5ubuntu1.42.7.0-5ubuntu1.52.7.0-5ubuntu1.62.7.0-5ubuntu1.72.7.0-5ubuntu1.82.7.0-5ubuntu1.92.7.0-5ubuntu1.102.7.0-5ubuntu1.112.7.0-5ubuntu1.122.7.0-5ubuntu1.132.7.0-5ubuntu1.142.7.0-5ubuntu1.152.7.0-5ubuntu1.162.7.0-5ubuntu1.172.7.0-5ubuntu1.182.7.0-5ubuntu1.18+esm12.7.0-5ubuntu1.18+esm32.7.0-5ubuntu1.18+esm42.7.0-5ubuntu1.18+esm5 |
None known |
jrubyUbuntu:20.04:LTS |
All versions, plus listed versions 9.1.17.0-39.1.17.0-3build59.1.17.0-3build6 |
None known |
ruby-jsonUbuntu:20.04:LTS |
All versions, plus listed versions 2.1.0+dfsg-22.3.0+dfsg-12.3.0+dfsg-1build1 |
None known |
ruby-jsonUbuntu:22.04:LTS |
All versions, plus listed versions 2.3.0+dfsg-1build12.5.1+dfsg-22.5.1+dfsg-2build1 |
None known |
ruby3.0Ubuntu:22.04:LTS |
All versions, plus listed versions 3.0.2-5ubuntu13.0.2-73.0.2-7ubuntu23.0.2-7ubuntu2.13.0.2-7ubuntu2.2 Show 10 moreShow less3.0.2-7ubuntu2.33.0.2-7ubuntu2.43.0.2-7ubuntu2.53.0.2-7ubuntu2.63.0.2-7ubuntu2.73.0.2-7ubuntu2.83.0.2-7ubuntu2.103.0.2-7ubuntu2.113.0.2-7ubuntu2.123.0.2-7ubuntu2.13 |
None known |
jrubyUbuntu:24.04:LTS |
All versions, plus listed versions 9.3.9.0+ds-19.4.5.0+ds-19.4.5.0+ds-1ubuntu19.4.6.0+ds-1ubuntu3 |
None known |
ruby-jsonUbuntu:24.04:LTS |
All versions, plus listed versions 2.6.3+dfsg-1build22.6.3+dfsg-1build32.6.3+dfsg-1build4 |
None known |
ruby3.2Ubuntu:24.04:LTS |
All versions, plus listed versions 3.2.3-13.2.3-1build23.2.3-1build33.2.3-1ubuntu0.24.04.13.2.3-1ubuntu0.24.04.3 Show 4 moreShow less3.2.3-1ubuntu0.24.04.53.2.3-1ubuntu0.24.04.63.2.3-1ubuntu0.24.04.73.2.3-1ubuntu0.24.04.8 |
None known |
jrubyUbuntu:25.10 |
All versions, plus listed versions 9.4.8.0+ds-2ubuntu19.4.8.0+ds-3ubuntu1 |
None known |
ruby-jsonUbuntu:25.10 |
All versions, plus listed versions 2.9.1+dfsg-1 |
None known |
ruby3.3Ubuntu:25.10 |
All versions, plus listed versions 3.3.7-1ubuntu23.3.8-2ubuntu13.3.8-2ubuntu23.3.8-2ubuntu2.1 |
None known |
jrubyUbuntu:26.10 |
All versions, plus listed versions 9.4.8.0+ds-3ubuntu19.4.14.0+ds-1 |
None known |
ruby-jsonUbuntu:26.10 |
All versions, plus listed versions 2.18.1+dfsg-12.21.1+dfsg-12.21.2+dfsg-1 |
None known |
ruby3.3Ubuntu:26.10 |
All versions, plus listed versions 3.3.8-2ubuntu33.3.8-2.2ubuntu4 |
None known |
jrubyUbuntu:26.04:LTS |
All versions, plus listed versions 9.4.8.0+ds-3ubuntu1 |
None known |
ruby-jsonUbuntu:26.04:LTS |
All versions, plus listed versions 2.9.1+dfsg-12.15.2+dfsg-12.18.1+dfsg-1 |
None known |
ruby3.3Ubuntu:26.04:LTS |
All versions, plus listed versions 3.3.8-2ubuntu23.3.8-2ubuntu33.3.8-2ubuntu3.1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-54696 is a low vulnerability (CVSS 3.7) in Ruby Json, published June 30, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in json 2.19.9.
References
github.com/ruby/json/security/advisories/GHSA-x2f5-4prf-w687
github.com/ruby/json/releases/tag/v2.19.9
nvd.nist.gov/vuln/detail/CVE-2026-54696
github.com/ruby/json/commit/996bac686d64e4e3aaeae03b14a7f9ee9695ebdb
github.com/rubysec/ruby-advisory-db/blob/master/gems/json/CVE-2026-54696.yml
github.com/advisories/GHSA-x2f5-4prf-w687
Show 13 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54696.json
security-tracker.debian.org/tracker/CVE-2026-54696
github.com/ruby/json
access.redhat.com/errata/RHSA-2026:47932
access.redhat.com/security/cve/CVE-2026-54696
access.redhat.com/security/updates/classification
images.redhat.com
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_47932.json
bugzilla.redhat.com/show_bug.cgi?id=2495409
cve.org/CVERecord?id=CVE-2026-54696
access.redhat.com/errata/RHSA-2026:48482
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_48482.json
ubuntu.com/security/CVE-2026-54696