nmap — security advisory
Nmap versions up to and including 7.99 contains a denial of service vulnerability that allows remote attackers to crash the application by sending a crafted packet containing a zero-length TCP option. The malformed packet forces the Packet:parse_options() function in nselib/packet.lua to allocate objects in an infinite loop, causing an out-of-memory condition that results in application crash.
- Products
- nmap
- Affected versions
- 6.40-0.1ubuntu1, 6.40-0.2ubuntu1, 6.47-7, 7.01-2ubuntu1, 7.01-2ubuntu2, 7.60-1ubuntu1, 7.60-1ubuntu2, 7.60-1ubuntu3, 7.60-1ubuntu4, 7.60-1ubuntu5, 7.80+dfsg1-1build1, 7.80+dfsg1-1build2, 7.80+dfsg1-2, 7.80+dfsg1-2build1, 7.80+dfsg1-2ubuntu0.1, 7.91+dfsg1+really7.80+dfsg1-2, 7.91+dfsg1+really7.80+dfsg1-2build1, 7.91+dfsg1+really7.80+dfsg1-2ubuntu0.1, 7.94+git20230807.3be01efb1+dfsg-1, 7.94+git20230807.3be01efb1+dfsg-2, 7.94+git20230807.3be01efb1+dfsg-3, 7.94+git20230807.3be01efb1+dfsg-3build1, 7.94+git20230807.3be01efb1+dfsg-3build2, 7.95+dfsg-3, 7.98+dfsg-1, 7.99+dfsg-1ubuntu1, 7.99+dfsg-1ubuntu2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-72712
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:15 UTC · Revision 1
Source evidence
Nmap versions up to and including 7.99 contains a denial of service vulnerability that allows remote attackers to crash the application by sending a crafted packet containing a zero-length TCP option. The malformed packet forces the Packet:parse_options() function in nselib/packet.lua to allocate objects in an infinite loop, causing an out-of-memory condition that results in application crash.
osv:UBUNTU-CVE-2026-72712
nmap
Fixed versions: Not specified
nmap
Fixed versions: Not specified
nmap
Fixed versions: Not specified
nmap
Fixed versions: Not specified
nmap
Fixed versions: Not specified
nmap
Fixed versions: Not specified
nmap
Fixed versions: Not specified
nmap
Fixed versions: Not specified
Complete source record
{
"id": "8b691275992922060d19d2986fc691d6ad94c9d22cfd2ef6d1f714c86ebddbe5",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-72712",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-72712",
"summary": "Nmap versions up to and including 7.99 contains a denial of service vulnerability that allows remote attackers to crash the application by sending a crafted packet containing a zero-length TCP option. The malformed packet forces the Packet:parse_options() function in nselib/packet.lua to allocate objects in an infinite loop, causing an out-of-memory condition that results in application crash.",
"evidence": "osv:UBUNTU-CVE-2026-72712",
"products": [
{
"name": {
"value": "nmap",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.40-0.1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "6.40-0.2ubuntu1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nmap",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.47-7",
"evidence": "/affected/1/versions"
},
{
"value": "7.01-2ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "7.01-2ubuntu2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "nmap",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.60-1ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "7.60-1ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "7.60-1ubuntu3",
"evidence": "/affected/2/versions"
},
{
"value": "7.60-1ubuntu4",
"evidence": "/affected/2/versions"
},
{
"value": "7.60-1ubuntu5",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "nmap",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.80+dfsg1-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "7.80+dfsg1-1build2",
"evidence": "/affected/3/versions"
},
{
"value": "7.80+dfsg1-2",
"evidence": "/affected/3/versions"
},
{
"value": "7.80+dfsg1-2build1",
"evidence": "/affected/3/versions"
},
{
"value": "7.80+dfsg1-2ubuntu0.1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "nmap",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.91+dfsg1+really7.80+dfsg1-2",
"evidence": "/affected/4/versions"
},
{
"value": "7.91+dfsg1+really7.80+dfsg1-2build1",
"evidence": "/affected/4/versions"
},
{
"value": "7.91+dfsg1+really7.80+dfsg1-2ubuntu0.1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "nmap",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.94+git20230807.3be01efb1+dfsg-1",
"evidence": "/affected/5/versions"
},
{
"value": "7.94+git20230807.3be01efb1+dfsg-2",
"evidence": "/affected/5/versions"
},
{
"value": "7.94+git20230807.3be01efb1+dfsg-3",
"evidence": "/affected/5/versions"
},
{
"value": "7.94+git20230807.3be01efb1+dfsg-3build1",
"evidence": "/affected/5/versions"
},
{
"value": "7.94+git20230807.3be01efb1+dfsg-3build2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "nmap",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.98+dfsg-1",
"evidence": "/affected/6/versions"
},
{
"value": "7.99+dfsg-1ubuntu1",
"evidence": "/affected/6/versions"
},
{
"value": "7.99+dfsg-1ubuntu2",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "nmap",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.95+dfsg-3",
"evidence": "/affected/7/versions"
},
{
"value": "7.98+dfsg-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-72712",
"aliases": [
"UBUNTU-CVE-2026-72712"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/ubuntu/nmap?arch=source&distro=trusty",
"ecosystem": "Ubuntu:14.04:LTS"
},
"versions": [
"6.40-0.1ubuntu1",
"6.40-0.2ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72712.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nmap",
"binary_version": "6.40-0.2ubuntu1"
},
{
"binary_name": "zenmap",
"binary_version": "6.40-0.2ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/ubuntu/nmap?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"6.47-7",
"7.01-2ubuntu1",
"7.01-2ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72712.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ndiff",
"binary_version": "7.01-2ubuntu2"
},
{
"binary_name": "nmap",
"binary_version": "7.01-2ubuntu2"
},
{
"binary_name": "zenmap",
"binary_version": "7.01-2ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/ubuntu/nmap?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"7.60-1ubuntu1",
"7.60-1ubuntu2",
"7.60-1ubuntu3",
"7.60-1ubuntu4",
"7.60-1ubuntu5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72712.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ndiff",
"binary_version": "7.60-1ubuntu5"
},
{
"binary_name": "nmap",
"binary_version": "7.60-1ubuntu5"
},
{
"binary_name": "zenmap",
"binary_version": "7.60-1ubuntu5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/ubuntu/nmap?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"7.80+dfsg1-1build1",
"7.80+dfsg1-1build2",
"7.80+dfsg1-2",
"7.80+dfsg1-2build1",
"7.80+dfsg1-2ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72712.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ncat",
"binary_version": "7.80+dfsg1-2ubuntu0.1"
},
{
"binary_name": "ndiff",
"binary_version": "7.80+dfsg1-2ubuntu0.1"
},
{
"binary_name": "nmap",
"binary_version": "7.80+dfsg1-2ubuntu0.1"
},
{
"binary_name": "nmap-common",
"binary_version": "7.80+dfsg1-2ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/ubuntu/nmap?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"7.91+dfsg1+really7.80+dfsg1-2",
"7.91+dfsg1+really7.80+dfsg1-2build1",
"7.91+dfsg1+really7.80+dfsg1-2ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72712.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ncat",
"binary_version": "7.91+dfsg1+really7.80+dfsg1-2ubuntu0.1"
},
{
"binary_name": "ndiff",
"binary_version": "7.91+dfsg1+really7.80+dfsg1-2ubuntu0.1"
},
{
"binary_name": "nmap",
"binary_version": "7.91+dfsg1+really7.80+dfsg1-2ubuntu0.1"
},
{
"binary_name": "nmap-common",
"binary_version": "7.91+dfsg1+really7.80+dfsg1-2ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/ubuntu/nmap?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"7.94+git20230807.3be01efb1+dfsg-1",
"7.94+git20230807.3be01efb1+dfsg-2",
"7.94+git20230807.3be01efb1+dfsg-3",
"7.94+git20230807.3be01efb1+dfsg-3build1",
"7.94+git20230807.3be01efb1+dfsg-3build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72712.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ncat",
"binary_version": "7.94+git20230807.3be01efb1+dfsg-3build2"
},
{
"binary_name": "ndiff",
"binary_version": "7.94+git20230807.3be01efb1+dfsg-3build2"
},
{
"binary_name": "nmap",
"binary_version": "7.94+git20230807.3be01efb1+dfsg-3build2"
},
{
"binary_name": "nmap-common",
"binary_version": "7.94+git20230807.3be01efb1+dfsg-3build2"
},
{
"binary_name": "zenmap",
"binary_version": "7.94+git20230807.3be01efb1+dfsg-3build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/ubuntu/nmap?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"7.98+dfsg-1",
"7.99+dfsg-1ubuntu1",
"7.99+dfsg-1ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72712.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ncat",
"binary_version": "7.99+dfsg-1ubuntu2"
},
{
"binary_name": "ndiff",
"binary_version": "7.99+dfsg-1ubuntu2"
},
{
"binary_name": "nmap",
"binary_version": "7.99+dfsg-1ubuntu2"
},
{
"binary_name": "nmap-common",
"binary_version": "7.99+dfsg-1ubuntu2"
},
{
"binary_name": "zenmap",
"binary_version": "7.99+dfsg-1ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nmap",
"purl": "pkg:deb/ubuntu/nmap?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"7.95+dfsg-3",
"7.98+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-72712.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ncat",
"binary_version": "7.98+dfsg-1"
},
{
"binary_name": "ndiff",
"binary_version": "7.98+dfsg-1"
},
{
"binary_name": "nmap",
"binary_version": "7.98+dfsg-1"
},
{
"binary_name": "nmap-common",
"binary_version": "7.98+dfsg-1"
},
{
"binary_name": "zenmap",
"binary_version": "7.98+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T13:00:50.172871891Z",
"provider": "osv",
"upstream": [
"CVE-2026-72712"
],
"references": [
"https://ubuntu.com/security/CVE-2026-72712",
"https://www.cve.org/CVERecord?id=CVE-2026-72712",
"https://github.com/nmap/nmap/issues/3368",
"https://github.com/nmap/nmap",
"https://github.com/nmap/nmap/commit/7ef4ee030a0023fe22616387a000032e1a678b6a",
"https://www.vulncheck.com/advisories/nmap-denial-of-service-via-zero-length-tcp-option-packet"
]
},
"related_cves": [
{
"value": "CVE-2026-72712",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 360852,
"published_at": "2026-08-11T18:18:00+00:00"
}