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.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Netwide_assembler | Nasm | * | 2.14.02 (including) |
Nasm | Ubuntu | bionic | * |
Nasm | Ubuntu | cosmic | * |
Nasm | Ubuntu | disco | * |
Nasm | Ubuntu | eoan | * |
Nasm | Ubuntu | groovy | * |
Nasm | Ubuntu | hirsute | * |
Nasm | Ubuntu | impish | * |
Nasm | Ubuntu | kinetic | * |
Nasm | Ubuntu | lunar | * |
Nasm | Ubuntu | mantic | * |
Nasm | Ubuntu | trusty | * |
Nasm | Ubuntu | xenial | * |