Vulnerabilities · 2012 · Gnu
CVE-2012-5667
Gnu Grep vulnerability
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.
Affected products
Grep. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Grep runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91 · Patch
- git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189 · Patch
- git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11
- lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html
- openwall.com/lists/oss-security/2012/12/22/6
- rhn.redhat.com/errata/RHSA-2015-1447.html
- www.securityfocus.com/bid/57033
- bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473
- nvd.nist.gov/vuln/detail/CVE-2012-5667
- cve.org/CVERecord?id=CVE-2012-5667
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.