UBUNTU-CVE-2025-8842

Source
https://ubuntu.com/security/CVE-2025-8842
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8842.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-8842
Upstream
Published
2025-08-11T11:15:00Z
Modified
2026-05-20T16:24:02Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 1.9 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
  • Ubuntu - low
Summary
[none]
Details

A vulnerability has been found in NASM Netwide Assember 2.17rc0. Affected by this issue is the function do_directive of the file preproc.c. The manipulation leads to use after free. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

References

Affected packages

Ubuntu:16.04:LTS
nasm

Package

Name
nasm
Purl
pkg:deb/ubuntu/nasm?arch=source&distro=xenial

Affected ranges

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

Affected versions

2.*
2.11.06-1really2.11.05-1
2.11.08-1
2.11.08-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "nasm",
            "binary_version": "2.11.08-1ubuntu0.1"
        }
    ],
    "priority_reason": "localhost access is needed"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8842.json"
Ubuntu:18.04:LTS
nasm

Package

Name
nasm
Purl
pkg:deb/ubuntu/nasm?arch=source&distro=bionic

Affected ranges

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

Affected versions

2.*
2.13.01-2
2.13.02-0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "nasm",
            "binary_version": "2.13.02-0.1"
        }
    ],
    "priority_reason": "localhost access is needed"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8842.json"
Ubuntu:20.04:LTS
nasm

Package

Name
nasm
Purl
pkg:deb/ubuntu/nasm?arch=source&distro=focal

Affected ranges

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

Affected versions

2.*
2.14.02-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "nasm",
            "binary_version": "2.14.02-1"
        }
    ],
    "priority_reason": "localhost access is needed"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8842.json"
Ubuntu:25.10
nasm

Package

Name
nasm
Purl
pkg:deb/ubuntu/nasm?arch=source&distro=questing

Affected ranges

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

Affected versions

2.*
2.16.03-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "nasm",
            "binary_version": "2.16.03-1"
        }
    ],
    "priority_reason": "localhost access is needed"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8842.json"
Ubuntu:26.04:LTS
nasm

Package

Name
nasm
Purl
pkg:deb/ubuntu/nasm?arch=source&distro=resolute

Affected ranges

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

Affected versions

2.*
2.16.03-1
3.*
3.01-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "nasm",
            "binary_version": "3.01-1"
        }
    ],
    "priority_reason": "localhost access is needed"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8842.json"
Ubuntu:Pro:22.04:LTS
nasm

Package

Name
nasm
Purl
pkg:deb/ubuntu/nasm?arch=source&distro=esm-apps%2Fjammy

Affected ranges

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

Affected versions

2.*
2.15.05-1
2.15.05-1ubuntu0.1~esm1
2.15.05-1ubuntu0.1~esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "nasm",
            "binary_version": "2.15.05-1ubuntu0.1~esm2"
        }
    ],
    "priority_reason": "localhost access is needed"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8842.json"
Ubuntu:Pro:24.04:LTS
nasm

Package

Name
nasm
Purl
pkg:deb/ubuntu/nasm?arch=source&distro=esm-apps%2Fnoble

Affected ranges

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

Affected versions

2.*
2.16.01-1
2.16.01-1build1
2.16.01-1ubuntu0.1~esm1
2.16.01-1ubuntu0.1~esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "nasm",
            "binary_version": "2.16.01-1ubuntu0.1~esm2"
        }
    ],
    "priority_reason": "localhost access is needed"
}

Database specific

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