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, 42.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (1karu32s/dagda_offline, bharatsunny/dagda, dbeltran24/Dagda, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- debbugs.gnu.org/cgi/bugreport.cgi (Exploit)
- www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- RHSA-2015:1447 (vendor-advisory)
- openSUSE-SU-2015:0243 (vendor-advisory)
- www.securityfocus.com/bid/72281 (vdb-entry)
- [oss-security] 20150122 Re: CVE request: grep heap buffer overrun (mailing-list)
- git.savannah.gnu.org/cgit/grep.git/commit/