CVE-2026-57236
nokogiri nokogiri
Patch priority
RegularFix with the next regular update.
- CVSS
- 8.2
- Severity
- 8.2
- EPSS
- 0.3 %
- Percentile
- 30
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run nokogiri nokogiri. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDNokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, calling Document#encoding= with an invalid encoding (e.g., a non-string, or a string containing a null byte) raises an exception, but only after freeing the document's current encoding string without replacing it. The document is left referencing freed memory, so the next call to Document#encoding reads invalid memory, which can cause a segfault or leak freed bytes into a Ruby String. Affects the CRuby (libxml2) implementation only; JRuby is not affected. This vulnerability is fixed in 1.19.4.
- Vendor / product
- nokogiri nokogiri
- Published
- 25.06.2026
- Modified
- 26.10.2026
- CWE
- CWE-416
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Vendor updates
6- Ubuntu: USN-9363-1 – Nokogiri vulnerabilities 01.12.2026 · HIGH · Patch day
- Red Hat: RHSA-2026:50263 – RHSA-2026:50263 python3.12-pillow security update 04.08.2026 · Patch day
- Red Hat: RHSA-2026:50223 – RHSA-2026:50223 rubygem-nokogiri security update 04.08.2026 · Patch day
- Red Hat: RHSA-2026:50222 – RHSA-2026:50222 rubygem-nokogiri security update 04.08.2026 · Patch day
- Red Hat: RHSA-2026:50221 – RHSA-2026:50221 python3.12-pillow security update 04.08.2026 · Patch day
- Microsoft: Mariner 27.06.2026 · High · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.