PT-2026-48341

CVE-2026-47241

·

Published

2026-06-09

·

Updated

2026-10-07

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Net::IMAP versions prior to 0.5.15 Net::IMAP versions prior to 0.6.5
Description Several commands in the Net::IMAP Ruby client accept raw string arguments that are only validated to prevent CRLF injection and are then sent verbatim. An incorrect regular expression in the trailing-marker check fails to match {0} or {0+}, allowing attacker-controlled strings ending in these markers to pass validation. When these arguments are sent, the server interprets the trailing CRLF as part of a literal prefix, causing the next command sent by the client to be absorbed as a continuation of the first. This results in the first command eventually failing and the second command hanging until the connection is closed, potentially leading to a denial of service through unexpected crashes and timeouts. This issue is particularly impactful in multi-threaded environments.
The affected components include:
  • The criteria variable for the #search and #uid search endpoints.
  • The search keys variable for the #sort, #thread, #uid sort, and #uid thread endpoints.
  • The attr variable for the #fetch and #uid fetch endpoints.
Recommendations Update to version 0.5.15 or 0.6.5. As a temporary workaround, validate that user input provided to the affected command arguments does not end with the } character. Implement Timeout or other standard strategies for managing slow connections and misbehaving servers to mitigate the effects of hanging commands.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-C4FP-CXRR-MJ66
ALSA-2026:50728
ALSA-2026:50773
ALSA-2026:50778
ALSA-2026:50827
ALSA-2026:50828
CLEANSTART-2026-HQ73324
CLSA-2026-1791199760
ECHO-BF99-96EE-AF6B
OESA-2026-3533
OESA-2026-3536
OESA-2026-3537
OESA-2026-3665
OESA-2026-3668
OPENSUSE-SU-2026:21878-1
RHSA-2026:33551
RHSA-2026:33721
RHSA-2026:34293
RHSA-2026:40380
SUSE-SU-2026:3090-1
Found an issue in the description? Have something to add? Feel free to write us 👾