Skip to main content
VulnerabilityPublished Updated

CVE-2025-25186: Ruby3.2 · Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby

Affects ruby3.2Source GCVE Database

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 3.2.3-1ubuntu0.24.04.5 when convenient.

Data as of 24 Nov 2026, 19:55 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.2.3-1ubuntu0.24.04.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu ruby3.2 package to 3.2.3-1ubuntu0.24.04.5.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSruby3.2pkg:deb/ubuntu/ruby3.2?arch=source&distro=nobleOther threatsAffected
  • <3.2.3-1ubuntu0.24.04.5
Fixed in
  • 3.2.3-1ubuntu0.24.04.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…