Multiple buffer overflows in Cscope before 15.7a allow remote attackers to execute…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
Multiple buffer overflows in Cscope before 15.7a allow remote attackers to execute arbitrary code via long strings in input such as (1) source-code tokens and (2) pathnames, related to integer overflows in some cases. NOTE: this issue exists because of an incomplete fix for CVE-2004-2541.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cscope:cscope:13.0:*:*:*:*:*:*:* | 13.0 | Vulnerable | Cscope |
| cpe:2.3:a:cscope:cscope:15.0bl2:*:*:*:*:*:*:* | 15.0bl2 | Vulnerable | Cscope |
| cpe:2.3:a:cscope:cscope:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | Cscope |
| cpe:2.3:a:cscope:cscope:15.3:*:*:*:*:*:*:* | 15.3 | Vulnerable | Cscope |
| cpe:2.3:a:cscope:cscope:15.4:*:*:*:*:*:*:* | 15.4 | Vulnerable | Cscope |
| cpe:2.3:a:cscope:cscope:15.5:*:*:*:*:*:*:* | 15.5 | Vulnerable | Cscope |
| cpe:2.3:a:cscope:cscope:15.6:*:*:*:*:*:*:* | 15.6 | Vulnerable | Cscope |
| cpe:2.3:a:cscope:cscope:15.7:*:*:*:*:*:*:* | 15.7 | Vulnerable | Cscope |
- cpe:2.3:a:cscope:cscope:13.0:*:*:*:*:*:*:* Versions 13.0 Vulnerable ·Cscope
- cpe:2.3:a:cscope:cscope:15.0bl2:*:*:*:*:*:*:* Versions 15.0bl2 Vulnerable ·Cscope
- cpe:2.3:a:cscope:cscope:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·Cscope
- cpe:2.3:a:cscope:cscope:15.3:*:*:*:*:*:*:* Versions 15.3 Vulnerable ·Cscope
- cpe:2.3:a:cscope:cscope:15.4:*:*:*:*:*:*:* Versions 15.4 Vulnerable ·Cscope
- cpe:2.3:a:cscope:cscope:15.5:*:*:*:*:*:*:* Versions 15.5 Vulnerable ·Cscope
- cpe:2.3:a:cscope:cscope:15.6:*:*:*:*:*:*:* Versions 15.6 Vulnerable ·Cscope
- cpe:2.3:a:cscope:cscope:15.7:*:*:*:*:*:*:* Versions 15.7 Vulnerable ·Cscope
Remediation
Red Hat 2 advisories
- RHSA-2009:1102 Released 2009-06-15 · Red Hat rating Moderatecscope security update
- Red Hat Enterprise Linux (v. 5 server) cscope-15.5-15.1.el5_3.1, cscope-15.5-15.1.el5_3.1.i386, cscope-15.5-15.1.el5_3.1.ia64 +1
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) cscope-15.5-15.1.el5_3.1, cscope-15.5-15.1.el5_3.1.i386
- RHSA-2009:1101 Released 2009-06-15 · Red Hat rating Moderatecscope security update
- Red Hat Desktop version 3 cscope-15.5-16.RHEL3, cscope-15.5-16.RHEL3.i386
- Red Hat Enterprise Linux AS version 3 cscope-15.5-16.RHEL3, cscope-15.5-16.RHEL3.i386, cscope-15.5-16.RHEL3.ia64 +1
- Red Hat Enterprise Linux AS version 4 cscope-15.5-10.RHEL4.3, cscope-15.5-10.RHEL4.3.i386, cscope-15.5-10.RHEL4.3.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 cscope-15.5-10.RHEL4.3, cscope-15.5-10.RHEL4.3.i386
- Red Hat Enterprise Linux ES version 3 cscope-15.5-16.RHEL3, cscope-15.5-16.RHEL3.i386, cscope-15.5-16.RHEL3.ia64
- Red Hat Enterprise Linux ES version 4 cscope-15.5-10.RHEL4.3, cscope-15.5-10.RHEL4.3.i386, cscope-15.5-10.RHEL4.3.ia64
- Red Hat Enterprise Linux WS version 3 cscope-15.5-16.RHEL3, cscope-15.5-16.RHEL3.i386, cscope-15.5-16.RHEL3.ia64
- Red Hat Enterprise Linux WS version 4 cscope-15.5-10.RHEL4.3, cscope-15.5-10.RHEL4.3.i386, cscope-15.5-10.RHEL4.3.ia64
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2009:1101 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2009:1102 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2009:1101 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2009:1101 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2009:1102 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2009:1101 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2009:1101 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2009:1101 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2009:1101 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2009:1101 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-0148
- 2026-10-03 Alias added: GHSA-vfq3-6prq-j8hp
References
Patch 2
Advisory 8
Other 5
- [oss-security] 20090506 Re: Old cscope buffer overflow
- http://support.apple.com/kb/HT3549
- [cscope-cvs] 20090410 CVS: cscope/src snprintf.c, NONE, 1.1 build.c, 1.14, 1.15 command.c, 1.32, 1.33 dir.c, 1.30, 1.31 display.c, 1.29, 1.30 edit.c, 1.6, 1.7 exec.c, 1.11, 1.12 find.c, 1.20, 1.21 global.h, 1.36, 1.37 main.c, 1.45, 1.46 Makefile.am, 1.12, 1.13 Makefile.in, 1.15, 1.16 vpaccess.c, 1.2, 1.3 vpfopen.c, 1.3, 1.4 vpopen.c, 1.4, 1.5
- oval:org.mitre.oval:def:9633
- https://bugzilla.redhat.com/show_bug.cgi?id=490667
More Cscope vulnerabilities
- TI-2009-01493 Multiple stack-based buffer overflows in the putstring function in find.c in Cscope… CVSS 2.0HIGH 9.3
- TI-2004-02411 Buffer overflow in Cscope 15.5, and possibly multiple overflows, allows remote attackers… CVSS 2.0MEDIUM 6.9
- TI-2006-04116 Multiple buffer overflows in cscope 15.5 and earlier allow user-assisted attackers to… CVSS 2.0MEDIUM 5.1
- TI-2004-00902 main.c in cscope 15-4 and 15-5 creates temporary files with predictable filenames, which… CVSS 2.0LOW 2.1
Sources
- CVE-2009-0148 · CVE Program
- CVE-2009-0148 · NVD
- FIRST EPSS
- GHSA-vfq3-6prq-j8hp · GitHub Advisory Database · CC BY 4.0
- CVE-2009-0148 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences