Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2026-6068

NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed memory is stored in the global depend_file and later dereferenced, as the response-file buffer is freed before the pointer is used, allowing for data corruption or remote code execution.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-6068
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:17 UTC · Revision 1

Source evidence

CVE-2026-6068

core-osv · Original source

Published 10 Apr 2026, 13:30 UTC

NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed memory is stored in the global depend_file and later dereferenced, as the response-file buffer is freed before the pointer is used, allowing for data corruption or remote code execution.

osv:CVE-2026-6068
Complete source record
{
  "id": "e56653d0ef4d6104b2673cf4f878fd1140588aba89c9285e248d8c8b2923c090",
  "url": "https://osv.dev/vulnerability/CVE-2026-6068",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-6068",
    "summary": "NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed memory is stored in the global depend_file and later dereferenced, as the response-file buffer is freed before the pointer is used, allowing for data corruption or remote code execution.",
    "evidence": "osv:CVE-2026-6068",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-6068",
      "aliases": [
        "CVE-2026-6068"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/netwide-assembler/nasm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b1ee0338a3f8027cf6886ca21ee31d444c615373"
                },
                {
                  "last_affected": "b1ee0338a3f8027cf6886ca21ee31d444c615373"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "nasm-3.02rc5"
                      },
                      {
                        "last_affected": "nasm-3.02rc5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:nasm:netwide_assembler:3.02:rc5:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.02-rc5"
                      },
                      {
                        "last_affected": "3.02-rc5"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.02-rc5",
            "nasm-3.02rc5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6068.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.479583154Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6068.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-6068",
        "https://github.com/netwide-assembler/nasm/issues/222",
        "https://sekai.team/blog/nasm-cve-disclosure/cve-2026-6068"
      ],
      "provider_metadata": {
        "cna_assigner": "certcc",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6068.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-6068",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507158,
  "published_at": "2026-04-10T13:30:38.42+00:00"
}