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

Low 2.1 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2006-1902?

CVE-2006-1902 is a low-severity vulnerability in n/a, published on 20 Apr 2006.

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

Weakness: CWE-119

Which versions are affected by CVE-2006-1902?

It affects 1 product.

Products include Gnu Gcc.

How do I fix CVE-2006-1902?

No fix has been published for CVE-2006-1902 yet. Limit exposure of the affected software until one is available.

Is CVE-2006-1902 being exploited?

There is no known exploitation of CVE-2006-1902 in the wild and no public exploit code.

Sources

Also known as GHSA-r8fv-8gwf-v44c.

Is CVE-2006-1902 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free