CVE-2009-0148
Multiple buffer overflows in Cscope before 15.7a allow remote attackers to execute arbitrary code via long strings in input such as (1)…
Check your servers for CVE-2009-0148
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-0148 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 6.76%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.7% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2009-0148 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-0148RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-0148Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2009-0148
trivy image --scanners vuln IMAGE | grep CVE-2009-0148
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 35462 secunia.com · third party advisory
- http://support.apple.com/kb/HT3549 support.apple.com
- RHSA-2009:1101 redhat.com · vendor advisory
- 35074 secunia.com · third party advisory
- APPLE-SA-2009-05-12 lists.apple.com · vendor advisory
- 35214 secunia.com · third party advisory
- RHSA-2009:1102 redhat.com · vendor advisory
- GLSA-200905-02 security.gentoo.org · vendor advisory
- TA09-133A us-cert.gov · third party advisory
- 35213 secunia.com · third party advisory
- http://sourceforge.net/forum/forum.php?forum_id=947983 sourceforge.net
- DSA-1806 debian.org · vendor advisory
- 34978 secunia.com · third party advisory
- http://sourceforge.net/project/shownotes.php?group_id=4664&release_id=679527 sourceforge.net
- https://bugzilla.redhat.com/show_bug.cgi?id=490667 bugzilla.redhat.com
Other references
- [oss-security] 20090506 Re: Old cscope buffer overflow openwall.com · mailing list
- [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… sourceforge.net · mailing list
- ADV-2009-1238 vupen.com · vdb entry
- ADV-2009-1297 vupen.com · vdb entry
- 34805 securityfocus.com · vdb entry
- 1022218 securitytracker.com · vdb entry
- oval:org.mitre.oval:def:9633 oval.cisecurity.org · vdb entry, signature
Source: the record CVE-2009-0148 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse