CVE-2006-1902
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356896
- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763
- [gcc-bugs] 20060417 [Bug c/27180] New: pointer arithmetic overflow handling broken http://gcc.gnu.org/ml/gcc-bugs/2006-04/msg01297.html
- [gcc-bugs] 20060417 [Bug middle-end/27180] New: pointer arithmetic overflow handling broken http://gcc.gnu.org/ml/gcc-bugs/2006-04/msg01298.html
- http://gcc.gnu.org/viewcvs/branches/gcc-4_1-branch/gcc/fold-const.c?r1=110549&r2=112698&pathrev=112698&diff_format=h
- 20060417 gcc 4.1 bug miscompiles pointer range checks, may place you at risk http://www.securityfocus.com/archive/1/431184/100/0/threaded
- 20060418 RE: gcc 4.1 bug miscompiles pointer range checks, may place you at risk http://www.securityfocus.com/archive/1/431245/100/0/threaded
- 20060418 Re: gcc 4.1 bug miscompiles pointer range checks, may place you at risk http://www.securityfocus.com/archive/1/431297/100/0/threaded
- 20060418 Re: gcc 4.1 bug miscompiles pointer range checks, may place you at risk http://www.securityfocus.com/archive/1/431319/100/0/threaded
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bf4207f5351636c16fcc9192e76b2f11fc914b89f7b0ea61d8008f5f098e627f
- Ingested
- 23 Sep 2026, 07:38:02 UTC
- Source record
- Official CVE record