Read the docs
TI-2012-04766 Aliases CVE-2012-5667GHSA-ww72-x43x-r55q

Multiple integer overflows in GNU Grep before 2.11 might allow context-dependent…

Priority LOW 22CWE-189Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
Code execution
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01022 63rd percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 18

CPEVersionsRoleVendor
cpe:2.3:a:gnu:grep:*:*:*:*:*:*:*:*up to 2.10VulnerableGNU
cpe:2.3:a:gnu:grep:2.2:*:*:*:*:*:*:*2.2VulnerableGNU
cpe:2.3:a:gnu:grep:2.3:*:*:*:*:*:*:*2.3VulnerableGNU
cpe:2.3:a:gnu:grep:2.4:*:*:*:*:*:*:*2.4VulnerableGNU
cpe:2.3:a:gnu:grep:2.4.1:*:*:*:*:*:*:*2.4.1VulnerableGNU
cpe:2.3:a:gnu:grep:2.4.2:*:*:*:*:*:*:*2.4.2VulnerableGNU
cpe:2.3:a:gnu:grep:2.5:*:*:*:*:*:*:*2.5VulnerableGNU
cpe:2.3:a:gnu:grep:2.5.1:*:*:*:*:*:*:*2.5.1VulnerableGNU
cpe:2.3:a:gnu:grep:2.5.1:a:*:*:*:*:*:*2.5.1 aVulnerableGNU
cpe:2.3:a:gnu:grep:2.5.3:*:*:*:*:*:*:*2.5.3VulnerableGNU
  • cpe:2.3:a:gnu:grep:*:*:*:*:*:*:*:* Versions up to 2.10 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.2:*:*:*:*:*:*:* Versions 2.2 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.3:*:*:*:*:*:*:* Versions 2.3 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.4:*:*:*:*:*:*:* Versions 2.4 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.4.1:*:*:*:*:*:*:* Versions 2.4.1 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.4.2:*:*:*:*:*:*:* Versions 2.4.2 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.5:*:*:*:*:*:*:* Versions 2.5 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.5.1:*:*:*:*:*:*:* Versions 2.5.1 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.5.1:a:*:*:*:*:*:* Versions 2.5.1 a Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.5.3:*:*:*:*:*:*:* Versions 2.5.3 Vulnerable ·GNU
Show 8 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:gnu:grep:2.5.4:*:*:*:*:*:*:*2.5.4VulnerableGNU
cpe:2.3:a:gnu:grep:2.6:*:*:*:*:*:*:*2.6VulnerableGNU
cpe:2.3:a:gnu:grep:2.6.1:*:*:*:*:*:*:*2.6.1VulnerableGNU
cpe:2.3:a:gnu:grep:2.6.2:*:*:*:*:*:*:*2.6.2VulnerableGNU
cpe:2.3:a:gnu:grep:2.6.3:*:*:*:*:*:*:*2.6.3VulnerableGNU
cpe:2.3:a:gnu:grep:2.7:*:*:*:*:*:*:*2.7VulnerableGNU
cpe:2.3:a:gnu:grep:2.8:*:*:*:*:*:*:*2.8VulnerableGNU
cpe:2.3:a:gnu:grep:2.9:*:*:*:*:*:*:*2.9VulnerableGNU
  • cpe:2.3:a:gnu:grep:2.5.4:*:*:*:*:*:*:* Versions 2.5.4 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.6:*:*:*:*:*:*:* Versions 2.6 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.6.1:*:*:*:*:*:*:* Versions 2.6.1 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.6.2:*:*:*:*:*:*:* Versions 2.6.2 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.6.3:*:*:*:*:*:*:* Versions 2.6.3 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.7:*:*:*:*:*:*:* Versions 2.7 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.8:*:*:*:*:*:*:* Versions 2.8 Vulnerable ·GNU
  • cpe:2.3:a:gnu:grep:2.9:*:*:*:*:*:*:* Versions 2.9 Vulnerable ·GNU

Remediation

Red Hat 1 advisory

  • RHSA-2015:1447 Released 2015-07-20 · Red Hat rating Low
    grep security, bug fix, and enhancement update
    • Red Hat Enterprise Linux Desktop (v. 6) grep-2.20-3.el6
    • Red Hat Enterprise Linux HPC Node (v. 6) grep-2.20-3.el6
    • Red Hat Enterprise Linux Server (v. 6) grep-2.20-3.el6
    • Red Hat Enterprise Linux Workstation (v. 6) grep-2.20-3.el6

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux Desktop (v. 6)Fixed RHSA-2015:1447
Red Hat Enterprise Linux HPC Node (v. 6)Fixed RHSA-2015:1447
Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2015:1447
Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2015:1447
Not affected: 2 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2012-5667
  2. 2026-10-03 Alias added: GHSA-ww72-x43x-r55q

References

  • TI-2015-01224 The bmexec_trans function in kwset.c in grep 2.19 through 2.21 allows local users to… CVSS 2.0LOW 2.1

Sources