Buffer overflow in GNU Grep
CVE-2015-1345
The bmexec_trans function in kwset.c in grep 2.19 through 2.21 allows local users to cause a denial of service (out-of-bounds heap read and crash) via crafted input when using the -F option.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 2.1 (Low). Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.005 (39.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 39.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- debbugs.gnu.org/cgi/bugreport.cgi (Exploit)
- www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- rhn.redhat.com/errata/RHSA-2015-1447.html (vendor-advisory)
- lists.opensuse.org/opensuse-updates/2015-02/msg00037.html (vendor-advisory)
- www.securityfocus.com/bid/72281 (vdb-entry)
- www.openwall.com/lists/oss-security/2015/01/22/10 (mailing-list)
- git.savannah.gnu.org/cgit/grep.git/commit/
Frequently asked questions
- What is CVE-2015-1345?
- CVE-2015-1345 is a vulnerability in GNU Grep, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2015-02-12.
- Is CVE-2015-1345 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.