RubyGems (Ruby)Worst: High10 advisories

net-imap: known vulnerabilities

net-imap has 10 reviewed security advisories in the GitHub Advisory Database — 1 high, 7 moderate, 2 low. The most recent was published 2026-06-22. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the net-imap versions running across your servers, containers and images, and ranks what to patch first.

How to fix net-imap

Upgrade net-imap to a release at or above the fixed version shown for each advisory below. For RubyGems (Ruby):

bundle update net-imap to 0.5.15 (or gem install net-imap -v 0.5.15)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (10)

Net::IMAP: Command Injection via ID command argument Moderate CWE-77 CWE-93 — Affected: before 0.5.15. Fixed in 0.5.15. Published 2026-06-22. GHSA-46q3-7gv7-qmgg · CVE-2026-47242
Net::IMAP: Command Injection via non-synchronizing literal in "raw" argument Moderate CWE-77 CWE-93 — Affected: before 0.5.15. Fixed in 0.5.15. Published 2026-06-22. GHSA-8p34-64r3-mwg8 · CVE-2026-47240
Net::IMAP: Denial of Service via incomplete raw argument validation Low CWE-162 CWE-182 CWE-186 — Affected: before 0.5.15. Fixed in 0.5.15. Published 2026-06-22. GHSA-c4fp-cxrr-mj66 · CVE-2026-47241
net-imap vulnerable to command Injection via unvalidated Symbol inputs Moderate 5.3 CWE-77 CWE-93 — Affected: before 0.4.24. Fixed in 0.4.24. Published 2026-05-09. GHSA-75xq-5h9v-w6px · CVE-2026-42258
net-imap vulnerable to denial of service via high iteration count for `SCRAM-*` authentication Moderate CWE-1322 CWE-770 — Affected: from 0.4.0 up to 0.4.24. Fixed in 0.4.24. Published 2026-05-09. GHSA-87pf-fpwv-p7m7 · CVE-2026-42256
net-imap vulnerable to command Injection via "raw" arguments to multiple commands Moderate CWE-77 CWE-93 — Affected: before 0.4.24. Fixed in 0.4.24. Published 2026-05-09. GHSA-hm49-wcqc-g2xg · CVE-2026-42257
net-imap has quadratic complexity when reading response literals Low CWE-407 — Affected: before 0.4.24. Fixed in 0.4.24. Published 2026-05-09. GHSA-q2mw-fvj9-vvcw · CVE-2026-42245
net-imap vulnerable to STARTTLS stripping via invalid response timing High CWE-392 CWE-393 CWE-636 CWE-754 — Affected: before 0.3.10. Fixed in 0.3.10. Published 2026-05-09. GHSA-vcgp-9326-pqcp · CVE-2026-42246
net-imap rubygem vulnerable to possible DoS by memory exhaustion Moderate CWE-400 CWE-405 CWE-770 CWE-789 — Affected: before 0.2.5. Fixed in 0.2.5. Published 2025-04-28. GHSA-j3g3-5qv5-52mj · CVE-2025-43857
Possible DoS by memory exhaustion in net-imap Moderate 6.5 CWE-1287 CWE-400 CWE-405 CWE-409 — Affected: from 0.5.0 up to 0.5.6. Fixed in 0.5.6. Published 2025-02-10. GHSA-7fc5-f82f-cx69 · CVE-2025-25186

Find net-imap across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.