USN-8478-1

Type: Security
Severity: Medium
Published: 2025-06-29
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 24.04 LTS (Noble Numbat)

It was discovered that Ruby's Net::IMAP library did not properly verify that TLS encryption was started after issuing a STARTTLS command. A remote attacker could use this to perform a machine-in-the-middle attack and silently bypass TLS encryption. (CVE-2026-42246) It was discovered that Ruby's Net::IMAP library did not validate string arguments passed to certain commands. A remote attacker could use this to inject arbitrary IMAP commands. (CVE-2026-42257) It was discovered that Ruby's Net::IMAP library was vulnerable to a denial of service attack when authenticating with SCRAM-SHA1 or SCRAM-SHA256. A hostile server could send a very large iteration count value to cause excessive computation in the client. This issue only affected ruby3.3. (CVE-2026-42256) Update Instructions: Run `sudo pro fix USN-8478-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libruby3.0 - 3.0.2-7ubuntu2.13 ruby3.0 - 3.0.2-7ubuntu2.13 ruby3.0-dev - 3.0.2-7ubuntu2.13 ruby3.0-doc - 3.0.2-7ubuntu2.13 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2026-06-30T10:06:31.808Z UTC.

Upstream Advisory

Affected Packages

  • libruby3.0 3.0.2-7ubuntu2.13-3.0.2-7ubuntu2.13

  • ruby3.0 3.0.2-7ubuntu2.13-3.0.2-7ubuntu2.13

  • ruby3.0-dev 3.0.2-7ubuntu2.13-3.0.2-7ubuntu2.13

  • ruby3.0-doc 3.0.2-7ubuntu2.13-3.0.2-7ubuntu2.13

  • libruby3.3 3.3.8-2ubuntu3.1-3.3.8-2ubuntu3.1

  • ruby3.3 3.3.8-2ubuntu3.1-3.3.8-2ubuntu3.1

  • ruby3.3-dev 3.3.8-2ubuntu3.1-3.3.8-2ubuntu3.1

  • ruby3.3-doc 3.3.8-2ubuntu3.1-3.3.8-2ubuntu3.1

  • libruby2.7 2.7.0-5ubuntu1.18+esm5-2.7.0-5ubuntu1.18+esm5

  • ruby2.7 2.7.0-5ubuntu1.18+esm5-2.7.0-5ubuntu1.18+esm5

  • ruby2.7-dev 2.7.0-5ubuntu1.18+esm5-2.7.0-5ubuntu1.18+esm5

  • ruby2.7-doc 2.7.0-5ubuntu1.18+esm5-2.7.0-5ubuntu1.18+esm5

  • libruby3.2 3.2.3-1ubuntu0.24.04.8-3.2.3-1ubuntu0.24.04.8

  • ruby3.2 3.2.3-1ubuntu0.24.04.8-3.2.3-1ubuntu0.24.04.8

  • ruby3.2-dev 3.2.3-1ubuntu0.24.04.8-3.2.3-1ubuntu0.24.04.8

  • ruby3.2-doc 3.2.3-1ubuntu0.24.04.8-3.2.3-1ubuntu0.24.04.8

Interested in being alerted when there are new versions of libruby3.0 and the other packages? Set up an alert.
USN-8478-1: Ruby vulnerabilities | Package Alert