CVE-2014-7187 Memory corruption in n/a

Critical 10.0 Published Updated

Remote attackers can cause a denial of service in GNU Bash via deeply nested for loops due to an off-by-one error.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-7187?

CVE-2014-7187 is a critical memory corruption vulnerability in n/a, published on 28 Sep 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Off-by-one error in the read_token_word function in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers to cause a denial of service (out-of-bounds array access and application crash) or possibly have unspecified other impact via deeply nested for loops, aka the "word_lineno" issue.

Weakness: CWE-119

Which versions are affected by CVE-2014-7187?

It affects 1 product.

Products include Gnu Bash.

How do I fix CVE-2014-7187?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2014-7187 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-7187 exists.

Public exploit code: 2 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2014-7187, GHSA-8m22-gm6f-5487, UBUNTU-CVE-2014-7187.

Is CVE-2014-7187 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free