CVE-2025-25186

Published Feb 10, 2025

Last updated 8 months ago

Overview

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.
Source
security-advisories@github.com
NVD status
Deferred

Risk scores

CVSS 3.1

Type
Secondary
Base score
6.5
Impact score
3.6
Exploitability score
2.8
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Severity
MEDIUM

Weaknesses

security-advisories@github.com
CWE-400

Social media

Hype score
Not currently trending
  1. ๐Ÿšจ CVE-2025-25186 ๐ŸŸ  MEDIUM (6.5) ๐Ÿข ruby - net-imap ๐Ÿ—๏ธ >= 0.3.2, < 0.3.8 ๐Ÿ”— https://t.co/gYvyh6jHvf ๐Ÿ”— https://t.co/5qHazmjmid ๐Ÿ”— https://t.co/1sbSZLlDNG ๐Ÿ”— https://t.co/Z998xNDkug #CyberCron #VulnAlert https://t.co/xFYabsfVGp

    @cybercronai

    13 Feb 2025

    31 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. Ruby: CVE-2025-25186: DoS vulnerability in net-imap https://t.co/bVVW8SvxJZ #rubylang #devtalk

    @dev_talk

    11 Feb 2025

    7 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. ๐Ÿšจ Lambda Watchdog detected a new MEDIUM severity CVE ๐Ÿšจ CVE-2025-25186 was detected in the latest AWS Lambda image scan affecting the net-imap package in 3 images. Check the full report ๐Ÿ‘‰ https://t.co/6EUGaPyRZk #AWS #Lambda #CVE #CloudSecurity #Serverless

    @LambdaWatchdog

    11 Feb 2025

    0 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  4. ๐Ÿšจ CVE-2025-25186 ๐ŸŸ  MEDIUM (6.5) ๐Ÿข ruby - net-imap ๐Ÿ—๏ธ >= 0.3.2, < 0.3.8 ๐Ÿ”— https://t.co/gYvyh6jHvf ๐Ÿ”— https://t.co/5qHazmjmid ๐Ÿ”— https://t.co/1sbSZLlDNG ๐Ÿ”— https://t.co/Z998xNDkug #CyberCron #VulnAlert https://t.co/YEf5OMGD9d

    @cybercronai

    10 Feb 2025

    169 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    1 Quote

  5. CVE-2025-25186 Denial of Service via Memory Exhaustion in Ruby Net::IMAP Client Library https://t.co/hqCFJo7gK3

    @VulmonFeeds

    10 Feb 2025

    29 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  6. 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 0.5.6, tโ€ฆ https://t.co/Jyg3HIH9lW

    @CVEnew

    10 Feb 2025

    27 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  1. Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, ActiveStorage::Blob#open writes a blob to a tempfile whose name carries the extension of the uploaded filename, and hands that path to ffprobe (VideoAnalyzer, AudioAnalyzer), ffmpeg (VideoPreviewer) and ImageMagick (ImageAnalyzer, the :mini_magick variant processor). These tools select a decoder from the file extension when the content does not identify its own format, so an attacker who chooses the filename and declares the content type of an upload chooses which decoder processes it. An FFmpeg built with AviSynth support treats a file with the .avs extension as an AviSynth script and evaluates it, which could disclose files readable by the application process through the preview image, or load a native library the attacker has also uploaded, possibly leading to remote code execution in the FFmpeg process. ImageMagick selects its coders and delegates from the extension in the same way. An application is affected if it accepts uploads from untrusted users and analyzes video or audio attachments, generates video previews, or processes images with ImageMagick. The AviSynth attack additionally requires an FFmpeg built with --enable-avisynth and the AviSynthPlus runtime on the host. Upstream FFmpeg and the common Linux distribution and Homebrew packages do not enable it; the GPL builds distributed for Windows and Linux from ffmpeg.org do. Other decoders that FFmpeg or ImageMagick select from the extension may be reachable without AviSynth. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.โ€ขCVE-2026-126186