CVE-2017-15670: Buffer Overflow

Published Oct 20, 2017
·
Updated

A buffer overflow vulnerability caused by an off-by-one error was found in glibc. It is possible that an attacker might use this to escalate his privileges or execute code.

Upstream patch:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=2d1bd71ec70a31b01d01b734faa66bb1ed28961f

Upstream issue:

https://sourceware.org/bugzilla/showbug.cgi?id=22320

Other sources

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.

— Launchpad

Affected Software

3 affected componentsFixes available
redhat/glibc<2.27
2.27
GNU glibc<=2.26
debian/glibc
2.31-13+deb11u112.31-13+deb11u132.36-9+deb12u132.36-9+deb12u72.41-12+deb13u12.42-13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/glibc to a version that resolves this vulnerability.

    Fixed in 2.27
  2. Upgrade

    Upgrade debian/glibc to a version that resolves this vulnerability.

    Fixed in 2.31-13+deb11u11Fixed in 2.31-13+deb11u13Fixed in 2.36-9+deb12u13Fixed in 2.36-9+deb12u7Fixed in 2.41-12+deb13u1Fixed in 2.42-13
  3. Upgrade

    Upgrade glibc to a version that resolves this vulnerability.

    Fixed in 2.27

Event History

Oct 20, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Jun 20, 2018
Data Sourced
01:29 AM
Weakness
Data Sourced
via NVD·01:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·01:29 AM
Affected Software
Sep 9, 2021
Data Sourced
via Red Hat·12:44 PM
DescriptionSeverityAffected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
RemedyAffected Software

Frequently Asked Questions

1

What is CVE-2017-15670?

CVE-2017-15670 is a vulnerability in the GNU C Library (glibc) before version 2.27 that leads to a heap-based buffer overflow.

2

What is the severity of CVE-2017-15670?

CVE-2017-15670 has a severity rating of 9.8, which is considered critical.

3

How does CVE-2017-15670 impact the GNU C Library?

CVE-2017-15670 affects the glob function in glob.c, which leads to a heap-based buffer overflow in glibc.

4

Which versions of glibc are affected by CVE-2017-15670?

Versions before 2.27 of the GNU C Library (glibc) are affected by CVE-2017-15670.

5

Is there a fix available for CVE-2017-15670?

Yes, the vulnerability can be remediated by updating glibc to version 2.27 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203