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

EPSS: 0.005 (39.1th percentile) — read the EPSS interpretation.

Affected products

  • Gnu Grep — versions 2.19, 2.20, 2.21
  • Opensuse — versions 13.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.