Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
This update includes the following RPMs: ruby4.0: * ruby4.0-4.0.5-35.hum1 (aarch64, x86_64) * ruby4.0-bundled-gems-4.0.5-35.hum1 (aarch64, x86_64) * ruby4.0-default-gems-4.0.5-35.hum1 (noarch) * ruby4.0-devel-4.0.5-35.hum1 (aarch64, x86_64) * ruby4.0-doc-4.0.5-35.hum1 (noarch) * ruby4.0-libs-4.0.5-35.hum1 (aarch64, x86_64) * rubygem4.0-bigdecimal-4.0.1-35.hum1 (aarch64, x86_64) * rubygem4.0-bundler-4.0.10-35.hum1 (noarch) * rubygem4.0-devel-4.0.10-35.hum1 (noarch) * rubygem4.0-io-console-0.8.2-35.hum1 (aarch64, x86_64) * rubygem4.0-irb-1.16.0-35.hum1 (noarch) * rubygem4.0-json-2.18.0-35.hum1 (aarch64, x86_64) * rubygem4.0-minitest-6.0.0-35.hum1 (noarch) * rubygem4.0-power_assert-3.0.1-35.hum1 (noarch) * rubygem4.0-psych-5.3.1-35.hum1 (aarch64, x86_64) * rubygem4.0-racc-1.8.1-35.hum1 (aarch64, x86_64) * rubygem4.0-rake-13.3.1-35.hum1 (noarch) * rubygem4.0-rbs-3.10.0-35.hum1 (aarch64, x86_64) * rubygem4.0-rdoc-7.0.4-35.hum1 (noarch) * rubygem4.0-rexml-3.4.4-35.hum1 (noarch) * rubygem4.0-rss-0.3.2-35.hum1 (noarch) * rubygem4.0-rubygems-4.0.10-35.hum1 (noarch) * rubygem4.0-test-unit-3.7.5-35.hum1 (noarch) * rubygem4.0-typeprof-0.31.1-35.hum1 (noarch) * ruby4.0-4.0.5-35.hum1.src (src)
AI Analysis
Technical Summary
CVE-2026-42257 is an IMAP command injection vulnerability in the Ruby Net::IMAP library. Several client commands accept raw string arguments without validating or escaping carriage return and line feed (CRLF) sequences. If these arguments are derived from user-controlled input, an attacker can inject arbitrary IMAP commands by embedding CRLF sequences. Red Hat's impact is focused on Ruby-based products bundling the vulnerable net-imap gem, including RHEL Ruby module streams, OpenShift Serverless Ruby runtimes, and 3scale AMP components. The vulnerability is tracked under CWE-93 (Improper Neutralization of CRLF Sequences). Red Hat has issued updated ruby4.0 RPMs to fix this issue.
Potential Impact
The vulnerability allows an attacker to inject arbitrary IMAP commands if user-controlled input is passed to vulnerable Net::IMAP client commands without validation. This can lead to modification of application data and potentially disrupt IMAP client-server communication. Red Hat rates the severity as high. There are no known exploits in the wild. The impact is limited to affected Ruby-based products that use the vulnerable net-imap gem with externally influenced input.
Mitigation Recommendations
Red Hat has released updated ruby4.0 RPM packages (version 4.0.5-35.hum1) that fix this vulnerability. Users of affected Red Hat Hardened Images should apply these updates as soon as possible. The vendor advisory provides detailed instructions for applying the update. No additional mitigations are specified. Patch status is confirmed as fixed in the updated RPMs.
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Description
This update includes the following RPMs: ruby4.0: * ruby4.0-4.0.5-35.hum1 (aarch64, x86_64) * ruby4.0-bundled-gems-4.0.5-35.hum1 (aarch64, x86_64) * ruby4.0-default-gems-4.0.5-35.hum1 (noarch) * ruby4.0-devel-4.0.5-35.hum1 (aarch64, x86_64) * ruby4.0-doc-4.0.5-35.hum1 (noarch) * ruby4.0-libs-4.0.5-35.hum1 (aarch64, x86_64) * rubygem4.0-bigdecimal-4.0.1-35.hum1 (aarch64, x86_64) * rubygem4.0-bundler-4.0.10-35.hum1 (noarch) * rubygem4.0-devel-4.0.10-35.hum1 (noarch) * rubygem4.0-io-console-0.8.2-35.hum1 (aarch64, x86_64) * rubygem4.0-irb-1.16.0-35.hum1 (noarch) * rubygem4.0-json-2.18.0-35.hum1 (aarch64, x86_64) * rubygem4.0-minitest-6.0.0-35.hum1 (noarch) * rubygem4.0-power_assert-3.0.1-35.hum1 (noarch) * rubygem4.0-psych-5.3.1-35.hum1 (aarch64, x86_64) * rubygem4.0-racc-1.8.1-35.hum1 (aarch64, x86_64) * rubygem4.0-rake-13.3.1-35.hum1 (noarch) * rubygem4.0-rbs-3.10.0-35.hum1 (aarch64, x86_64) * rubygem4.0-rdoc-7.0.4-35.hum1 (noarch) * rubygem4.0-rexml-3.4.4-35.hum1 (noarch) * rubygem4.0-rss-0.3.2-35.hum1 (noarch) * rubygem4.0-rubygems-4.0.10-35.hum1 (noarch) * rubygem4.0-test-unit-3.7.5-35.hum1 (noarch) * rubygem4.0-typeprof-0.31.1-35.hum1 (noarch) * ruby4.0-4.0.5-35.hum1.src (src)
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-42257 is an IMAP command injection vulnerability in the Ruby Net::IMAP library. Several client commands accept raw string arguments without validating or escaping carriage return and line feed (CRLF) sequences. If these arguments are derived from user-controlled input, an attacker can inject arbitrary IMAP commands by embedding CRLF sequences. Red Hat's impact is focused on Ruby-based products bundling the vulnerable net-imap gem, including RHEL Ruby module streams, OpenShift Serverless Ruby runtimes, and 3scale AMP components. The vulnerability is tracked under CWE-93 (Improper Neutralization of CRLF Sequences). Red Hat has issued updated ruby4.0 RPMs to fix this issue.
Potential Impact
The vulnerability allows an attacker to inject arbitrary IMAP commands if user-controlled input is passed to vulnerable Net::IMAP client commands without validation. This can lead to modification of application data and potentially disrupt IMAP client-server communication. Red Hat rates the severity as high. There are no known exploits in the wild. The impact is limited to affected Ruby-based products that use the vulnerable net-imap gem with externally influenced input.
Mitigation Recommendations
Red Hat has released updated ruby4.0 RPM packages (version 4.0.5-35.hum1) that fix this vulnerability. Users of affected Red Hat Hardened Images should apply these updates as soon as possible. The vendor advisory provides detailed instructions for applying the update. No additional mitigations are specified. Patch status is confirmed as fixed in the updated RPMs.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:36978
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-42258"]
- State
- PUBLISHED
Threat ID: 6a54adf568715ace438f7141
Added to database: 07/13/2026, 09:20:53 UTC
Last enriched: 08/16/2026, 17:43:46 UTC
Last updated: 09/11/2026, 07:31:53 UTC
Views: 93
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.