Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2008-1685

published

gcc: gcc-4.2 may optimize out certain length checks

Title from Red Hat VEX

Published
06 Apr 2008, 23:00:00 UTC
Updated
07 Aug 2024, 08:32:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre

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)

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

3
  • http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763 x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)
  • VU#162289 http://www.kb.cert.org/vuls/id/162289 third-party-advisory, x_refsource_CERT-VN, x_transferred Contributors: mitre (cna), CVE (adp)
  • gcc-weak-security(41686) https://exchange.xforce.ibmcloud.com/vulnerabilities/41686 vdb-entry, x_refsource_XF, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9028342446fbae07ea34c1ea0c4df4fb5c8e1736357328743e8cb5866403db8a
Ingested
23 Sep 2026, 07:38:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected