{"id":"UBUNTU-CVE-2026-42245","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, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hostile server can send responses which are crafted to exhaust the client's CPU for a denial of service attack. This issue has been patched in versions 0.4.24, 0.5.14, and 0.6.4.","modified":"2026-06-16T13:30:53.011419172Z","published":"2026-05-09T20:16:00Z","upstream":["CVE-2026-42245"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-42245"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-42245"},{"type":"REPORT","url":"https://github.com/ruby/net-imap/commit/6091f7d6b1f3514cafbfe39c76f2b5d73de3ca96"},{"type":"REPORT","url":"https://github.com/ruby/net-imap/commit/88d95231fc8afef11c1f074453f7d75b68c9dfda"},{"type":"REPORT","url":"https://github.com/ruby/net-imap/commit/de685f91a4a4cc75eb80da898c2bf8af08d34819"},{"type":"REPORT","url":"https://github.com/ruby/net-imap/releases/tag/v0.4.24"},{"type":"REPORT","url":"https://github.com/ruby/net-imap/releases/tag/v0.5.14"},{"type":"REPORT","url":"https://github.com/ruby/net-imap/releases/tag/v0.6.4"},{"type":"REPORT","url":"https://github.com/ruby/net-imap/security/advisories/GHSA-q2mw-fvj9-vvcw"}],"affected":[{"package":{"name":"jruby","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/jruby?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.4.8.0+ds-2ubuntu1","9.4.8.0+ds-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"jruby","binary_version":"9.4.8.0+ds-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42245.json"}},{"package":{"name":"ruby3.3","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ruby3.3?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.7-1ubuntu2","3.3.8-2ubuntu1","3.3.8-2ubuntu2","3.3.8-2ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.8-2ubuntu2.1","binary_name":"libruby3.3"},{"binary_name":"ruby3.3","binary_version":"3.3.8-2ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42245.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}