CVE-2012-5667
Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to...
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.
Exploit likelihood
What each source reports
NVD Score used
4.4
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.
- Record
CVE-2012-5667- CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-5667- Updated
- 2026-11-02
EUVDEUVD-2012-5550 No score
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.
- Record
EUVD-2012-5550- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-ww72-x43x-r55q No score
Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to...
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.
- Record
GHSA-ww72-x43x-r55q- Updated
- 2026-11-02
OSVBELL-CVE-2012-5667
4.4
CVE-2012-5667 does not affect BellSoft software
- Record
BELL-CVE-2012-5667- CVSS 2.0
- 4.4 Medium
AV:L/AC:M/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-5667- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-5667 No score
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.
- Record
DEBIAN-CVE-2012-5667- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
grepDebian:12 |
before 2.11-1 | 2.11-1 |
grepDebian:13 |
before 2.11-1 | 2.11-1 |
grepDebian:14 |
before 2.11-1 | 2.11-1 |
grepRed Hat:enterprise_linux:6::client |
before 0:2.20-3.el6 | 0:2.20-3.el6 |
grep-debuginfoRed Hat:enterprise_linux:6::client |
before 0:2.20-3.el6 | 0:2.20-3.el6 |
grepRed Hat:enterprise_linux:6::computenode |
before 0:2.20-3.el6 | 0:2.20-3.el6 |
grep-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:2.20-3.el6 | 0:2.20-3.el6 |
grepRed Hat:enterprise_linux:6::server |
before 0:2.20-3.el6 | 0:2.20-3.el6 |
grep-debuginfoRed Hat:enterprise_linux:6::server |
before 0:2.20-3.el6 | 0:2.20-3.el6 |
grepRed Hat:enterprise_linux:6::workstation |
before 0:2.20-3.el6 | 0:2.20-3.el6 |
grep-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:2.20-3.el6 | 0:2.20-3.el6 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Grep < 2.11 - Integer Overflow Crash (PoC) | 2012-12-31 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-5667 is a medium vulnerability (CVSS 4.4) in Gnu Grep, published January 3, 2013. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.02%, the 63rd percentile. Fixed in grep 2.11-1.
References
bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473
securityfocus.com/bid/57033
git.sv.gnu.org/gitweb?p=grep.git%3Ba=shortlog%3Bh=v2.11
git.savannah.gnu.org/cgit/grep.git/commit?id=8fcf61523644df42e1905c81bed26838e0b04f91
bugzilla.redhat.com/show_bug.cgi?id=889935
rhn.redhat.com/errata/RHSA-2015-1447.html
Show 22 moreShow less
lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html
git.savannah.gnu.org/cgit/grep.git/commit?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189
openwall.com/lists/oss-security/2012/12/22/6
nvd.nist.gov/vuln/detail/CVE-2012-5667
git.sv.gnu.org/gitweb?p=grep.git;a=shortlog;h=v2.11
github.com/advisories/GHSA-ww72-x43x-r55q
docs.bell-sw.com/security/cves/CVE-2012-5667
security-tracker.debian.org/tracker/CVE-2012-5667
access.redhat.com/errata/RHSA-2015:1447
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=799863
bugzilla.redhat.com/show_bug.cgi?id=982215
bugzilla.redhat.com/show_bug.cgi?id=1103270
bugzilla.redhat.com/show_bug.cgi?id=1167766
bugzilla.redhat.com/show_bug.cgi?id=1171806
bugzilla.redhat.com/show_bug.cgi?id=1183651
security.access.redhat.com/data/csaf/v2/advisories/2015/rhsa-2015_1447.json
access.redhat.com/security/cve/CVE-2012-5667
cve.org/CVERecord?id=CVE-2012-5667
access.redhat.com/security/cve/CVE-2015-1345
cve.org/CVERecord?id=CVE-2015-1345
nvd.nist.gov/vuln/detail/CVE-2015-1345