CVE-2006-1902
Summary
| CVE | CVE-2006-1902 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2006-04-20 10:02:00 UTC |
| Updated | 2025-04-03 01:03:51 UTC |
| 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." |
Risk And Classification
Primary CVSS: v2.0 2.1 from [email protected]
AV:L/AC:L/Au:N/C:N/I:P/A:N
EPSS: 0.000940000 probability, percentile 0.260310000 (date 2026-04-20)
Problem Types: CWE-119 | n/a
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:L/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| SecurityFocus | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| pinskia at gcc dot g - [Bug middle-end/27180] pointer arithmetic overflow handling broken | af854a3a-2127-422b-91ae-364da2661108 | gcc.gnu.org | |
| SecurityFocus | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| SecurityFocus | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| #356896 - [PR 26763, 4.1 regression] gcc-4.1 miscompiles apcalc - Debian Bug report logs | af854a3a-2127-422b-91ae-364da2661108 | bugs.debian.org | |
| SecurityFocus | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| 404 Not Found | af854a3a-2127-422b-91ae-364da2661108 | gcc.gnu.org | |
| 26763 – [4.1/4.2 Regression] wrong final value of induction variable calculated | af854a3a-2127-422b-91ae-364da2661108 | gcc.gnu.org | |
| felix-gcc at fefe do - [Bug c/27180] New: pointer arithmetic overflow handling broken | af854a3a-2127-422b-91ae-364da2661108 | gcc.gnu.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.