CVE-2006-1902

CWE-119Buffer Overflow3 documents3 sources
Severity
2.1LOW
EPSS
0.1%
top 73.89%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 20
Latest updateMay 1

Description

fold_binary in fold-const.c in GNU Compiler Collection (gcc) 4.1 improperly handles pointer overflow when folding a certain expr comparison to a corresponding offset comparison in cases other than EQ_EXPR and NE_EXPR, which might introduce buffer overflow vulnerabilities into applications that could be exploited by context-dependent attackers.NOTE: the vendor states that the essence of the issue is "not correctly interpreting an offset to a pointer as a signed value."

CVSS vector

AV:L/AC:L/C:N/I:P/A:NExploitability: 3.9 | Impact: 2.9

Affected Packages1 packages

NVDgnu/gcc4.1

🔴Vulnerability Details

2
GHSA
GHSA-r8fv-8gwf-v44c: fold_binary in fold-const2022-05-01
CVEList
CVE-2006-1902: fold_binary in fold-const2006-04-20
CVE-2006-1902 (LOW CVSS 2.1) | fold_binary in fold-const.c in GNU | cvebase.io