Skip to content
Fencer Intel
low 2.1

CVE-2015-1345 json

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…

published 2015-02-12 11 y ago modified 2026-06-17 4 mo ago also EUVD-2015-1484

cvss
2.1
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 42%
public exploits
0
none known

Summary

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.

Patch / fix

  • grep Debian 14, Debian 13, Debian 12 2.20-4.1

debian advisories DEBIAN-CVE-2015-1345

  • grep RHEL 7 2.20-2.el7
  • grep RHEL 6 2.20-3.el6

red hat advisories RHSA-2015:2111RHSA-2015:1447

  • grep openSUSE Tumbleweed 2.27-2.1

opensuse advisories openSUSE-SU-2024:10248-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-1345 updated cvss 1.2

grep: heap buffer overrun

  • Red Hat Enterprise Linux Client (v. 7) grep 2.20-2.el7 Red Hat Enterprise Linux ComputeNode (v. 7) grep 2.20-2.el7
    fixed: vendor fix RHSA-2015:2111
  • Red Hat Enterprise Linux Desktop (v. 6) grep 2.20-3.el6 Red Hat Enterprise Linux HPC Node (v. 6) grep 2.20-3.el6 Red Hat Enterprise Linux Server (v. 6) grep 2.20-3.el6
    fixed: vendor fix RHSA-2015:1447
  • Red Hat Enterprise Linux Server (v. 7) grep 2.20-2.el7
    fixed: vendor fix RHSA-2015:2111
  • Red Hat Enterprise Linux Workstation (v. 6) grep 2.20-3.el6
    fixed: vendor fix RHSA-2015:1447
  • Red Hat Enterprise Linux Workstation (v. 7) grep 2.20-2.el7
    fixed: vendor fix RHSA-2015:2111
  • Red Hat Enterprise Linux 5 grep
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • debbugs.gnu.org http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19563 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.