{"answers":{"affected":"2 open source packages ship an affected version, including json.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54696 exists.","fix":"Upgrade json to 2.19.9 or later.","what":"CVE-2026-54696 is a low-severity memory corruption vulnerability in ruby json, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54696 and fix it if it is affected.\n\nWhat it is: CVE-2026-54696 is a low-severity memory corruption vulnerability in ruby json, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54696 exists.\n\nAffected packages and fixed versions:\n- json (RubyGems): affected from 2.9.0; fixed in 2.19.9\n- json (RubyGems): affected from 2.9.0; fixed in 2.19.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54696/ (Markdown: https://insights.sbomify.com/CVE-2026-54696/index.md)","id":"CVE-2026-54696","markdown":"https://insights.sbomify.com/CVE-2026-54696/index.md","name":"CVE-2026-54696","record":{"aliases":["CLEANSTART-2026-DL54302","CLEANSTART-2026-EH26005","CLEANSTART-2026-KE67009","DEBIAN-CVE-2026-54696","GHSA-x2f5-4prf-w687","MINI-2779-v898-xxgx","MINI-2pv6-pvhh-732x","MINI-3v6j-8q79-7c7h","MINI-3vf2-h575-2fcc","MINI-49gg-5x9c-5gj4","MINI-4v2j-7r2p-9v78","MINI-564p-27hg-68jm","MINI-566q-rprq-wjcr","MINI-6vxm-v255-w2g3","MINI-74wv-4mrr-vg3w","MINI-76c4-g56m-cpw9","MINI-79v7-xg93-8833","MINI-94h7-9wqf-gv82","MINI-974v-h9qc-mq7c","MINI-f8v4-r2xp-3q5p","MINI-fwc6-2785-6jp2","MINI-gfg2-cq5g-gxc6","MINI-hg8r-45jg-wc8q","MINI-hvq7-ppvc-5vw5","MINI-jp26-pf44-865r","MINI-p236-qjc5-rq8v","MINI-p8gr-g858-f73v","MINI-qgpf-mxcq-6mj3","MINI-qwcw-g887-mh4g","MINI-r2pg-wwf6-h2px","MINI-rxxq-4wf3-vjm7","MINI-xg75-jm3g-vr83","RHSA-2026:47932","RHSA-2026:48482","UBUNTU-CVE-2026-54696"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby JSON library","requires_auth":"none","summary":"An attacker can cause a denial of service via heap buffer overflow in the Ruby JSON library when streaming oversized objects to an IO.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"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\nattacker-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.","ecosystems":["Red Hat:hummingbird:1","RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Ruby JSON: JSON generator heap buffer overflow when streaming to an IO","id":"CVE-2026-54696","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":32,"n_references":2,"next":{"headline":"ConnectBot SSH: Excessive allocation and integer overflow in DER private-key parsing","id":"CVE-2026-54697"},"packages":[{"ecosystem":"RubyGems","fixed":["2.19.9"],"introduced":["2.9.0"],"last_affected":[],"package":"json","purl":null,"source":"GHSA-x2f5-4prf-w687"},{"ecosystem":"RubyGems","fixed":["2.19.9"],"introduced":["2.9.0"],"last_affected":[],"package":"json","purl":"pkg:gem/json","source":"GHSA-x2f5-4prf-w687"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.4.10-31.5.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby3.4","purl":"pkg:rpm/redhat/ruby3.4","source":"RHSA-2026:48482"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.4.10-31.5.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby3.4-bundled-gems","purl":"pkg:rpm/redhat/ruby3.4-bundled-gems","source":"RHSA-2026:48482"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.4.10-31.5.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby3.4-default-gems","purl":"pkg:rpm/redhat/ruby3.4-default-gems","source":"RHSA-2026:48482"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.4.10-31.5.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby3.4-devel","purl":"pkg:rpm/redhat/ruby3.4-devel","source":"RHSA-2026:48482"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.4.10-31.5.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby3.4-doc","purl":"pkg:rpm/redhat/ruby3.4-doc","source":"RHSA-2026:48482"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.4.10-31.5.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby3.4-libs","purl":"pkg:rpm/redhat/ruby3.4-libs","source":"RHSA-2026:48482"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.6-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby4.0","purl":"pkg:rpm/redhat/ruby4.0","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.6-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby4.0-bundled-gems","purl":"pkg:rpm/redhat/ruby4.0-bundled-gems","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.6-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby4.0-default-gems","purl":"pkg:rpm/redhat/ruby4.0-default-gems","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.6-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby4.0-devel","purl":"pkg:rpm/redhat/ruby4.0-devel","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.6-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby4.0-doc","purl":"pkg:rpm/redhat/ruby4.0-doc","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.6-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"ruby4.0-libs","purl":"pkg:rpm/redhat/ruby4.0-libs","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.1-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-bigdecimal","purl":"pkg:rpm/redhat/rubygem4.0-bigdecimal","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.16-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-bundler","purl":"pkg:rpm/redhat/rubygem4.0-bundler","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.16-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-devel","purl":"pkg:rpm/redhat/rubygem4.0-devel","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:0.8.2-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-io-console","purl":"pkg:rpm/redhat/rubygem4.0-io-console","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.16.0-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-irb","purl":"pkg:rpm/redhat/rubygem4.0-irb","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.18.0-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-json","purl":"pkg:rpm/redhat/rubygem4.0-json","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:6.0.0-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-minitest","purl":"pkg:rpm/redhat/rubygem4.0-minitest","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.0.1-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-power_assert","purl":"pkg:rpm/redhat/rubygem4.0-power_assert","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:5.3.1-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-psych","purl":"pkg:rpm/redhat/rubygem4.0-psych","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.8.1-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-racc","purl":"pkg:rpm/redhat/rubygem4.0-racc","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:13.3.1-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-rake","purl":"pkg:rpm/redhat/rubygem4.0-rake","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.10.0-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-rbs","purl":"pkg:rpm/redhat/rubygem4.0-rbs","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:7.0.4-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-rdoc","purl":"pkg:rpm/redhat/rubygem4.0-rdoc","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.4.4-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-rexml","purl":"pkg:rpm/redhat/rubygem4.0-rexml","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:0.3.2-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-rss","purl":"pkg:rpm/redhat/rubygem4.0-rss","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:4.0.16-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-rubygems","purl":"pkg:rpm/redhat/rubygem4.0-rubygems","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.7.5-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-test-unit","purl":"pkg:rpm/redhat/rubygem4.0-test-unit","source":"RHSA-2026:47932"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:0.31.1-37.1.hum1"],"introduced":["0"],"last_affected":[],"package":"rubygem4.0-typeprof","purl":"pkg:rpm/redhat/rubygem4.0-typeprof","source":"RHSA-2026:47932"}],"prev":{"headline":"Pipecat: Telephony WebSocket `/ws` Unauthenticated Call-Control Abuse via Attacker-Supplied Call SID","id":"CVE-2026-54695"},"products":["json"],"published":"2026-06-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-01","vendors":["ruby"]},"summary":"An attacker can cause a denial of service via heap buffer overflow in the Ruby JSON library when streaming oversized objects to an IO.","url":"https://insights.sbomify.com/CVE-2026-54696/"}