CVE-2026-42257
ruby-lang net\
Patch priority
This weekHigh severity or noticeable probability of exploitation.
- CVSS
- 9.8
- Severity
- 9.8
- EPSS
- 0.4 %
- Percentile
- 39
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run ruby-lang net\. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Update within the next few days.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDNet::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.
- Vendor / product
- ruby-lang net\
- Published
- 09.05.2026
- Modified
- 24.07.2026
- CWE
- CWE-77
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor updates
12- Red Hat: RHSA-2026:50827 – RHSA-2026:50827 ruby-0:4.0.6-34.module+el9.8.0+24564+e55418dc.i686::ruby:4.0 security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:50828 – RHSA-2026:50828 ruby-0:3.3.12-8.module+el9.8.0+24568+2bbebe96.i686::ruby:3.3 security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:50778 – RHSA-2026:50778 ruby security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:50773 – RHSA-2026:50773 ruby4.0 security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:50728 – RHSA-2026:50728 ruby-0:3.3.12-8.module+el8.10.0+24567+c4e5368e.i686::ruby:3.3 security update 05.08.2026 · Patch day
- Red Hat: RHSA-2026:40380 – RHSA-2026:40380 ruby3.3-default-gems-0:3.3.10-23.4.hum1@noarch@public-hummingbird security update 15.07.2026 · Patch day
- Red Hat: RHSA-2026:38694 – RHSA-2026:38694 ruby3.4-default-gems-0:3.4.10-31.hum1@noarch@public-hummingbird security update 13.07.2026 · Patch day
- Red Hat: RHSA-2026:36978 – RHSA-2026:36978 ruby4.0-default-gems-0:4.0.5-35.hum1@noarch@public-hummingbird security update 09.07.2026 · Patch day
- Red Hat: RHSA-2026:35447 – RHSA-2026:35447 ruby3-4-main@aarch64 security update 03.07.2026 · Patch day
- Ubuntu: USN-8478-1 – Ruby vulnerabilities 29.06.2026 · Critical · Patch day
- Ubuntu: USN-8431-1 – Ruby vulnerabilities 15.06.2026 · Critical · Patch day
- Microsoft: Mariner 11.05.2026 · Medium · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.