nasm — security advisory
A vulnerability was identified in NASM Netwide Assember 2.17rc0. This issue affects the function assemble_file of the file nasm.c. The manipulation leads to stack-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.
- Products
- nasm
- Affected versions
- 2.11.06-1really2.11.05-1, 2.11.08-1, 2.11.08-1ubuntu0.1, 2.13.01-2, 2.13.02-0.1, 2.14.02-1, 2.15.05-1, 2.15.05-1ubuntu0.1~esm1, 2.15.05-1ubuntu0.1~esm2, 2.16.01-1, 2.16.01-1build1, 2.16.01-1ubuntu0.1~esm1, 2.16.01-1ubuntu0.1~esm2, 2.16.03-1, 3.01-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-8845
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:56 UTC · Revision 1
Source evidence
A vulnerability was identified in NASM Netwide Assember 2.17rc0. This issue affects the function assemble_file of the file nasm.c. The manipulation leads to stack-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.
osv:UBUNTU-CVE-2025-8845
nasm
Fixed versions: Not specified
nasm
Fixed versions: Not specified
nasm
Fixed versions: Not specified
nasm
Fixed versions: Not specified
nasm
Fixed versions: Not specified
nasm
Fixed versions: Not specified
nasm
Fixed versions: Not specified
nasm
Fixed versions: Not specified
Complete source record
{
"id": "615d34c8a917462a025cfe91f973e015dfa0c2c22fcde76bc3b452c6db5ad341",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-8845",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-8845",
"summary": "A vulnerability was identified in NASM Netwide Assember 2.17rc0. This issue affects the function assemble_file of the file nasm.c. The manipulation leads to stack-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.",
"evidence": "osv:UBUNTU-CVE-2025-8845",
"products": [
{
"name": {
"value": "nasm",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.11.06-1really2.11.05-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.11.08-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.11.08-1ubuntu0.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nasm",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.13.01-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.13.02-0.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "nasm",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.14.02-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "nasm",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.15.05-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.15.05-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
},
{
"value": "2.15.05-1ubuntu0.1~esm2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "nasm",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.16.01-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.16.01-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "2.16.01-1ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
},
{
"value": "2.16.01-1ubuntu0.1~esm2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "nasm",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.16.03-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "nasm",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.01-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "nasm",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.16.03-1",
"evidence": "/affected/7/versions"
},
{
"value": "3.01-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2025-8845",
"aliases": [
"UBUNTU-CVE-2025-8845"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "low"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nasm",
"purl": "pkg:deb/ubuntu/nasm?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.11.06-1really2.11.05-1",
"2.11.08-1",
"2.11.08-1ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8845.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nasm",
"binary_version": "2.11.08-1ubuntu0.1"
}
],
"priority_reason": "localhost access is needed"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nasm",
"purl": "pkg:deb/ubuntu/nasm?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.13.01-2",
"2.13.02-0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8845.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nasm",
"binary_version": "2.13.02-0.1"
}
],
"priority_reason": "localhost access is needed"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nasm",
"purl": "pkg:deb/ubuntu/nasm?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.14.02-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8845.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nasm",
"binary_version": "2.14.02-1"
}
],
"priority_reason": "localhost access is needed"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nasm",
"purl": "pkg:deb/ubuntu/nasm?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"2.15.05-1",
"2.15.05-1ubuntu0.1~esm1",
"2.15.05-1ubuntu0.1~esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8845.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nasm",
"binary_version": "2.15.05-1ubuntu0.1~esm2"
}
],
"priority_reason": "localhost access is needed"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nasm",
"purl": "pkg:deb/ubuntu/nasm?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"2.16.01-1",
"2.16.01-1build1",
"2.16.01-1ubuntu0.1~esm1",
"2.16.01-1ubuntu0.1~esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8845.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nasm",
"binary_version": "2.16.01-1ubuntu0.1~esm2"
}
],
"priority_reason": "localhost access is needed"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nasm",
"purl": "pkg:deb/ubuntu/nasm?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.16.03-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8845.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nasm",
"binary_version": "2.16.03-1"
}
],
"priority_reason": "localhost access is needed"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nasm",
"purl": "pkg:deb/ubuntu/nasm?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.01-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8845.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nasm",
"binary_version": "3.01-1"
}
],
"priority_reason": "localhost access is needed"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nasm",
"purl": "pkg:deb/ubuntu/nasm?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.16.03-1",
"3.01-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-8845.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nasm",
"binary_version": "3.01-1"
}
],
"priority_reason": "localhost access is needed"
}
}
],
"modified": "2026-10-17T12:57:44.623697796Z",
"provider": "osv",
"upstream": [
"CVE-2025-8845"
],
"references": [
"https://ubuntu.com/security/CVE-2025-8845",
"https://www.cve.org/CVERecord?id=CVE-2025-8845",
"https://bugzilla.nasm.us/show_bug.cgi?id=3392937",
"https://drive.google.com/file/d/1pEQb6lcdohWV53DzPPU7kaCCNg-qAaau/view?usp=drive_link",
"https://vuldb.com/?ctiid.319379",
"https://vuldb.com/?id.319379",
"https://vuldb.com/?submit.623188"
]
},
"related_cves": [
{
"value": "CVE-2025-8845",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 357672,
"published_at": "2025-08-11T13:15:00+00:00"
}