Live threats

All CVEs / Gnu

CVE-2012-5667Gnu Grep

Medium 4.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Grep.

Affected products (CPE)

VendorProductVersions
gnugrep≤ 2.10
gnugrep2.2
gnugrep2.3
gnugrep2.4
gnugrep2.4.1
gnugrep2.4.2
gnugrep2.5
gnugrep2.5.1
gnugrep2.5.1
gnugrep2.5.3
gnugrep2.5.4
gnugrep2.6
gnugrep2.6.1
gnugrep2.6.2
gnugrep2.6.3
gnugrep2.7
gnugrep2.8
gnugrep2.9

Official sources

References

Links published by the sources. Open them with care.