CVE-2017-15804: Buffer Overflow

Published Oct 22, 2017
·
Updated

Last updated 25 August 2025

Other sources

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27 contains a buffer overflow during unescaping of user names with the ~ operator.

— MITRE

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 22, 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
Sep 9, 2021
Data Sourced
via Red Hat·12:44 PM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·02:40 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
02:40 AM
RemedyAffected Software
Updated
via NVD·02:40 AM
Affected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
RemedyAffected Software

Frequently Asked Questions

1

What is CVE-2017-15804?

CVE-2017-15804 is a vulnerability in the GNU C Library (glibc) that allows a buffer overflow during unescaping of user names with the ~ operator.

2

What is the severity of CVE-2017-15804?

The severity of CVE-2017-15804 is critical with a CVSS score of 9.8.

3

Which software versions are affected by CVE-2017-15804?

The affected software versions include glibc 2.19-0ubuntu6.14, glibc 2.26-0ubuntu2.1, glibc 2.27, glibc 2.23-0ubuntu10, and various versions of glibc from 2.28-10+deb10u1 to 2.37-12.

4

How can I fix CVE-2017-15804?

To fix CVE-2017-15804, update to the latest available version of glibc, such as version 2.27 or higher.

5

Where can I find more information about CVE-2017-15804?

More information about CVE-2017-15804 can be found on the MITRE CVE database, Ubuntu Security Notices, and the NIST National Vulnerability Database.

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