Read the docs
TI-2008-01615 Aliases CVE-2008-1685GHSA-6pf5-463c-qv74

gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers…

Priority LOW 33CWE-119Published · Updated

Key facts

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

Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.

Summary

gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers the sum of a pointer and an int to be greater than or equal to the pointer, which might lead to removal of length testing code that was intended as a protection mechanism against integer overflow and buffer overflow attacks, and provide no diagnostic message about this removal. NOTE: the vendor has determined that this compiler behavior is correct according to section 6.5.6 of the C99 standard (aka ISO/IEC 9899:1999)

Why it matters now

EPSS 0.01253 69th 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 · 6

CPEVersionsRoleVendor
cpe:2.3:a:gnu:gcc:4.2.0:*:*:*:*:*:*:*4.2.0VulnerableGNU
cpe:2.3:a:gnu:gcc:4.2.1:*:*:*:*:*:*:*4.2.1VulnerableGNU
cpe:2.3:a:gnu:gcc:4.2.2:*:*:*:*:*:*:*4.2.2VulnerableGNU
cpe:2.3:a:gnu:gcc:4.2.3:*:*:*:*:*:*:*4.2.3VulnerableGNU
cpe:2.3:a:gnu:gcc:4.2.4:*:*:*:*:*:*:*4.2.4VulnerableGNU
cpe:2.3:a:gnu:gcc:4.3.0:*:*:*:*:*:*:*4.3.0VulnerableGNU
  • cpe:2.3:a:gnu:gcc:4.2.0:*:*:*:*:*:*:* Versions 4.2.0 Vulnerable ·GNU
  • cpe:2.3:a:gnu:gcc:4.2.1:*:*:*:*:*:*:* Versions 4.2.1 Vulnerable ·GNU
  • cpe:2.3:a:gnu:gcc:4.2.2:*:*:*:*:*:*:* Versions 4.2.2 Vulnerable ·GNU
  • cpe:2.3:a:gnu:gcc:4.2.3:*:*:*:*:*:*:* Versions 4.2.3 Vulnerable ·GNU
  • cpe:2.3:a:gnu:gcc:4.2.4:*:*:*:*:*:*:* Versions 4.2.4 Vulnerable ·GNU
  • cpe:2.3:a:gnu:gcc:4.3.0:*:*:*:*:*:*:* Versions 4.3.0 Vulnerable ·GNU

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2008-1685
  2. 2026-10-03 Alias added: GHSA-6pf5-463c-qv74

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