Memory Leak Affecting ruby4.0-rails-8.1 package, versions <8.1.3-r4


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.42% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-RUBY40RAILS81-19520289
  • published4 Sept 2026
  • disclosed25 Aug 2026

Introduced: 25 Aug 2026

CVE-2026-79771  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Chainguard ruby4.0-rails-8.1 to version 8.1.3-r4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby4.0-rails-8.1 package and not the ruby4.0-rails-8.1 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Nokogiri versions before 1.19.3 contain a memory leak in the XSLT Stylesheet transform method when processing Ruby strings containing null bytes. Attackers can exploit this by passing attacker-controlled input with null bytes to transform parameters, causing heap allocations to leak and enabling denial of service against long-running processes.

CVSS Base Scores

version 3.1