# CVE-2019-6291: An issue was discovered in the function expr6 in eval.c in Netwide Assembler (NASM) through 2.14.02.

- Severity: Medium 5.5 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.17%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-01-15T00:00:00.000Z
- Modified: 2026-06-17T02:38:57.780Z
- Weaknesses: CWE-674
- Assigned by: mitre

## Description

An issue was discovered in the function expr6 in eval.c in Netwide Assembler (NASM) through 2.14.02. There is a stack exhaustion problem caused by the expr6 function making recursive calls to itself in certain scenarios involving lots of '!' or '+' or '-' characters. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted asm file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nasm netwide_assembler: up to 2.14.02

## Every score

- NVD: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.nasm.us/show_bug.cgi?id=3392549> (exploit, issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2019-6291](https://www.cve.org/CVERecord?id=CVE-2019-6291), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2019-6291](https://nvd.nist.gov/vuln/detail/CVE-2019-6291), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-6291 · Whole record: https://cve.day/CVE-2019-6291.json · Rebuilt by cve.day 2026-11-25T22:57:43.565Z
