CVE-2026-79769 Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args
HighCVSS 8.7
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
Description
Nokogiri versions before 1.19.4 contain a possible invalid (out-of-bounds) memory read in the protected internal Node#initialize_copy_with_args helper behind Node#dup and #clone, which unwrapped its source argument as an xmlNode without a type check. If application code calls this protected method with a non-Node argument (e.g., a Namespace), it reads an xmlNs out of bounds, crashing the process. This is only triggerable by a programming error and cannot be triggered by untrusted input or normal use of the public API. Only CRuby is affected. Version 1.19.4 adds a type check and raises TypeError.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems nokogiri | < 1.19.4 | 1.19.4 |
| redhat/3scale-amp2/backend-rhel8(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/system-rhel8(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/system-rhel9(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/toolbox-rhel9(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/3scale-amp2/zync-rhel9(Red Hat:3scale:2.13) | All versions | No fix listed |
| redhat/rubygem-nokogiri(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/tfm-rubygem-amazing_print(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/tfm-rubygem-graphql(Red Hat:satellite:6) | All versions | No fix listed |
| debian/ruby-nokogiri(Debian:13) | All versions | No fix listed |
| debian/ruby-nokogiri(Debian:13) | = 1.18.10+dfsg-1 | No fix listed |
| debian/ruby-nokogiri(Debian:13) | = 1.18.10+dfsg-2 | No fix listed |
| debian/ruby-nokogiri(Debian:13) | = 1.18.10+dfsg-3 | No fix listed |
| debian/ruby-nokogiri(Debian:13) | = 1.18.2+dfsg-1 | No fix listed |
| debian/ruby-nokogiri(Debian:13) | = 1.19.1+dfsg-1 | No fix listed |
| debian/ruby-nokogiri(Debian:13) | = 1.19.3+dfsg-1 | No fix listed |
| debian/ruby-nokogiri(Debian:13) | = 1.19.4+dfsg-1 | No fix listed |
| debian/ruby-nokogiri(Debian:14) | < 1.19.4+dfsg-1 | 1.19.4+dfsg-1 |
| debian/ruby-nokogiri(Debian:14) | = 1.18.10+dfsg-1 | No fix listed |
| debian/ruby-nokogiri(Debian:14) | = 1.18.10+dfsg-2 | No fix listed |
| debian/ruby-nokogiri(Debian:14) | = 1.18.10+dfsg-3 | No fix listed |
| debian/ruby-nokogiri(Debian:14) | = 1.18.2+dfsg-1 | No fix listed |
| debian/ruby-nokogiri(Debian:14) | = 1.19.1+dfsg-1 | No fix listed |
| debian/ruby-nokogiri(Debian:14) | = 1.19.3+dfsg-1 | No fix listed |
| ubuntu/ruby-nokogiri(Ubuntu:22.04) | All versions | No fix listed |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/ruby-nokogiri(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby-nokogiri(Ubuntu:26.04) | All versions | No fix listed |
References
- GitHub Security Advisory (GHSA-g9g8-vgvw-g3vf) vendor-advisory
- VulnCheck Advisory: Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args third-party-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2523563 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-79769 vendor-advisory
- Ubuntu CVE tracker vendor-advisory