CVE-2025-43857 is a denial-of-service vulnerability affecting the Net::IMAP client functionality in Ruby, specifically versions prior to 0.5.7, 0.4.20, 0.3.9, and 0.2.5. A malicious IMAP server can trigger memory exhaustion by sending a large "literal" byte count, causing the client to immediately allocate excessive memory. This vulnerability has a CVSS score of 6.5 (Medium), indicating it can be exploited remotely with low attack complexity, requiring no privileges, but does involve user interaction (connecting to a malicious server) and results in high availability impact. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 0.2.5CPE matchmatch criteria | cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:* | ||
>= 0.3.0, < 0.3.9CPE matchmatch criteria | cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:* | ||
>= 0.4.0, < 0.4.20CPE matchmatch criteria | cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:* | ||
>= 0.5.0, < 0.5.7CPE matchmatch criteria | cpe:2.3:a:ruby-lang:net\:\:imap:*:*:*:*:*:ruby:*:* |
CVSS version used by this source: 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
net-imap: net-imap rubygem vulnerable to possible DoS by memory exhaustion
Apr 28, 2025net-imap rubygem vulnerable to possible DoS by memory exhaustion
Apr 28, 2025net-imap rubygem vulnerable to possible DoS by memory exhaustion
Apr 8, 2025