CVE catalog

CVE-2026-47241

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a raw string argument which is only validated to

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a raw string argument which is only validated to prevent CRLF injection and then sent verbatim. If this string is derived from user-controlled input, an attacker can force the next command to be absorbed as a continuation of the first command. This will cause the first command to eventually fail, but also prevents it from returning until another command is sent (from another thread). That other command will not return until the connection is closed. This vulnerability is fixed in 0.6.5 and 0.5.15.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby3.1bookworm3.1.2-7+deb12u1vulnerable
Debianruby3.1bookworm-security3.1.2-7+deb12u1vulnerable
Cperuby3.1Not reportedNot reportedvulnerable
Alpineruby-net-imap3.240.5.15-r0fixed
Alpineruby-net-imap3.230.5.15-r0fixed
Alpineruby-net-imap3.210.4.25-r0fixed
Alpineruby-net-imap3.220.5.15-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby3.1sourcebookworm(unfixed)not yet assignedNot reportedNot reported
Alpineruby-net-imapapk3.240.5.15-r0Not reportedALPINE-CVE-2026-47241Not reported
Alpineruby-net-imapapk3.230.5.15-r0Not reportedALPINE-CVE-2026-47241Not reported
Alpineruby-net-imapapk3.210.4.25-r0Not reportedALPINE-CVE-2026-47241Not reported
Alpineruby-net-imapapk3.220.5.15-r0Not reportedALPINE-CVE-2026-47241Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libruby3.1]Affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

  • [ruby3.1]Affected
    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

  • [ruby3.1-dev]Affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · amd64 · bookworm

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · amd64 · bookworm-security

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · arm64 · bookworm-security

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

  • [ruby3.1-doc]Affected

    Source package: [ruby3.1]

    Details (4)
    • 3.1.2-7+deb12u1 · all · bookworm

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

    • 3.1.2-7+deb12u1 · all · bookworm-security

      Affected

      nvd · ruby3.1 · debian · bookworm; nvd · ruby3.1 · debian · 12

[Debian 13 (Trixie)]

  • [libruby3.3]Affected

    Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Affected

      nvd · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Affected

      nvd · ruby3.3 · debian · 13

  • [ruby3.3]Affected
    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Affected

      nvd · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Affected

      nvd · ruby3.3 · debian · 13

  • [ruby3.3-dev]Affected

    Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · amd64 · trixie

      Affected

      nvd · ruby3.3 · debian · 13

    • 3.3.8-2 · arm64 · trixie

      Affected

      nvd · ruby3.3 · debian · 13

  • [ruby3.3-doc]Affected

    Source package: [ruby3.3]

    Details (2)
    • 3.3.8-2 · all · trixie

      Affected

      nvd · ruby3.3 · debian · 13

    • 3.3.8-2 · all · trixie

      Affected

      nvd · ruby3.3 · debian · 13

Observed:

References