CVE-2006-1902: Buffer Overflow

Published Apr 20, 2006
·
Updated

foldbinary 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 EQEXPR and NEEXPR, 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."

Affected Software

1 affected component
GNU gcc=4.1

Event History

Apr 20, 2006
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2006-1902?

CVE-2006-1902 is considered a moderate severity vulnerability due to the potential for buffer overflow issues.

2

How do I fix CVE-2006-1902?

To fix CVE-2006-1902, you should upgrade to a more recent version of the GNU Compiler Collection, as version 4.1 is affected.

3

What types of software are affected by CVE-2006-1902?

CVE-2006-1902 specifically affects version 4.1 of the GNU Compiler Collection (GCC).

4

What are the consequences of exploiting CVE-2006-1902?

Exploitation of CVE-2006-1902 may lead to buffer overflow vulnerabilities, potentially allowing arbitrary code execution.

5

When was CVE-2006-1902 reported?

CVE-2006-1902 was reported in 2006, highlighting issues present in the GNU Compiler Collection.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203