PT-2026-37050

CVE-2026-42258

·

Published

2026-05-04

·

Updated

2026-10-19

Description by

CVSS 3.1
7.1
High
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
Name of the Vulnerable Software and Affected Versions Net::IMAP versions prior to 0.4.24 Net::IMAP versions prior to 0.5.14 Net::IMAP versions prior to 0.6.4
Description Symbol arguments passed to IMAP commands are susceptible to CRLF Injection and IMAP Command injection. Symbol arguments represent IMAP system flags, which are formatted as atoms with a `` prefix. Vulnerable versions send the symbol name directly to the socket without validation, allowing the inclusion of invalid flag characters such as SP (space) and CRLF (carriage return line feed). This enables an attacker to terminate the current command and inject new, unauthorized IMAP commands, such as DELETE mailbox, if a developer passes user-controlled input as a Symbol to the affected commands.
Recommendations Update to version 0.4.24, 0.5.14, or 0.6.4 depending on the current major version branch. Avoid calling #to sym on unvetted user-provided input. Do not unsafely serialize and deserialize command arguments using methods like YAML or Marshal that could create unvetted Symbol arguments. Hard-code Symbol arguments or restrict them to a predefined enumerated list for IMAP commands that allow flag arguments.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-75XQ-5H9V-W6PX
ALSA-2026:33512
ALSA-2026:33514
ALSA-2026:33515
ALSA-2026:33540
ALSA-2026:33565
ALSA-2026:33576
ALSA-2026:33577
CLEANSTART-2026-RG00675
CLEANSTART-2026-TS16592
CLEANSTART-2026-UT74115
CLSA-2026-1783695736
CLSA-2026-1784073521
CLSA-2026-1792167430
ECHO-6D52-C40E-A517
OESA-2026-2578
OPENSUSE-SU-2026:21878-1
RHSA-2026:33462
RHSA-2026:33512
RHSA-2026:33514
RHSA-2026:33515
RHSA-2026:33540
RHSA-2026:33565
RHSA-2026:33576
RHSA-2026:33577
RHSA-2026:33630
RHSA-2026:33721
RHSA-2026:34076
RHSA-2026:35834
RHSA-2026:35866
RHSA-2026:35867
RHSA-2026:35895
RHSA-2026:36099
RHSA-2026:40380
SUSE-SU-2026:3090-1
USN-8556-1
Found an issue in the description? Have something to add? Feel free to write us 👾