Every CVE Search/ Get API key

CVE-2012-5667

Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to...

4.4 MediumPublic exploitFix available

CVE-2012-5667 is a medium vulnerability (CVSS 4.4) in Gnu Grep, published January 3, 2013. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.02%, the 63rd percentile. Fixed in grep 2.11-1.

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.

Exploit likelihood

1.02%Down 8.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.4

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.

Record
CVE-2012-5667
CVSS 2.0
4.4 MediumAV:L/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-189
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-5667
Updated
2026-11-02
EUVDEUVD-2012-5550 No score

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.

Record
EUVD-2012-5550
Updated
2026-11-03
GitHub AdvisoriesGHSA-ww72-x43x-r55q No score

Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent attackers to...

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.

Record
GHSA-ww72-x43x-r55q
Updated
2026-11-02
OSVBELL-CVE-2012-5667 4.4

CVE-2012-5667 does not affect BellSoft software

Record
BELL-CVE-2012-5667
CVSS 2.0
4.4 MediumAV:L/AC:M/Au:N/C:P/I:P/A:P
Updated
2026-11-02
OSV No score

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.

Record
CVE-2012-5667
Updated
2026-11-02
OSVDEBIAN-CVE-2012-5667 No score

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.

Record
DEBIAN-CVE-2012-5667
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
grep
Debian:12
before 2.11-1
2.11-1
grep
Debian:13
before 2.11-1
2.11-1
grep
Debian:14
before 2.11-1
2.11-1
grep
Red Hat:enterprise_linux:6::client
before 0:2.20-3.el6
0:2.20-3.el6
grep-debuginfo
Red Hat:enterprise_linux:6::client
before 0:2.20-3.el6
0:2.20-3.el6
grep
Red Hat:enterprise_linux:6::computenode
before 0:2.20-3.el6
0:2.20-3.el6
grep-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:2.20-3.el6
0:2.20-3.el6
grep
Red Hat:enterprise_linux:6::server
before 0:2.20-3.el6
0:2.20-3.el6
grep-debuginfo
Red Hat:enterprise_linux:6::server
before 0:2.20-3.el6
0:2.20-3.el6
grep
Red Hat:enterprise_linux:6::workstation
before 0:2.20-3.el6
0:2.20-3.el6
grep-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:2.20-3.el6
0:2.20-3.el6

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBGrep < 2.11 - Integer Overflow Crash (PoC)2012-12-31

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

References

Show 22 moreShow less
MoveEnter Open