USN-9176-2: Ruby vulnerabilities

Published Nov 20, 2026
·
Updated

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)

Affected Software

20 affected componentsFixes available
All of the following
ubuntu/libruby2.7<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/ruby2.7<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/ruby2.7-dev<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libruby2.5<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/ruby2.5<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/ruby2.5-dev<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libruby2.3<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/ruby2.3<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/ruby2.3-dev<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/ruby2.3-tcltk<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libruby2.7 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/ruby2.7 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade ubuntu/ruby2.7-dev to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  4. Upgrade

    Upgrade ubuntu/libruby2.5 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  5. Upgrade

    Upgrade ubuntu/ruby2.5 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  6. Upgrade

    Upgrade ubuntu/ruby2.5-dev to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  7. Upgrade

    Upgrade ubuntu/libruby2.3 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  8. Upgrade

    Upgrade ubuntu/ruby2.3 to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  9. Upgrade

    Upgrade ubuntu/ruby2.3-dev to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  10. Upgrade

    Upgrade ubuntu/ruby2.3-tcltk to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch USN-9176-1
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch USN-9176-2

Event History

Nov 20, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which Ubuntu releases are covered by this update?

The update provides corresponding Ruby fixes for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.

2

What impact could successful exploitation have?

The described issues could allow an attacker to cause a denial of service or execute arbitrary code.

3

What kinds of Ruby inputs are implicated?

The issues involve case conversion of certain strings, compilation of large regular expressions, conversion of certain regular expressions to strings, and memory handling while parsing certain regular expressions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203