Home / mailingsPDF  

[gentoo-announce] [ GLSA 202609-03 ] Ruby: Remote code execution

Posted on 13 September 2026
Gentoo-announce

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202609-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: Ruby: Remote code execution
Date: September 12, 2026
Bugs: #979773
ID: 202609-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========
A vulnerability has been discovered in Ruby, possibly allowing remote
code execution.

Background
==========
Ruby is an interpreted scripting language for quick and easy object-
oriented programming.

Affected packages
=================
Package Vulnerable Unaffected
------------- ------------ -------------
dev-lang/ruby < 3.3.12:3.3 >= 3.3.12:3.3
< 3.4.10:3.4 >= 3.4.10:3.4
< 4.0.6:4.0 >= 4.0.6:4.0
dev-ruby/erb < 6.0.6 >= 6.0.6

Description
===========
A vulnerability has been discovered in Ruby. Please review the CVE
identifier referenced below for details.

Impact
======
Remote code execution is possible.

Workaround
==========
There is no known workaround at this time.

Resolution
==========
All Ruby 3.3 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-3.3.12:3.3"

All Ruby 3.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-3.4.10:3.4"

All Ruby 4.0 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-4.0.6:4.0"

All ERB users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-ruby/erb-6.0.6:6"

References
==========
[ 1 ] CVE-2026-41316
https://nvd.nist.gov/vuln/detail/CVE-2026-41316
[ 2 ] GHSA-q339-8rmv-2mhv

Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202609-03

Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======
Copyright 2026 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5
--===============1172993991890215911==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

 

TOP