Read the docs
TI-2006-01847 Aliases CVE-2006-1902GHSA-r8fv-8gwf-v44c

fold_binary in fold-const.c in GNU Compiler Collection (gcc) 4.1 improperly handles…

Priority LOW 12CWE-119Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Partial · None
Fix status
No fix listed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA.

Summary

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

Why it matters now

EPSS 0.00428 37th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gnu:gcc:4.1:*:*:*:*:*:*:*4.1VulnerableGNU
  • cpe:2.3:a:gnu:gcc:4.1:*:*:*:*:*:*:* Versions 4.1 Vulnerable ·GNU

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2006-1902
  2. 2026-10-03 Alias added: GHSA-r8fv-8gwf-v44c

References

  • TI-2023-03747 GCC's-fstack-protector fails to guard dynamically-sized local variables on AArch64 CVSS 3.1MEDIUM 4.8
  • TI-2018-09258 stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU… CVSS 3.0HIGH 8.1
  • TI-2019-11913 The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize… CVSS 3.1HIGH 7.5
  • TI-2008-01316 gcc 4.3.x does not generate a cld instruction while compiling functions used for string… CVSS 2.0HIGH 7.5
  • TI-2021-15306 GCC c++filt v2.26 was discovered to contain a use-after-free vulnerability via the component cplus-dem.c. CVSS 3.1HIGH 7.8
  • TI-2000-01207 The -ftrapv compiler option in gcc and g++ 3.3.3 and earlier does not handle all types of… CVSS 2.0HIGH 7.5
See all 13 →

Sources