{"id":"UBUNTU-CVE-2015-1345","details":"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.","modified":"2025-07-16T07:48:28.298987Z","published":"2015-02-12T16:59:00Z","withdrawn":"2025-07-18T16:43:10Z","upstream":["CVE-2015-1345"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-1345"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-1345"}],"affected":[{"package":{"name":"grep","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/grep@2.16-1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16-1"}]}],"versions":["2.14-3","2.14-4","2.15-1","2.15-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.16-1","binary_name":"grep"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-1345.json"}},{"package":{"name":"grep","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/grep@2.24-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.24-1"}]}],"versions":["2.21-2","2.22-1ubuntu2","2.23-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.24-1","binary_name":"grep"},{"binary_version":"2.24-1","binary_name":"grep-dbgsym"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-1345.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}