ruby net-imap up to 0.4.23/0.5.13/0.6.3 Net::IMAP command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in ruby net-imap up to 0.4.23/0.5.13/0.6.3. This affects the function Net::IMAP. Such manipulation leads to command injection. This vulnerability is traded as CVE-2026-42258. An attack has to be approached locally. There is no exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in ruby net-imap up to 0.4.23/0.5.13/0.6.3. It has been rated as critical. Affected by this issue is the function Net::IMAP. The manipulation with an unknown input leads to a command injection vulnerability. Using CWE to declare the problem leads to CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, symbol arguments to commands are vulnerable to a CRLF Injection / IMAP Command injection via Symbol arguments passed to IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

The advisory is available at github.com. This vulnerability is handled as CVE-2026-42258 since 04/26/2026. The exploitation is known to be difficult. Local access is required to approach this attack. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1202 by the MITRE ATT&CK project.

The vulnerability scanner Nessus provides a plugin with the ID 323983 (RHEL 10 : ruby (RHSA-2026:33565)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 0.4.24, 0.5.14 or 0.6.4 eliminates this vulnerability. The upgrade is hosted for download at github.com.

The vulnerability is also documented in the databases at Tenable (323983) and CERT Bund (WID-SEC-2026-2117). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • Red Hat Enterprise Linux
  • RESF Rocky Linux
  • HCL BigFix
  • Oracle Linux

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 4.9
VulDB Meta Temp Score: 4.8

VulDB Base Score: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.3
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Command injection
CWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 323983
Nessus Name: RHEL 10 : ruby (RHSA-2026:33565)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: net-imap 0.4.24/0.5.14/0.6.4

Timelineinfo

04/26/2026 CVE reserved
05/10/2026 +14 days Advisory disclosed
05/10/2026 +0 days VulDB entry created
07/08/2026 +59 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-75xq-5h9v-w6px
Status: Confirmed

CVE: CVE-2026-42258 (🔒)
GCVE (CVE): GCVE-0-2026-42258
GCVE (VulDB): GCVE-100-362474
CERT Bund: WID-SEC-2026-2117 - HCL BigFix Compliance (Ruby): Mehrere Schwachstellen

Entryinfo

Created: 05/10/2026 08:55
Updated: 07/08/2026 04:03
Changes: 05/10/2026 08:55 (70), 05/18/2026 23:55 (11), 06/26/2026 21:05 (8), 06/29/2026 14:05 (7), 07/01/2026 03:25 (2), 07/08/2026 04:03 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!