Advisory
UBUNTU-CVE-2025-43857
Also known as: CVE-2025-43857
Summary
The record has no summary.
Details
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5, there is a possibility for denial of service by memory exhaustion when net-imap reads server responses. At any time while the client is connected, a malicious server can send can send a "literal" byte count, which is automatically read by the client's receiver thread. The response reader immediately allocates memory for the number of bytes indicated by the server response. This should not be an issue when securely connecting to trusted IMAP servers that are well-behaved. It can affect insecure connections and buggy, untrusted, or compromised servers (for example, connecting to a user supplied hostname). This issue has been patched in versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5.
Severity
Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Dates
- Published
- 2025-04-28 16:15 UTC
- Modified
- 2026-10-17 12:57 UTC
Affected packages and fixes
| Package | System | Fix |
|---|---|---|
| jruby | Debian packages (deb) · Ubuntu 16.04 | No fixed version is listed. |
| jruby | Debian packages (deb) · Ubuntu 18.04 | No fixed version is listed. |
| jruby | Debian packages (deb) · Ubuntu 20.04 | No fixed version is listed. |
| ruby3.0 | Debian packages (deb) · Ubuntu 22.04 | No fixed version is listed. |
| jruby | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| ruby3.2 | Debian packages (deb) · Ubuntu 24.04 | No fixed version is listed. |
| jruby | Debian packages (deb) · Ubuntu 25.10 | No fixed version is listed. |
| ruby3.3 | Debian packages (deb) · Ubuntu 25.10 | No fixed version is listed. |
| jruby | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| ruby3.3 | Debian packages (deb) · Ubuntu 26.10 | No fixed version is listed. |
| jruby | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
| ruby3.3 | Debian packages (deb) · Ubuntu 26.04 | No fixed version is listed. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0