PT-2025-6069

CVE-2025-25186

·

Published

2025-02-10

·

Updated

2025-11-13

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Net::IMAP versions 0.3.2 through 0.3.7 Net::IMAP versions 0.4.0 through 0.4.18 Net::IMAP versions 0.5.0 through 0.5.5
Description 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 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.
Recommendations For Net::IMAP versions 0.3.2 through 0.3.7, upgrade to version 0.3.8 or higher and configure config.parser max deprecated uidplus data size to set the maximum UIDPlusData UID set size. For Net::IMAP versions 0.4.0 through 0.4.18, upgrade to version 0.4.19 or higher and configure config.parser use deprecated uidplus data to false. For Net::IMAP versions 0.5.0 through 0.5.5, upgrade to version 0.5.6 or higher and configure config.parser use deprecated uidplus data to :up to max size. As a temporary workaround, consider disabling the Net::IMAP::ResponseParser function until a patch is available. Restrict access to the vulnerable net-imap module to minimize the risk of exploitation. Avoid using the uid-set parameter in the affected API endpoint until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-7FC5-F82F-CX69
ALSA-2025:10217
ALSA-2025_10217
ALSA-2025:8131
AZL-56555
CESA-2025_10217
ECHO-F096-55D9-2FEF
INFSA-2025_10217
INFSA-2025_4493
MGASA-2025-0290
OESA-2025-1195
OESA-2025-1196
RHSA-2025:10217
RHSA-2025_10217
RHSA-2025:4493
RHSA-2025_4493
RHSA-2025:8131
USN-7418-1
Found an issue in the description? Have something to add? Feel free to write us 👾