{"cve":"CVE-2006-1902","nvd":{"published":"2006-04-20T10:02:00.000","modified":"2026-06-16T22:23:54.593","status":"Modified","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.\"","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-119"],"references":["http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356896","http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763","http://gcc.gnu.org/ml/gcc-bugs/2006-04/msg01297.html","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"],"products":["gnu:gcc"],"source":"nvd","synced_at":"2026-10-19T19:42:01.759833969+00:00"},"epss":{"cve":"CVE-2006-1902","score":0.00428,"percentile":0.37127,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}