cbcvebase.
CVE-2025-25186
published 2025-02-10

CVE-2025-25186: Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Starting in version 0.3.2 and prior to versions 0.3.8, 0.4.19, and…

PriorityP432medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
0.58%
43.2th percentile
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Starting in version 0.3.2 and prior to versions 0.3.8, 0.4.19, and 0.5.6, there is a possibility for denial of service by memory exhaustion in `net-imap`'s response parser. At any time while the client is connected, a malicious server can send can send highly compressed `uid-set` data which is automatically read by the client's receiver thread. The response parser uses `Range#to_a` to convert the `uid-set` data into arrays of integers, with no limitation on the expanded size of the ranges. Versions 0.3.8, 0.4.19, 0.5.6, and higher fix this issue. Additional details for proper configuration of fixed versions and backward compatibility are available in the GitHub Security Advisory.

Affected

10 ranges
VendorProductVersion rangeFixed in
debianruby3.1< ruby3.3 3.3.8-1 (forky)ruby3.3 3.3.8-1 (forky)
debianruby3.3< ruby3.3 3.3.8-1 (forky)ruby3.3 3.3.8-1 (forky)
msrcazl3_ruby_3.3.5-2_on_azure_linux_3.0
msrcazl3_ruby_3.3.5-3_on_azure_linux_3.0
rubynet-imap
rubynet-imap
rubynet-imap
rubynet-imap>= 0.3.2 < 0.3.80.3.8
rubynet-imap>= 0.4.0 < 0.4.190.4.19
rubynet-imap>= 0.5.0 < 0.5.60.5.6

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu5.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.