Affected versions
Ubuntu16.04:LTS/jruby
- Affected versions
- * || =1.7.21-2ubuntu4 || =1.7.22-1ubuntu1
- Fixed version
- Not reported
Ubuntu18.04:LTS/jruby
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu20.04:LTS/jruby
- Affected versions
- * || =9.1.17.0-3 || =9.1.17.0-3build5 || =9.1.17.0-3build6
- Fixed version
- Not reported
Ubuntu22.04:LTS/ruby3.0
- Affected versions
- <3.0.2-7ubuntu2.13 || =3.0.2-5ubuntu1 || =3.0.2-7 || =3.0.2-7ubuntu2 || =3.0.2-7ubuntu2.1 || =3.0.2-7ubuntu2.2 || =3.0.2-7ubuntu2.3 || =3.0.2-7ubuntu2.4 || =3.0.2-7ubuntu2.5 || =3.0.2-7ubuntu2.6 || =3.0.2-7ubuntu2.7 || =3.0.2-7ubuntu2.8 || =3.0.2-7ubuntu2.10 || =3.0.2-7ubuntu2.11 || =3.0.2-7ubuntu2.12
- Fixed version
- 3.0.2-7ubuntu2.13
Ubuntu24.04:LTS/jruby
- Affected versions
- * || =9.3.9.0+ds-1 || =9.4.5.0+ds-1 || =9.4.5.0+ds-1ubuntu1 || =9.4.6.0+ds-1ubuntu3
- Fixed version
- Not reported
Ubuntu24.04:LTS/ruby3.2
- Affected versions
- <3.2.3-1ubuntu0.24.04.8 || =3.2.3-1 || =3.2.3-1build2 || =3.2.3-1build3 || =3.2.3-1ubuntu0.24.04.1 || =3.2.3-1ubuntu0.24.04.3 || =3.2.3-1ubuntu0.24.04.5 || =3.2.3-1ubuntu0.24.04.6 || =3.2.3-1ubuntu0.24.04.7
- Fixed version
- 3.2.3-1ubuntu0.24.04.8
Ubuntu25.10/jruby
- Affected versions
- * || =9.4.8.0+ds-2ubuntu1 || =9.4.8.0+ds-3ubuntu1
- Fixed version
- Not reported
Ubuntu25.10/ruby3.3
- Affected versions
- * || =3.3.7-1ubuntu2 || =3.3.8-2ubuntu1 || =3.3.8-2ubuntu2 || =3.3.8-2ubuntu2.1
- Fixed version
- Not reported
Ubuntu26.04:LTS/jruby
- Affected versions
- * || =9.4.8.0+ds-3ubuntu1
- Fixed version
- Not reported
Ubuntu26.04:LTS/ruby3.3
- Affected versions
- <3.3.8-2ubuntu3.1 || =3.3.8-2ubuntu2 || =3.3.8-2ubuntu3
- Fixed version
- 3.3.8-2ubuntu3.1
Ubuntu26.10/jruby
- Affected versions
- * || =9.4.8.0+ds-3ubuntu1 || =9.4.14.0+ds-1
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/jruby
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/ruby2.3
- Affected versions
- Unknown
- Fixed version
- 2.3.1-2~ubuntu16.04.16+esm14
UbuntuPro:18.04:LTS/ruby2.5
- Affected versions
- Unknown
- Fixed version
- 2.5.1-1ubuntu1.16+esm8
UbuntuPro:20.04:LTS/ruby2.7
- Affected versions
- <2.7.0-5ubuntu1.18+esm5 || =2.7.0-1 || =2.7.0-2 || =2.7.0-3 || =2.7.0-4 || =2.7.0-4ubuntu1 || =2.7.0-5ubuntu1 || =2.7.0-5ubuntu1.1 || =2.7.0-5ubuntu1.2 || =2.7.0-5ubuntu1.3 || =2.7.0-5ubuntu1.4 || =2.7.0-5ubuntu1.5 || =2.7.0-5ubuntu1.6 || =2.7.0-5ubuntu1.7 || =2.7.0-5ubuntu1.8 || =2.7.0-5ubuntu1.9 || =2.7.0-5ubuntu1.10 || =2.7.0-5ubuntu1.11 || =2.7.0-5ubuntu1.12 || =2.7.0-5ubuntu1.13 || =2.7.0-5ubuntu1.14 || =2.7.0-5ubuntu1.15 || =2.7.0-5ubuntu1.16 || =2.7.0-5ubuntu1.17 || =2.7.0-5ubuntu1.18 || =2.7.0-5ubuntu1.18+esm1 || =2.7.0-5ubuntu1.18+esm3 || =2.7.0-5ubuntu1.18+esm4
- Fixed version
- 2.7.0-5ubuntu1.18+esm5
Description
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.
Links
- https://github.com/ruby/net-imap/releases/tag/v0.4.24
- https://github.com/ruby/net-imap/releases/tag/v0.5.14
- https://github.com/ruby/net-imap/releases/tag/v0.6.4
- https://github.com/ruby/net-imap/security/advisories/GHSA-hm49-wcqc-g2xg
- https://ubuntu.com/security/CVE-2026-42257
- https://ubuntu.com/security/notices/USN-8431-1
- https://ubuntu.com/security/notices/USN-8478-1
- https://www.cve.org/CVERecord?id=CVE-2026-42257

