PT-2026-36987

CVE-2026-42256

·

Published

2025-06-29

·

Updated

2026-09-18

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 (affected versions not specified)
Description A hostile IMAP server can trigger a computational denial-of-service attack on the client process during authentication using SCRAM-SHA1 or SCRAM-SHA256. By sending an arbitrarily large PBKDF2 iteration count in the server-first-message, the server forces the client to execute an expensive OpenSSL::KDF.pbkdf2 hmac() call. Since this function is a blocking C extension that holds the Ruby Global VM Lock (a mechanism that ensures only one thread executes Ruby code at a time), it can freeze the entire Ruby VM and block all threads for several minutes, depending on the hardware and OpenSSL version.
Recommendations Upgrade to a patched version of net-imap and call Net::IMAP#authenticate using a max iterations keyword argument set to a safe value appropriate for the security context. Avoid using SCRAM-* mechanisms when authenticating to untrusted servers.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-87PF-FPWV-P7M7
ALSA-2026:50728
ALSA-2026:50773
ALSA-2026:50778
ALSA-2026:50827
ALSA-2026:50828
CLEANSTART-2026-MH39201
CLEANSTART-2026-RG00675
CLEANSTART-2026-UT74115
ECHO-0E5E-7C8E-8329
OPENSUSE-SU-2026:21225-1
RHSA-2026:33551
RHSA-2026:33552
RHSA-2026:33721
SUSE-SU-2026:3792-1
USN-8478-1
Found an issue in the description? Have something to add? Feel free to write us 👾