Skip to content
pkgseek
Back to CVE search

CVE-2026-57236

high · 8.2

Nokogiri 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.

First indexed 6/25/2026View on NVD

Advisory Facts

Markdown

CVE-2026-57236 is rated HIGH (8.2), with 1 indexed affected package builds across 1 distributions.

Severity / Score
HIGH (8.2)
Affected builds
1
Affected distros
1
Distros with fixed_in
None recorded in sample
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2026-57236?locale=en

Distribution-aware status

1
Distributions
1
Package/release records
1
Vendor advisories
0
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

1 affected package/release combinations

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.