CVE-2012-5667
CVE-2012-5667 is a medium-severity vulnerability in Gnu Grep with a CVSS 2.0 base score of 4.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-189.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.4)
- EPSS exploit prediction: 1% (59th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-189
- Affected product: Gnu Grep
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2012-5667?
- 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.
- How severe is CVE-2012-5667?
- CVE-2012-5667 has a CVSS 2.0 base score of 4.4, rated medium severity.
- Is CVE-2012-5667 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (59th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5667?
- CVE-2012-5667 primarily affects Gnu Grep. In total, 18 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-5667?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-5667 published?
- CVE-2012-5667 was published on 2013-01-03 and last updated on 2026-06-16.
References
- http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8fcf61523644df42e1905c81bed26838e0b04f91
- http://git.savannah.gnu.org/cgit/grep.git/commit/?id=cbbc1a45b9f843c811905c97c90a5d31f8e6c189
- http://git.sv.gnu.org/gitweb/?p=grep.git%3Ba=shortlog%3Bh=v2.11
- http://lists.gnu.org/archive/html/bug-grep/2012-12/msg00004.html
- http://openwall.com/lists/oss-security/2012/12/22/6
- http://rhn.redhat.com/errata/RHSA-2015-1447.html
- http://www.securityfocus.com/bid/57033
- https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1091473
- https://bugzilla.redhat.com/show_bug.cgi?id=889935
Affected products (18)
- cpe:2.3:a:gnu:grep:*:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.3:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.4:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.4.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.5:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.5.1:a:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.5.3:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.5.4:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.6:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.6.1:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.6.2:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.6.3:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.7:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.8:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:grep:2.9:*:*:*:*:*:*:*
More vulnerabilities in Gnu Grep
- CVE-2015-1345 — Low (CVSS 2.1): The bmexec_trans function in kwset.c in grep 2.19 through 2.21 allows local users to cause a denial of service…
Other CWE-189 (Numeric Errors) vulnerabilities
- CVE-2015-8396 — Critical (CVSS 10.0): Integer overflow in the ImageRegionReader::ReadIntoBuffer function in…
- CVE-2015-7205 — Critical (CVSS 10.0): Integer underflow in the RTPReceiverVideo::ParseRtpPacket function in Mozilla Firefox before 43.0 and Firefox ESR 38.x…
- CVE-2015-6575 — Critical (CVSS 10.0): SampleTable.cpp in libstagefright in Android before 5.1.1 LMY48I does not properly consider integer promotion, which…
- CVE-2015-3864 — Critical (CVSS 10.0): Integer underflow in the MPEG4Extractor::parseChunk function in MPEG4Extractor.cpp in libstagefright in mediaserver in…
- CVE-2015-3836 — Critical (CVSS 10.0): The Parse_wave function in arm-wt-22k/lib_src/eas_mdls.c in the Sonivox DLS-to-EAS converter in Android before 5.1.1…
- CVE-2015-3834 — Critical (CVSS 10.0): Multiple integer overflows in the BnHDCP::onTransact function in media/libmedia/IHDCP.cpp in libstagefright in Android…