CVE catalog

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-

[CVE catalog]

Severity
Critical · CVSS 9.6
Published
Source
[NVD] · [CVE record]
EPSS
0.43% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannasmsid3.01-1vulnerable
Debiannasmforky3.01-1vulnerable
Debiannasmtrixie2.16.03-1vulnerable
Debiannasmbookworm2.16.01-1vulnerable
CpenasmNot reportedNot reportedvulnerable
Cpenetwide_assemblerNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannasmsourcesid(unfixed)unimportantNot reported[1133376]
Debiannasmsourceforky(unfixed)unimportantNot reported[1133376]
Debiannasmsourcetrixie(unfixed)unimportantNot reported[1133376]
Debiannasmsourcebookworm(unfixed)unimportantNot reported[1133376]

[Debian bug #1133376]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [nasm]Affected
    Details (2)
    • 2.16.01-1 · amd64 · bookworm

      Affected

      nvd · nasm · debian · bookworm; nvd · nasm · debian · 12

    • 2.16.01-1 · arm64 · bookworm

      Affected

      nvd · nasm · debian · bookworm; nvd · nasm · debian · 12

[Debian 13 (Trixie)]

  • [nasm]Affected
    Details (2)
    • 2.16.03-1 · amd64 · trixie

      Affected

      nvd · nasm · debian · 13

    • 2.16.03-1 · arm64 · trixie

      Affected

      nvd · nasm · debian · 13

Observed:

References