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."

Published: 2006-04-20 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2006-1902 is rated Low Risk (20.4/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.42%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2006-1902

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.06% 0.42% +0.36%
2 2023-03-07 1.28% 0.06% -1.22%
3 2022-02-04 1.28%

Full EPSS history (3 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2006-1902

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
2.1 2.0 LOW
AV:L/AC:L/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
3.9 2.9 [email protected]

Weakness enumeration for CVE-2006-1902

OS Trackers for CVE-2006-1902

vendor priority summary link
suse medium https://www.suse.com/security/cve/CVE-2006-1902/
ubuntu medium CVE-2006-1902 medium priority: Ubuntu including 9 source packages (gcc-4.0, gcc-4.1, …), 36 status rows across 4 suites (dapper, edgy, feisty, upstream): DNE 17, needs-triage 9, released 6, not-affected 4. https://ubuntu.com/security/CVE-2006-1902

Affected software / configurations for CVE-2006-1902

Vendor Product Version Raw CPE
gnu gcc 4.1 cpe:2.3:a:gnu:gcc:4.1:*:*:*:*:*:*:*

References for CVE-2006-1902

cvelogic Threat Intelligence