CVE-2006-1902: gnu gcc
Vulnerability summary
CVE-2006-1902 is a low (CVSS 2.1) vulnerability in gnu gcc. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 35.6% of scored vulnerabilities.
Timeline
- 20-04-2006PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
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 metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
+0.01 pp
From 0.42% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Gnu1 product
- gcc4.1
1 vendor · 1 product
References
9 links- gcc.gnu.org/bugzilla/show_bug.cgi?id=26763X Refsource CONFIRM
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=356896X Refsource MISC
- gcc.gnu.org/viewcvs/…X Refsource CONFIRM