CVE-2015-1345

NameCVE-2015-1345
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
Debian Bugs776039

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
grep (PTS)stretch2.27-2fixed
buster3.3-1fixed
bullseye3.6-1fixed
bookworm, sid3.7-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
grepsourcesqueeze(not affected)
grepsourcewheezy(not affected)
grepsource(unstable)2.20-4.1low776039

Notes

[squeeze] - grep <not-affected> (Issue introduced with v2.18-90-g73893ff)
[wheezy] - grep <not-affected> (Issue introduced with v2.18-90-g73893ff)
http://bugs.gnu.org/19563
Upstream fix: http://git.sv.gnu.org/cgit/grep.git/commit/?id=83a95bd8c8561875b948cadd417c653dbe7ef2e2

Search for package or bug name: Reporting problems