Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2008-1685 Details

Description

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)

Metrics

CVSS 3.x Severity and Vector Strings:

No CVSS 3.x data is available for this CVE.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer[email protected]
CWE-189Numeric Errors[email protected]

Affected Products

ProductVersions
gnu gcc
4.2.0
4.2.1
4.2.2
4.2.3
4.2.4

CPE

  • cpe:2.3:a:gnu:gcc:4.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gcc:4.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gcc:4.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gcc:4.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gcc:4.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:gcc:4.3.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

12 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2008-1685
NVD Published Date:
Apr 6, 2008
NVD Last Modified:
Jun 16, 2026
Source:
[email protected]
CVE-2008-1685 Details - Not Deferred