CVE-2012-5667
publishedgrep: Integer overflow leading to heap-based buffer-overflow when reading large lines
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Oracle Linux | 6 | grepi686 | Advisory build | 0:2.20-3.el6 | ELSA-2015-1447 |
| Red Hat Enterprise Linux | RHEL-6 | grepi686 | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
| Oracle Linux | 6 | grepx86_64 | Advisory build | 0:2.20-3.el6 | ELSA-2015-1447 |
| Red Hat Enterprise Linux | RHEL-6 | grepppc64 | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
| Red Hat Enterprise Linux | RHEL-6 | greps390x | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
| Red Hat Enterprise Linux | RHEL-6 | grepsrc | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
| Red Hat Enterprise Linux | RHEL-6 | grepx86_64 | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | grep-debuginfoi686 | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
| Red Hat Enterprise Linux | RHEL-6 | grep-debuginfoppc64 | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
| Red Hat Enterprise Linux | RHEL-6 | grep-debuginfos390x | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
| Red Hat Enterprise Linux | RHEL-6 | grep-debuginfox86_64 | Advisory build | 2.20-3.el6 | RHSA-2015:1447 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
9- http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91
- http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189
- http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11
- [bug-grep] 20121217 Re: Exploit in grep.. http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html
- [oss-security] 20121221 Re: CVE Request: grep http://openwall.com/lists/oss-security/2012/12/22/6
- RHSA-2015:1447 http://rhn.redhat.com/errata/RHSA-2015-1447.html
- 57033 http://www.securityfocus.com/bid/57033
- https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473
- https://bugzilla.redhat.com/show_bug.cgi?id=889935
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9451bc90f73eadd609fa04b4631d06f9d4372fcd016ec7144d909e1eadcb5d34
- Ingested
- 23 Sep 2026, 07:39:23 UTC
- Source record
- Official CVE record