CVE-2017-15670 Memory corruption in n/a

Critical 9.8 Published Updated

An off-by-one error in glibc's glob function allows heap-based buffer overflows, potentially enabling code execution or denial of service.

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

What is CVE-2017-15670?

CVE-2017-15670 is a critical memory corruption vulnerability in Gnu Glibc, published on 20 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow in the glob function in glob.c, related to the processing of home directories using the ~ operator followed by a long string.

Weakness: CWE-119

Which versions are affected by CVE-2017-15670?

It affects 1 product.

Products include Gnu Glibc.

How do I fix CVE-2017-15670?

Upgrade to a fixed version.

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

Is CVE-2017-15670 being exploited?

There is no known exploitation of CVE-2017-15670 in the wild and no public exploit code.

All Gnu Glibc vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-15670, GHSA-h2gh-x43j-97v2, UBUNTU-CVE-2017-15670.

Is CVE-2017-15670 in your software?

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

Check your SBOMs for free