Advisory

RLSA-2026:50827

Also known as: CVE-2026-27820, CVE-2026-42256, CVE-2026-42257, CVE-2026-47240, CVE-2026-47241, CVE-2026-47242

Summary

Important: ruby:4.0 security, bug fix, and enhancement update

Details

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.

Security Fix(es):

  • zlib: zlib: Memory corruption via buffer overflow in Zlib::GzipReader (CVE-2026-27820)
  • net-imap: Net::IMAP: Arbitrary IMAP command injection via CRLF sequences in unvalidated input (CVE-2026-42257)
  • ruby/net-imap: ruby: Net::IMAP: Denial of Service via large iteration count in SCRAM authentication (CVE-2026-42256)
  • net-imap: Net::IMAP: Command injection via non-synchronizing literals (CVE-2026-47240)
  • net-imap: Net::IMAP: Arbitrary IMAP command injection due to improper input validation (CVE-2026-47242)
  • net-imap: rubygem-net-imap: Net::IMAP: Denial of Service via malformed command input (CVE-2026-47241)

Bug Fix(es) and Enhancement(s):

  • ruby:4.0/ruby: Rebase to the latest Ruby 4.0 release [rhel-9.8.z] (JIRA:Rocky Linux-211301)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Dates

Published
2026-08-27 00:04 UTC
Modified
2026-08-27 00:30 UTC

Affected packages and fixes

ruby

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:4.0.6-34.module+el9.8.0+40271+b5850c84 (ecosystem)

Fixed versions

0:4.0.6-34.module+el9.8.0+40271+b5850c84

Fix

  • Fixed version 0:4.0.6-34.module+el9.8.0+40271+b5850c84
    sudo dnf upgrade ruby-0:4.0.6-34.module+el9.8.0+40271+b5850c84

rubygem-mysql2

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:0.5.7-1.module+el9.8.0+40094+ce01217c (ecosystem)

Fixed versions

0:0.5.7-1.module+el9.8.0+40094+ce01217c

Fix

  • Fixed version 0:0.5.7-1.module+el9.8.0+40094+ce01217c
    sudo dnf upgrade rubygem-mysql2-0:0.5.7-1.module+el9.8.0+40094+ce01217c

rubygem-pg

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:1.6.3-1.module+el9.8.0+40094+ce01217c (ecosystem)

Fixed versions

0:1.6.3-1.module+el9.8.0+40094+ce01217c

Fix

  • Fixed version 0:1.6.3-1.module+el9.8.0+40094+ce01217c
    sudo dnf upgrade rubygem-pg-0:1.6.3-1.module+el9.8.0+40094+ce01217c

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo) · CC BY 4.0

This record names its own licence, CC BY 4.0.

Sources & licences