Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-42257

published medium CVSS 4.0 · 5.8

net-imap: Command Injection via "raw" arguments to multiple commands

Published
09 May 2026, 19:39:48 UTC
Updated
13 May 2026, 19:33:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ruby — net-imap< 0.4.24 · >= 0.5.0, < 0.5.14 · >= 0.6.0, < 0.6.4 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1807 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 ruby-default-gems Advisory build 3.3.12-14.el10_2 ALSA-2026:50778
AlmaLinux 10 ruby-doc Advisory build 3.3.12-14.el10_2 ALSA-2026:50778
AlmaLinux 10 ruby4.0-doc Advisory build 4.0.6-36.el10_2 ALSA-2026:50773
AlmaLinux 10 rubygem-bundler Advisory build 2.5.22-14.el10_2 ALSA-2026:50778
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 rubygem-irb Advisory build 1.13.1-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-minitest Advisory build 5.20.0-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-power_assert Advisory build 2.0.3-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-rake Advisory build 13.1.0-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-rdoc Advisory build 6.6.3.1-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-rexml Advisory build 3.4.4-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-rss Advisory build 0.3.1-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-test-unit Advisory build 3.6.1-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygem-typeprof Advisory build 0.21.9-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygems Advisory build 3.5.22-14.el10_2 ALSA-2026:50778
AlmaLinux 10 rubygems-devel Advisory build 3.5.22-14.el10_2 ALSA-2026:50778
AlmaLinux 8 ruby Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-bundled-gems Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-default-gems Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-devel Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-doc Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 ruby-libs Advisory build 3.3.12-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-abrt Advisory build 0.4.0-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.4.0-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-bigdecimal Advisory build 3.1.5-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-bundler Advisory build 2.5.22-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-io-console Advisory build 0.7.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-irb Advisory build 1.13.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-json Advisory build 2.7.2-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-minitest Advisory build 5.20.0-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-mysql2 Advisory build 0.5.5-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-mysql2-doc Advisory build 0.5.5-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-pg Advisory build 1.5.4-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-pg-doc Advisory build 1.5.4-1.module_el8.10.0+3799+191214cc ALSA-2026:50728
AlmaLinux 8 rubygem-power_assert Advisory build 2.0.3-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-psych Advisory build 5.1.2-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-racc Advisory build 1.7.3-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rake Advisory build 13.1.0-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rbs Advisory build 3.4.0-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rdoc Advisory build 6.6.3.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rexml Advisory build 3.4.4-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-rss Advisory build 0.3.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-test-unit Advisory build 3.6.1-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygem-typeprof Advisory build 0.21.9-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygems Advisory build 3.5.22-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 8 rubygems-devel Advisory build 3.5.22-8.module_el8.10.0+4241+4264e34b ALSA-2026:50728
AlmaLinux 9 ruby Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-bundled-gems Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-bundled-gems Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-default-gems Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-default-gems Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-devel Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-devel Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-doc Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-doc Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 ruby-libs Advisory build 3.3.12-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 ruby-libs Advisory build 4.0.6-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-bigdecimal Advisory build 3.1.5-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-bigdecimal Advisory build 4.0.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-bundler Advisory build 2.5.22-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-bundler Advisory build 4.0.16-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-io-console Advisory build 0.7.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-io-console Advisory build 0.8.2-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-irb Advisory build 1.13.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-irb Advisory build 1.16.0-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-json Advisory build 2.18.0-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-json Advisory build 2.7.2-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-minitest Advisory build 5.20.0-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-minitest Advisory build 6.0.0-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-mysql2 Advisory build 0.5.5-3.module_el9.7.0+184+e2e36072 ALSA-2026:50828
AlmaLinux 9 rubygem-mysql2 Advisory build 0.5.7-1.module_el9.8.0+232+50f6dd36 ALSA-2026:50827
AlmaLinux 9 rubygem-mysql2-doc Advisory build 0.5.5-3.module_el9.7.0+184+e2e36072 ALSA-2026:50828
AlmaLinux 9 rubygem-mysql2-doc Advisory build 0.5.7-1.module_el9.8.0+232+50f6dd36 ALSA-2026:50827
AlmaLinux 9 rubygem-pg Advisory build 1.5.4-2.module_el9.7.0+245+447713a2 ALSA-2026:50828
AlmaLinux 9 rubygem-pg Advisory build 1.6.3-1.module_el9.8.0+232+50f6dd36 ALSA-2026:50827
AlmaLinux 9 rubygem-pg-doc Advisory build 1.5.4-2.module_el9.7.0+245+447713a2 ALSA-2026:50828
AlmaLinux 9 rubygem-pg-doc Advisory build 1.6.3-1.module_el9.8.0+232+50f6dd36 ALSA-2026:50827
AlmaLinux 9 rubygem-power_assert Advisory build 2.0.3-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-power_assert Advisory build 3.0.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-psych Advisory build 5.1.2-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-psych Advisory build 5.3.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-racc Advisory build 1.7.3-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-racc Advisory build 1.8.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rake Advisory build 13.1.0-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rake Advisory build 13.3.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rbs Advisory build 3.10.0-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rbs Advisory build 3.4.0-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rdoc Advisory build 6.6.3.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rdoc Advisory build 7.0.4-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rexml Advisory build 3.4.4-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-rexml Advisory build 3.4.4-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rss Advisory build 0.3.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-rss Advisory build 0.3.2-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-test-unit Advisory build 3.6.1-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-test-unit Advisory build 3.7.5-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygem-typeprof Advisory build 0.21.9-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygem-typeprof Advisory build 0.31.1-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygems Advisory build 3.5.22-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828
AlmaLinux 9 rubygems Advisory build 4.0.16-34.module_el9.8.0+289+5a070f48 ALSA-2026:50827
AlmaLinux 9 rubygems-devel Advisory build 3.5.22-8.module_el9.8.0+288+22f1c9f2 ALSA-2026:50828

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

29

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.8 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ruby net-imap < 0.4.24 (affected)>= 0.5.0, < 0.5.14 (affected)>= 0.6.0, < 0.6.4 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') (GitHub_M · cna)
  • CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

net-imap: Command Injection via "raw" arguments to multiple commands

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
e3a53560b2f1876fa69f6910453f24b9d9c4a42b410dfbb36b0fe100421cf988
Ingested
23 Sep 2026, 09:14:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected