CVE-2006-1902

Summary

CVECVE-2006-1902
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2006-04-20 10:02:00 UTC
Updated2025-04-03 01:03:51 UTC
Descriptionfold_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
Local
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:L/AC:L/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnu Gcc 4.1 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
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

© CVE.report 2026

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.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report