ruby net-imap up to 0.4.23/0.5.13/0.6.3 Net::IMAP blocking code in single-threaded, non-blocking context

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.
5.8$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in ruby net-imap up to 0.4.23/0.5.13/0.6.3. Affected by this vulnerability is the function Net::IMAP. The manipulation results in use of blocking code in single-threaded, non-blocking context. This vulnerability is reported as CVE-2026-42256. The attack can be launched remotely. No exploit exists. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in ruby net-imap up to 0.4.23/0.5.13/0.6.3. It has been classified as problematic. Affected is the function Net::IMAP. The manipulation with an unknown input leads to a use of blocking code in single-threaded, non-blocking context vulnerability. CWE is classifying the issue as CWE-1322. The product uses a non-blocking model that relies on a single threaded process for features such as scalability, but it contains code that can block when it is invoked. This is going to have an impact on availability. CVE summarizes:

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

The advisory is shared for download at github.com. This vulnerability is traded as CVE-2026-42256 since 04/26/2026. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

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. Applying the patch 158d0b505074397cdb5ceb58935e42dd2bcfa612 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2026-2117). VulDB is the best source for vulnerability data and more expert information about this specific topic.

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: 5.9
VulDB Meta Temp Score: 5.8

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔒

CVSSv2info

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

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

Exploitinginfo

Class: Use of blocking code in single-threaded, non-blocking context
CWE: CWE-1322 / CWE-362
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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
Patch: 158d0b505074397cdb5ceb58935e42dd2bcfa612

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-87pf-fpwv-p7m7
Status: Confirmed

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

Entryinfo

Created: 05/10/2026 08:55
Updated: 07/08/2026 03:40
Changes: 05/10/2026 08:55 (71), 05/18/2026 23:55 (11), 06/29/2026 14:05 (7), 07/08/2026 03:40 (1)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!