Skip to content
Heist/ feed
Back to feed
MediumFix available

ruby-net-imap — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2026-42256

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

Products
ruby-net-imap
Affected versions
Not specified
Fixed versions
0.4.25-r0
CVEs
CVE-2026-42256
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:56 UTC · Revision 1

Source evidence

ALPINE-CVE-2026-42256

core-osv · Original source

Published 9 May 2026, 20:16 UTC

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

osv:ALPINE-CVE-2026-42256

ruby-net-imap

Fixed versions: 0.4.25-r0

Complete source record
{
  "id": "f1f8f2c6f70564d646b6c38480a7ef94d07dfc00b5325ea8d3cac4e45f1ca7a6",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2026-42256",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2026-42256",
    "summary": "Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. From versions 0.4.0 to before 0.4.24, 0.5.0 to before 0.5.14, and 0.6.0 to before 0.6.4, when authenticating a connection with SCRAM-SHA1 or SCRAM-SHA256, a hostile server can perform a computational denial-of-service attack on the client process by sending a big iteration count value. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.",
    "evidence": "osv:ALPINE-CVE-2026-42256",
    "products": [
      {
        "name": {
          "value": "ruby-net-imap",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.4.25-r0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "ALPINE-CVE-2026-42256",
      "aliases": [
        "ALPINE-CVE-2026-42256"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.4.25-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-net-imap",
            "purl": "pkg:apk/alpine/ruby-net-imap?arch=source",
            "ecosystem": "Alpine:v3.21"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-42256.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-27T12:30:04.132635504Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-42256"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2026-42256"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-42256",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 461537,
  "published_at": "2026-05-09T20:16:28.313+00:00"
}