OESA-2026-3537

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3537
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3537.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2026-3537
Upstream
Published
2026-08-30T04:15:27Z
Modified
2026-08-30T04:31:35Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ruby security update
Details

Ruby is a fast and easy interpreted scripting language for object-oriented programming. It has many functions for processing text Files and perform system management tasks (such as Perl).

Security Fix(es):

The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.

An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.

This resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.(CVE-2025-24294)

zlib is a Ruby interface for the zlib compression/decompression library. Versions 3.0.0 and below, 3.1.0, 3.1.1, 3.2.0 and 3.2.1 contain a buffer overflow vulnerability in the Zlib::GzipReader. The zstream_buffer_ungets function prepends caller-provided bytes ahead of previously produced output but fails to guarantee the backing Ruby string has enough capacity before the memmove shifts the existing data. This can lead to memory corruption when the buffer length exceeds capacity. This issue has been fixed in versions 3.0.1, 3.1.2 and 3.2.3.(CVE-2026-27820)

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a "raw data" argument that is sent verbatim after validation to prevent command injection. However, if a server does not support non-synchronizing literals, it may still be possible to inject arbitrary IMAP commands inside non-synchronizing literals. A server without support for non-synchronizing literals may interpret the "+}\r\n" as the end of a malformed command line and respond with a tagged BAD. In that case, the contents of the literal will be interpreted as one or more new pipelined commands, allowing a CRLF command injection attack to succeed. This affects criteria for #search and #uid_search; search_keys for #sort, #thread, #uid_sort, and #uid_thread; and attr for #fetch and #uid_fetch. This vulnerability is fixed in 0.6.5 and 0.5.15.(CVE-2026-47240)

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a raw string argument which is only validated to prevent CRLF injection and then sent verbatim. If this string is derived from user-controlled input, an attacker can force the next command to be absorbed as a continuation of the first command. This will cause the first command to eventually fail, but also prevents it from returning until another command is sent (from another thread). That other command will not return until the connection is closed. This vulnerability is fixed in 0.6.5 and 0.5.15.(CVE-2026-47241)

Database specific
{
    "severity": "Critical"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / ruby

Package

Name
ruby
Purl
pkg:rpm/openEuler/ruby&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.5.8-141.oe2003sp4

Ecosystem specific

{
    "aarch64": [
        "ruby-2.5.8-141.oe2003sp4.aarch64.rpm",
        "ruby-debuginfo-2.5.8-141.oe2003sp4.aarch64.rpm",
        "ruby-debugsource-2.5.8-141.oe2003sp4.aarch64.rpm",
        "ruby-devel-2.5.8-141.oe2003sp4.aarch64.rpm",
        "rubygem-bigdecimal-1.3.4-141.oe2003sp4.aarch64.rpm",
        "rubygem-io-console-0.4.6-141.oe2003sp4.aarch64.rpm",
        "rubygem-json-2.1.0-141.oe2003sp4.aarch64.rpm",
        "rubygem-openssl-2.1.2-141.oe2003sp4.aarch64.rpm",
        "rubygem-psych-3.0.2-141.oe2003sp4.aarch64.rpm"
    ],
    "noarch": [
        "ruby-help-2.5.8-141.oe2003sp4.noarch.rpm",
        "ruby-irb-2.5.8-141.oe2003sp4.noarch.rpm",
        "rubygem-did_you_mean-1.2.0-141.oe2003sp4.noarch.rpm",
        "rubygem-minitest-5.10.3-141.oe2003sp4.noarch.rpm",
        "rubygem-net-telnet-0.1.1-141.oe2003sp4.noarch.rpm",
        "rubygem-power_assert-1.1.1-141.oe2003sp4.noarch.rpm",
        "rubygem-rake-12.3.0-141.oe2003sp4.noarch.rpm",
        "rubygem-rdoc-6.0.1.1-141.oe2003sp4.noarch.rpm",
        "rubygem-test-unit-3.2.7-141.oe2003sp4.noarch.rpm",
        "rubygem-xmlrpc-0.3.0-141.oe2003sp4.noarch.rpm",
        "rubygems-2.7.6-141.oe2003sp4.noarch.rpm",
        "rubygems-devel-2.7.6-141.oe2003sp4.noarch.rpm"
    ],
    "src": [
        "ruby-2.5.8-141.oe2003sp4.src.rpm"
    ],
    "x86_64": [
        "ruby-2.5.8-141.oe2003sp4.x86_64.rpm",
        "ruby-debuginfo-2.5.8-141.oe2003sp4.x86_64.rpm",
        "ruby-debugsource-2.5.8-141.oe2003sp4.x86_64.rpm",
        "ruby-devel-2.5.8-141.oe2003sp4.x86_64.rpm",
        "rubygem-bigdecimal-1.3.4-141.oe2003sp4.x86_64.rpm",
        "rubygem-io-console-0.4.6-141.oe2003sp4.x86_64.rpm",
        "rubygem-json-2.1.0-141.oe2003sp4.x86_64.rpm",
        "rubygem-openssl-2.1.2-141.oe2003sp4.x86_64.rpm",
        "rubygem-psych-3.0.2-141.oe2003sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3537.json"