Skip to content
Heist/ feed
Back to feed
High

nasm — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-6067

A heap buffer overflow vulnerability exists in the Netwide Assembler (NASM) due to a lack of bounds checking in the obj_directive() function. This vulnerability can be exploited by a user assembling a malicious .asm file, potentially leading to heap memory corruption, denial of service (crash), and arbitrary code execution.

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-2026-6067
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:43 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-6067

core-osv · Original source

Published 10 Apr 2026, 14:16 UTC

A heap buffer overflow vulnerability exists in the Netwide Assembler (NASM) due to a lack of bounds checking in the obj_directive() function. This vulnerability can be exploited by a user assembling a malicious .asm file, potentially leading to heap memory corruption, denial of service (crash), and arbitrary code execution.

osv:UBUNTU-CVE-2026-6067

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": "ae705d90adad281c1ecc7b68a0e26ed8e4e09dde5131ffbaf5f32061d11c1dce",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-6067",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-6067",
    "summary": "A heap buffer overflow vulnerability exists in the Netwide Assembler (NASM) due to a lack of bounds checking in the obj_directive() function. This vulnerability can be exploited by a user assembling a malicious .asm file, potentially leading to heap memory corruption, denial of service (crash), and arbitrary code execution.",
    "evidence": "osv:UBUNTU-CVE-2026-6067",
    "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-2026-6067",
      "aliases": [
        "UBUNTU-CVE-2026-6067"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "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/2026/UBUNTU-CVE-2026-6067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nasm",
                "binary_version": "2.11.08-1ubuntu0.1"
              }
            ]
          }
        },
        {
          "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/2026/UBUNTU-CVE-2026-6067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nasm",
                "binary_version": "2.13.02-0.1"
              }
            ]
          }
        },
        {
          "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/2026/UBUNTU-CVE-2026-6067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nasm",
                "binary_version": "2.14.02-1"
              }
            ]
          }
        },
        {
          "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/2026/UBUNTU-CVE-2026-6067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nasm",
                "binary_version": "2.15.05-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "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/2026/UBUNTU-CVE-2026-6067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nasm",
                "binary_version": "2.16.01-1ubuntu0.1~esm2"
              }
            ]
          }
        },
        {
          "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/2026/UBUNTU-CVE-2026-6067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nasm",
                "binary_version": "2.16.03-1"
              }
            ]
          }
        },
        {
          "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/2026/UBUNTU-CVE-2026-6067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nasm",
                "binary_version": "3.01-1"
              }
            ]
          }
        },
        {
          "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/2026/UBUNTU-CVE-2026-6067.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "nasm",
                "binary_version": "3.01-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:00.392633470Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-6067"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-6067",
        "https://www.cve.org/CVERecord?id=CVE-2026-6067",
        "https://github.com/netwide-assembler/nasm/issues/203"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-6067",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354535,
  "published_at": "2026-04-10T14:16:00+00:00"
}