CVE-2008-1685
6.8 · MEDIUMOverview
CVE-2008-1685 is a medium-severity vulnerability affecting gnu gcc. It was published on April 6, 2008 and has a CVSS 2.0 base score of 6.8 (MEDIUM).
This vulnerability has a CVSS 2.0 base score of 6.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
Technical 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)
Remediation
Check the references section for vendor advisories and patches from gnu. Update gcc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|
Frequently Asked Questions
What is CVE-2008-1685?
CVE-2008-1685 is a medium-severity vulnerability affecting gnu gcc. It was published on April 6, 2008 and has a CVSS 2.0 base score of 6.8 (MEDIUM).
How severe is CVE-2008-1685?
This vulnerability has a CVSS 2.0 base score of 6.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
How do I fix or remediate CVE-2008-1685?
Check the references section for vendor advisories and patches from gnu. Update gcc to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2008-1685?
CyberStrike's AI-powered security agents can automatically detect CVE-2008-1685 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related MEDIUM CVEs from 2008
View all →The script program in FreeBSD 5.0 through 7.0-PRERELEASE invokes openpty, which creates a pseudo-ter
Multiple unspecified programs in IBM Informix Dynamic Server (IDS) 10.x before 10.00.xC8 allow local
cp, when running with an option to preserve symlinks on multiple OSes, allows local, user-assisted a
Untrusted search path vulnerability in db2pd in IBM DB2 Universal Database (UDB) 8 before FixPak 16
Directory traversal vulnerability in the Shared Folders feature for VMWare ACE 1.0.2 and 2.0.2, Play
Multiple stack-based buffer overflows in Symark PowerBroker 2.8 through 5.0.1 allow local users to g
Untrusted search path vulnerability in man in IBM AIX 6.1.0 allows local users to execute arbitrary
sdbstarter in SAP MaxDB 7.6.0.37, and possibly other versions, allows local users to execute arbitra
Integer overflow in CoreFoundation in Apple Mac OS X 10.4.11 might allow local users to execute arbi
Format string vulnerability in mDNSResponderHelper in Apple Mac OS X 10.5.2 allows local users to ex
Unspecified vulnerability in NetCfgTool in the System Configuration component in Apple Mac OS X 10.4
The prerm script in axyl 2.1.7 allows local users to overwrite arbitrary files via a symlink attack