CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2006-1902

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."
Publish Date : 2006-04-20 Last Update Date : 2011-02-10
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
2.1
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact None (There is no impact to the availability of the system.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Overflow
CWE ID 119

- Products Affected By CVE-2006-1902

# Product Type Vendor Product Version Update Edition Language
1 Application GNU GCC 4.1 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
GNU GCC 1

- References For CVE-2006-1902

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356896
http://gcc.gnu.org/ml/gcc-bugs/2006-04/msg01297.html
MLIST [gcc-bugs] 20060417 [Bug c/27180] New: pointer arithmetic overflow handling broken
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763 CONFIRM
http://www.securityfocus.com/archive/1/431319/100/0/threaded
BUGTRAQ 20060418 Re: gcc 4.1 bug miscompiles pointer range checks, may place you at risk
http://gcc.gnu.org/ml/gcc-bugs/2006-04/msg01298.html
MLIST [gcc-bugs] 20060417 [Bug middle-end/27180] New: pointer arithmetic overflow handling broken
http://gcc.gnu.org/viewcvs/branches/gcc-4_1-branch/gcc/fold-const.c?r1=110549&r2=112698&pathrev=112698&diff_format=h CONFIRM
http://www.securityfocus.com/archive/1/431297/100/0/threaded
BUGTRAQ 20060418 Re: gcc 4.1 bug miscompiles pointer range checks, may place you at risk
http://www.securityfocus.com/archive/1/archive/1/431184/100/0/threaded
BUGTRAQ 20060417 gcc 4.1 bug miscompiles pointer range checks, may place you at risk
http://www.securityfocus.com/archive/1/archive/1/431245/100/0/threaded
BUGTRAQ 20060418 RE: gcc 4.1 bug miscompiles pointer range checks, may place you at risk

- Metasploit Modules Related To CVE-2006-1902

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.