{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42256","id":"CVE-2026-42256","title":"net-imap: Denial of service via high iteration count for `SCRAM-*` authentication","description":"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 pa","descriptionLong":"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.","published":"2026-05-09T19:38:33.106Z","updated":"2026-10-28T02:30:44.572921781Z","reserved":"2026-04-26T11:53:27.704Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["ruby net-imap"],"affectedProducts":[{"vendor":"ruby","product":"net-imap","defaultStatus":null,"versions":[{"version":">= 0.4.0, < 0.4.24","status":"affected"},{"version":">= 0.5.0, < 0.5.14","status":"affected"},{"version":">= 0.6.0, < 0.6.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"net-imap","purl":"pkg:gem/net-imap","ranges":[">=0.6.0 <0.6.4",">=0.5.0 <0.5.14",">=0.4.0 <0.4.24"],"fixed":["0.6.4","0.5.14","0.4.24"],"advisory":"GHSA-87pf-fpwv-p7m7"}],"cwes":["CWE-1322","CWE-770"],"aliases":["GHSA-87pf-fpwv-p7m7"],"references":[{"url":"https://github.com/ruby/net-imap/security/advisories/GHSA-87pf-fpwv-p7m7","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/ruby/net-imap/commit/158d0b505074397cdb5ceb58935e42dd2bcfa612","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/ruby/net-imap/commit/808001bc45c06f7297a7e96d341279e041a7f7f4","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/ruby/net-imap/commit/99f59eab6064955a23debd95410263ad144df758","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/ruby/net-imap/releases/tag/v0.4.24","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/ruby/net-imap/releases/tag/v0.5.14","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/ruby/net-imap/releases/tag/v0.6.4","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42256.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42256","tags":["advisory"]},{"url":"https://github.com/ruby/net-imap","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/net-imap/CVE-2026-42256.yml","tags":["web"]},{"url":"https://www.rfc-editor.org/rfc/rfc7804.html#page-15","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00299,"epssPercentile":0.22996,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42256","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42256","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42256","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-87pf-fpwv-p7m7","ok":true,"note":"GHSA-87pf-fpwv-p7m7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42256","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}