CVE-2012-5667Gnu Grep
Medium 4.4
Follow: this CVE · Gnu · Gnu Grep We alert you by email or Slack (account required).
- Priority
- 27
- CVSS 2.0
- 4.4
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- Yes
- Published
- Jan 3, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-189
- Vector
AV:L/AC:M/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Grep.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | grep | ≤ 2.10 |
| gnu | grep | 2.2 |
| gnu | grep | 2.3 |
| gnu | grep | 2.4 |
| gnu | grep | 2.4.1 |
| gnu | grep | 2.4.2 |
| gnu | grep | 2.5 |
| gnu | grep | 2.5.1 |
| gnu | grep | 2.5.1 |
| gnu | grep | 2.5.3 |
| gnu | grep | 2.5.4 |
| gnu | grep | 2.6 |
| gnu | grep | 2.6.1 |
| gnu | grep | 2.6.2 |
| gnu | grep | 2.6.3 |
| gnu | grep | 2.7 |
| gnu | grep | 2.8 |
| gnu | grep | 2.9 |
Official sources
References
Links published by the sources. Open them with care.