Description
Multiple stack-based buffer overflows in the putstring function in find.c in Cscope before 15.6 allow user-assisted remote attackers to execute arbitrary code via a long (1) function name or (2) symbol in a source-code file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cscope | 15.6-1 | — |
| Debian 13 | cscope | 15.6-1 | — |
| Debian 12 | cscope | 15.6-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | cscope | 15.5-10.RHEL4.3 | RHSA-2009:1101 |
| RHEL 3 | cscope | 15.5-16.RHEL3 | RHSA-2009:1101 |
Advisories 1
- RHSA-2009:1101 Red Hat Security Advisory: cscope security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- [oss-security] 20090506 Re: Old cscope buffer overflow mailing-list
- oval:org.mitre.oval:def:9837 vdb-entry signature
- RHSA-2009:1101 vendor-advisory
- http://cvs.fedoraproject.org/viewvc/rpms/cscope/devel/cscope-15.5-putstring-overflow.patch
- http://cscope.cvs.sourceforge.net/viewvc/cscope/cscope/src/find.c?view=log#rev1.19
- http://cscope.cvs.sourceforge.net/viewvc/cscope/cscope/src/find.c?r1=1.18&r2=1.19
- [oss-security] 20090505 Old cscope buffer overflow mailing-list
- GLSA-200905-02 vendor-advisory
- cscope-findc-bo(50366) vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=499174
- 35213 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=189666
- [oss-security] 20090506 Re: Old cscope buffer overflow mailing-list