UBUNTU-CVE-2026-82854

Source
https://ubuntu.com/security/CVE-2026-82854
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82854.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-82854
Upstream
Published
2026-08-31T09:17:00Z
Modified
2026-09-02T16:28:28Z
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
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Nodemailer before 8.0.4 is vulnerable to SMTP command injection through the unsanitized envelope.size parameter. When an application passes a custom envelope object with a size property containing CRLF characters to sendMail(), the value is concatenated into the SMTP MAIL FROM command (as SIZE=...) without sanitization, allowing injection of arbitrary SMTP commands such as RCPT TO to silently add attacker-controlled recipients. Exploitation requires the application to expose the envelope size to attacker-controlled input, as Nodemailer does not include size in the default auto-constructed envelope.

References

Affected packages

Ubuntu:20.04:LTS / node-nodemailer

Package

Name
node-nodemailer
Purl
pkg:deb/ubuntu/node-nodemailer?arch=source&distro=focal

Affected ranges

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

Affected versions

6.*
6.3.0-2
6.3.1-1
6.4.0-1
6.4.1-1
6.4.2-1
6.4.5-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.4.5-1",
            "binary_name": "node-nodemailer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82854.json"

Ubuntu:22.04:LTS / node-nodemailer

Package

Name
node-nodemailer
Purl
pkg:deb/ubuntu/node-nodemailer?arch=source&distro=jammy

Affected ranges

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

Affected versions

6.*
6.4.17-3
6.7.0-1
6.7.0-2
6.7.1+~6.4.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.7.1+~6.4.4-1",
            "binary_name": "node-nodemailer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82854.json"

Ubuntu:24.04:LTS / node-nodemailer

Package

Name
node-nodemailer
Purl
pkg:deb/ubuntu/node-nodemailer?arch=source&distro=noble

Affected ranges

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

Affected versions

6.*
6.9.4+~6.4.9-2
6.9.4+~6.4.9-3ubuntu1
6.9.4+~6.4.9-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.9.4+~6.4.9-4",
            "binary_name": "node-nodemailer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82854.json"