Vulnerability in GNU Grep
CVE-2012-5667
Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to execute arbitrary code via vectors involving a long input line that triggers a heap-based buffer overflow.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.4 (Medium). Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.010 (62.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 62nd percentile — 62.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
- GNU Grep — versions 2.2, 2.3, 2.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473
- www.securityfocus.com/bid/57033 (vdb-entry)
- git.sv.gnu.org/gitweb/
- git.savannah.gnu.org/cgit/grep.git/commit/ (Patch)
- bugzilla.redhat.com/show_bug.cgi
- rhn.redhat.com/errata/RHSA-2015-1447.html (vendor-advisory)
- lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html (mailing-list)
- git.savannah.gnu.org/cgit/grep.git/commit/ (Patch)
- openwall.com/lists/oss-security/2012/12/22/6 (mailing-list)
Frequently asked questions
- What is CVE-2012-5667?
- CVE-2012-5667 is a vulnerability in GNU Grep, classified under CWE-189. Published 2013-01-03.
- Is CVE-2012-5667 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.