Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-5667 EUVD-2012-5550GHSA-ww72-x43x-r55q

Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to execute arbitrary code via vectors involving …

Published Jan 3, 2013 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 grep 2.11-1 —
Debian 13 grep 2.11-1 —
Debian 12 grep 2.11-1 —
ReleasePackageFixed inAdvisory
RHEL 6 grep 2.20-3.el6 RHSA-2015:1447

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References