Home / mailingsPDF  

[USN-9176-2] Ruby vulnerabilities

Posted on 23 November 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9176-2
November 20, 2026

ruby2.7, ruby2.5, ruby2.3 vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

Several security issues were fixed in Ruby.

Software Description:
- ruby2.7: Object-oriented scripting language
- ruby2.5: Object-oriented scripting language
- ruby2.3: Object-oriented scripting language

Details:

USN-9176-1 fixed vulnerabilities in Ruby. This update provides the
corresponding updates for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu
20.04 LTS.

Original advisory details:

Stephan Lipp discovered that Ruby incorrectly handled converting the case
of certain strings. An attacker could possibly use this issue to cause a
denial of service or execute arbitrary code. (GHSA-34m4-m9fh-gqp5)

Owais Lone discovered that Ruby incorrectly handled compiling certain
large regular expressions. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (GHSA-3p8q-wmhx-vm2w)

Stephan Lipp discovered that Ruby incorrectly handled converting certain
regular expressions to strings. An attacker could possibly use this issue
to cause a denial of service or execute arbitrary code. (GHSA-7whj-
cfh7-xgm4)

Stephan Lipp discovered that Ruby incorrectly handled memory when parsing
certain regular expressions. An attacker could possibly use this issue to
cause a denial of service or execute arbitrary code. (GHSA-7x2q-68qv-6p8x)

It was discovered that Ruby incorrectly handled converting the case of
certain large strings. An attacker could possibly use this issue to cause
a denial of service or execute arbitrary code. (GHSA-87fm-7w84-j2px)

It was discovered that Ruby incorrectly handled certain case-insensitive
regular expressions. An attacker could possibly use this issue to cause a
denial of service or obtain sensitive information. (GHSA-pvgc-g7gj-pv6h)

Stephan Lipp discovered that Ruby incorrectly handled certain case-
insensitive regular expressions. An attacker could possibly use this issue
to cause a denial of service or obtain sensitive information. (GHSA-
wpqw-5qxg-m68r)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 20.04 LTS
libruby2.7 2.7.0-5ubuntu1.18+esm6
Available with Ubuntu Pro
ruby2.7 2.7.0-5ubuntu1.18+esm6
Available with Ubuntu Pro
ruby2.7-dev 2.7.0-5ubuntu1.18+esm6
Available with Ubuntu Pro

Ubuntu 18.04 LTS
libruby2.5 2.5.1-1ubuntu1.16+esm9
Available with Ubuntu Pro
ruby2.5 2.5.1-1ubuntu1.16+esm9
Available with Ubuntu Pro
ruby2.5-dev 2.5.1-1ubuntu1.16+esm9
Available with Ubuntu Pro

Ubuntu 16.04 LTS
libruby2.3 2.3.1-2~ubuntu16.04.16+esm16
Available with Ubuntu Pro
ruby2.3 2.3.1-2~ubuntu16.04.16+esm16
Available with Ubuntu Pro
ruby2.3-dev 2.3.1-2~ubuntu16.04.16+esm16
Available with Ubuntu Pro
ruby2.3-tcltk 2.3.1-2~ubuntu16.04.16+esm16
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-9176-2
https://ubuntu.com/security/notices/USN-9176-1
https://launchpad.net/bugs/2175016
https://launchpad.net/bugs/2175019
https://launchpad.net/bugs/2175020
https://launchpad.net/bugs/2175021
https://launchpad.net/bugs/2175022
https://launchpad.net/bugs/2175023
https://launchpad.net/bugs/2175024

--===============7129011853508270940==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP