CVE-2006-1902Gnu Gcc
Low 2.1
Follow: this CVE · Gnu · Gnu Gcc We alert you by email or Slack (account required).
- Priority
- 13
- CVSS 2.0
- 2.1
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 39
- Auth required
- Yes
- Published
- Apr 20, 2006
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
AV:L/AC:L/Au:N/C:N/I:P/A:N
What happens
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."
What to do
- Apply the vendor's security update for Gcc.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | gcc | 4.1 |
Official sources
References
Links published by the sources. Open them with care.