CVE-2012-5667 json
Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to execute arbitrary code via vectors involving…
published 2013-01-03 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5550
- cvss
- 4.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- grep Debian 14, Debian 13, Debian 12 2.11-1
debian advisories DEBIAN-CVE-2012-5667
- grep RHEL 6 2.20-3.el6
red hat advisories RHSA-2015:1447
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-5667 updated cvss 4.4
grep: Integer overflow leading to heap-based buffer-overflow when reading large lines
-
Red Hat Enterprise Linux Desktop (v. 6) grep 2.20-3.el6 Red Hat Enterprise Linux HPC Node (v. 6) grep 2.20-3.el6 Red Hat Enterprise Linux Server (v. 6) grep 2.20-3.el6 Red Hat Enterprise Linux Workstation (v. 6) grep 2.20-3.el6fixed: vendor fix RHSA-2015:1447
-
Red Hat Enterprise Linux 5 grep Red Hat Enterprise Linux 7 grepnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-23779)
- Published
Exploit prediction
1.02% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-23779 Grep < 2.11 - Integer Overflow Crash (PoC) dos, 2012-12-31
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
References
-
git.savannah.gnu.org
/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91
patch
-
git.savannah.gnu.org
/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189
patch
-
rhn.redhat.com
/errata/RHSA-2015-1447.html
vendor-advisory
- bugs.launchpad.net /ubuntu/+source/grep/+bug/1091473
-
securityfocus.com
/bid/57033
vdb-entry
- git.sv.gnu.org /gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11
- bugzilla.redhat.com /show_bug.cgi?id=889935
-
lists.gnu.org
/archive/html/bug-grep/2012-12/msg00004.html
mailing-list
-
openwall.com
/lists/oss-security/2012/12/22/6
mailing-list
Sources
- CVE List CVE-2012-5667
- NVD CVE-2012-5667
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.