{"id":"CVE-2012-5667","aliases":["EDB-23779"],"kind":"cve","tier":"cold","status":"published","title":"Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to execute arbitrary code vi…","description":"Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to execute arbitrary code via vectors involving a long input line that triggers a heap-based buffer overflow.","ai_summary":null,"severity":"medium","cvss":{"score":4.4,"version":"2.0","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","source":"NVD"},"scores":[{"score":4.4,"version":"2.0","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-189"],"remote":false,"remote_unauth":false,"epss":{"score":0.01022,"percentile":0.62606,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[23779]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2015-1447.html","kind":"vendor"},{"url":"http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91","kind":"patch"},{"url":"http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189","kind":"patch"},{"url":"https://www.exploit-db.com/exploits/23779","kind":"exploit"},{"url":"https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473","kind":"other"},{"url":"http://www.securityfocus.com/bid/57033","kind":"other"},{"url":"http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11","kind":"other"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=889935","kind":"other"},{"url":"http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html","kind":"other"},{"url":"http://openwall.com/lists/oss-security/2012/12/22/6","kind":"other"}],"workarounds":null,"vendors":["gnu"],"products":["grep"],"cpes":["cpe:2.3:a:gnu:grep:*:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.2:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.3:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.4.1:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.4.2:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.4:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.5.1:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.5.1:a:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.5.3:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.5.4:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.5:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.6.1:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.6.2:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.6.3:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.6:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.7:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.8:*:*:*:*:*:*:*","cpe:2.3:a:gnu:grep:2.9:*:*:*:*:*:*:*"],"published_at":"2012-12-31T00:00:00.000Z","modified_at":"2026-06-16T23:47:12.983Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5667"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/23779"}],"links":{"html":"https://flawdb.com/CVE-2012-5667","markdown":"https://flawdb.com/CVE-2012-5667.md","json":"https://flawdb.com/api/v1/entries/CVE-2012-5667"}}