DEBIAN-CVE-2026-42257

Source
https://security-tracker.debian.org/tracker/CVE-2026-42257
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42257.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-42257
Upstream
Published
2026-05-09T20:16:28.463Z
Modified
2026-05-19T09:00:11.344336014Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, several Net::IMAP commands accept a raw string argument that is sent to the server without validation or escaping. If this string is derived from user-controlled input, it may contain contain CRLF sequences, which an attacker can use to inject arbitrary IMAP commands. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.

References

Affected packages

Debian:11 / ruby2.7

Package

Name
ruby2.7
Purl
pkg:deb/debian/ruby2.7?arch=source&distro=bullseye

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.4-1
2.7.4-1+deb11u1
2.7.4-1+deb11u2
2.7.4-1+deb11u3
2.7.4-1+deb11u4
2.7.4-1+deb11u5
2.7.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42257.json"

Debian:12 / ruby3.1

Package

Name
ruby3.1
Purl
pkg:deb/debian/ruby3.1?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.2-7
3.1.2-7+deb12u1
3.1.2-7+hurd.1
3.1.2-8
3.1.2-8.1~exp1
3.1.2-8.3
3.1.2-8.4
3.1.2-8.5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42257.json"

Debian:13 / ruby3.3

Package

Name
ruby3.3
Purl
pkg:deb/debian/ruby3.3?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.3.8-2
3.3.8-2.1
3.3.8-2.2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42257.json"

Debian:14 / ruby3.3

Package

Name
ruby3.3
Purl
pkg:deb/debian/ruby3.3?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.3.8-2
3.3.8-2.1
3.3.8-2.2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42257.json"