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-47242

published medium CVSS 4.0 · 5.8

Net::IMAP: Command Injection via ID command argument

Published
22 Jun 2026, 20:19:41 UTC
Updated
23 Jun 2026, 12:06:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ruby — net-imap>= 0.6.0, < 0.6.4.1 · < 0.5.15 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 No Fix Planned 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
AlmaLinux 10 rubygem-irb Advisory build 1.13.1-14.el10_2 ALSA-2026:50778
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 0.6.5 and 0.5.15, when Net::IMAP#id is called with a hash argument, although the ID field value strings are correctly quoted (escaping quoted specials), they were not validated to prohibit CRLF sequences. While Net::IMAP#enable does process its arguments for aliases, it does not validate them as valid atoms (or as a list of valid atoms). The #to_s value is sent verbatim. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. This vulnerability is fixed in 0.6.5 and 0.5.15.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

32

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.6.0, < 0.6.4.1 (affected)< 0.5.15 (affected) GitHub_M · cna

Weaknesses

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

References

1

Provider assertions

2

GitHub_M · cna

Net::IMAP: Command Injection via ID command argument

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6d477f63289edc64ab8a636db15514ae0438873baa1ace8b866dc46530c8060b
Ingested
23 Sep 2026, 09:16:58 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