CVE-2008-1685: gnu gcc
Vulnerability summary
CVE-2008-1685 is a medium (CVSS 6.8) vulnerability in gnu gcc. EPSS estimates a 1.25% chance of exploitation in the next 30 days, higher than 70.4% of scored vulnerabilities.
Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-04-2008PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
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)
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
1.25%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.25% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-189Numeric ErrorsWeaknesses in this category are related to improper calculation or conversion of numbers.
Affected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Gnu1 product
- gcc4.2.0 | 4.2.1 | 4.2.2 | 4.2.3 | 4.2.4 | 4.3.0
1 vendor · 1 product
References
3 links- gcc.gnu.org/bugzilla/show_bug.cgi?id=26763X Refsource MISC