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)
結論預警: CVE-2008-1685 綜合評估為中等風險(49.4/100):CVSS 技術影響為中級,利用機率(EPSS 1.25%) 強制指令: 梳理受影響資產並納入修補計畫。
風險隨態勢動態變化;本站持續評估並同步更新本頁展示內容。
EPSS 日更估計相對被利用可能性;百分位表示該 CVE 在已評分漏洞中的相對排名(越高表示相對更嚴重)。
| # | 日期 | 舊 EPSS 分數 | 新 EPSS 分數 | 變化(新 − 舊) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 2.01% | 1.25% | -0.76% |
| 2 | 2025-09-15 | 0.49% | 2.01% | +1.53% |
| 3 | 2025-03-17 | — | 0.49% | — |
完整 EPSS 歷史 (共 5 筆)
該 CVE 的 CVSS 指標。
| 底座分 | 版本 | 嚴重度 | 向量 | 可利用性 | 影響 | 分數來源 |
|---|---|---|---|---|---|---|
| 6.8 | 2.0 | MEDIUM |
|
8.6 | 6.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2008-1685 |
ubuntu
|
low | CVE-2008-1685 low priority: Ubuntu including 2 source packages (gcc-4.2, gcc-4.3), 18 status rows across 9 suites (dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, karmic, upstream): ignored 10, DNE 8. | https://ubuntu.com/security/CVE-2008-1685 |
The Red Hat Security Response Team is aware of this new gcc behavior and is currently working to determine what impact these changes will have on the source code processed by the compiler. These changes do not affect Red Hat Enterprise Linux 2, 3, 4, or 5.
| 廠商 | 產品 | 版本 | 原始 CPE |
|---|---|---|---|
| gnu | gcc | 4.2.0 | cpe:2.3:a:gnu:gcc:4.2.0:*:*:*:*:*:*:* |
| gnu | gcc | 4.2.1 | cpe:2.3:a:gnu:gcc:4.2.1:*:*:*:*:*:*:* |
| gnu | gcc | 4.2.2 | cpe:2.3:a:gnu:gcc:4.2.2:*:*:*:*:*:*:* |
| gnu | gcc | 4.2.3 | cpe:2.3:a:gnu:gcc:4.2.3:*:*:*:*:*:*:* |
| gnu | gcc | 4.2.4 | cpe:2.3:a:gnu:gcc:4.2.4:*:*:*:*:*:*:* |
| gnu | gcc | 4.3.0 | cpe:2.3:a:gnu:gcc:4.3.0:*:*:*:*:*:*:* |