Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-42257— net-imap: Command Injection via "raw" arguments to multiple commands

EPSS 0.02% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42257

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net-imap: Command Injection via "raw" arguments to multiple commands
Source: NVD (National Vulnerability Database)
Vulnerability Description
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, 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
对CRLF序列的转义处理不恰当(CRLF注入)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
rubynet-imap < 0.4.24 -

II. Public POCs for CVE-2026-42257

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42257

登录查看更多情报信息。

Same Patch Batch · ruby · 2026-05-09 · 5 CVEs total

CVE-2026-42245net-imap: Quadratic complexity when reading response literals
CVE-2026-42256net-imap: Denial of service via high iteration count for `SCRAM-*` authentication
CVE-2026-42246net-imap vulnerable to STARTTLS stripping via invalid response timing
CVE-2026-42258net-imap: Command Injection via unvalidated Symbol inputs

IV. Related Vulnerabilities

V. Comments for CVE-2026-42257

No comments yet


Leave a comment