GNU cflow
cpe:2.3:a:gnu:cflow:*:*:*:*:*:*:*
- <= 1.8
A critical buffer overflow vulnerability has been identified in GNU Cflow versions through 1.8. The issue arises in the lexical analysis function 'yylex' within the file 'c.c'. This vulnerability allows for local exploitation by manipulating array indices, leading to out-of-bounds memory access and a segmentation fault.
Exploitation of this vulnerability causes a segmentation fault, indicating a crash due to invalid memory access. However, such buffer overflow vulnerabilities can often be exploited to execute arbitrary code under certain conditions.
The vulnerability can be reproduced by compiling the latest version of GNU Cflow and using it to process a crafted C source file that triggers the buffer overflow. This can be done by using the '--tree' option followed by the name of the file containing the malformed C code.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.