CVE-2017-8804
** DISPUTED ** The xdr_bytes and xdr_string functions in the GNU C Library (aka glibc or libc6) 2...
The xdr_bytes and xdr_string functions in the GNU C Library (aka glibc or libc6) 2.25 mishandle failures of buffer deserialization, which allows remote attackers to cause a denial of service (virtual memory allocation, or memory consumption if an overcommit setting is not used) via a crafted UDP packet to port 111, a related issue to CVE-2017-8779. NOTE: [Information provided from upstream and references
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
The xdr_bytes and xdr_string functions in the GNU C Library (aka glibc or libc6) 2.25 mishandle failures of buffer deserialization, which allows remote attackers to cause a denial of service (virtual memory allocation, or memory consumption if an overcommit setting is not used) via a crafted UDP packet to port 111, a related issue to CVE-2017-8779. NOTE: [Information provided from upstream and references
- Record
CVE-2017-8804- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 7.8 High
AV:N/AC:L/Au:N/C:N/I:N/A:C - Weakness
- CWE-502
- Updated
- 2026-11-02
CVE List No score
The xdr_bytes and xdr_string functions in the GNU C Library (aka glibc or libc6) 2.25 mishandle failures of buffer deserialization, which allows remote attackers to cause a denial of service (virtual memory allocation, or memory consumption if an overcommit setting is not used) via a crafted UDP packet to port 111, a related issue to CVE-2017-8779. NOTE: [Information provided from upstream and references
- Record
CVE-2017-8804- Updated
- 2026-11-02
EUVDEUVD-2017-17747 No score
The xdr_bytes and xdr_string functions in the GNU C Library (aka glibc or libc6) 2.25 mishandle failures of buffer deserialization, which allows remote attackers to cause a denial of service (virtual memory allocation, or memory consumption if an overcommit setting is not used) via a crafted UDP packet to port 111, a related issue to CVE-2017-8779. NOTE: [Information provided from upstream and references
- Record
EUVD-2017-17747- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pgff-5mf5-cw73
7.5
** DISPUTED ** The xdr_bytes and xdr_string functions in the GNU C Library (aka glibc or libc6) 2...
** DISPUTED ** The xdr_bytes and xdr_string functions in the GNU C Library (aka glibc or libc6) 2.25 mishandle failures of buffer deserialization, which allows remote attackers to cause a denial of service (virtual memory allocation, or memory consumption if an overcommit setting is not used) via a crafted UDP packet to port 111, a related issue to CVE-2017-8779. NOTE: [Information provided from upstream and references]
- Record
GHSA-pgff-5mf5-cw73- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSV
7.5
The xdr_bytes and xdr_string functions in the GNU C Library (aka glibc or libc6) 2.25 mishandle failures of buffer deserialization, which allows remote attackers to cause a denial of service (virtual memory allocation, or memory consumption if an overcommit setting is not used) via a crafted UDP packet to port 111, a related issue to CVE-2017-8779. NOTE: [Information provided from upstream and references
- Record
CVE-2017-8804- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0184 No score
Updated glibc packages fixes critical security vulnerabilities
The sunrpc implementation in glibc is vulnerable to a flaw that can cause it to be triggered to allocate additional memory until it causes a crash, similar to CVE-2017-8779 (CVE-2017-8804).
A flaw was found in the way memory was being allocated on the stack for user space binaries. If heap (or different memory region) and stack memory regions were adjacent to each other, an attacker could use this flaw to jump over the stack guard gap, cause controlled memory corruption on process stack or the adjacent memory region, and thus increase their privileges on the system. This is glibc-side mitigation which blocks processing of LD_LIBRARY_PATH for programs running in secure-execution mode and reduces the number of allocations performed by the processing of LD_AUDIT, LD_PRELOAD, and LD_HWCAP_MASK, making successful exploitation of this issue more difficult (CVE-2017-1000366).
The CVE-2017-1000366 issue is part of a set of issues known as Stack Clash. The fixes have components in both glibc and the kernel. The kernel fix will be included in a separate update advisory (mga#21141)
- Record
MGASA-2017-0184- Updated
- 2026-11-02
OSVSUSE-SU-2018:0451-1 No score
Security update for glibc
This update for glibc fixes the following issues:
Security issues fixed:
- CVE-2017-8804: Fix memory leak after deserialization failure in xdr_bytes, xdr_string (bsc#1037930)
- CVE-2017-12132: Reduce EDNS payload size to 1200 bytes (bsc#1051791)
- CVE-2018-6485,CVE-2018-6551: Fix integer overflows in internal memalign and malloc functions (bsc#1079036)
- CVE-2018-1000001: Avoid underflow of malloced area (bsc#1074293)
Non security bugs fixed:
- Release read lock after resetting timeout (bsc#1073990)
- Record
SUSE-SU-2018:0451-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0565-1 No score
Security update for glibc
This update for glibc fixes the following issues:
Security issues:
- CVE-2017-8804: Fix memory leak after deserialization failure in xdr_bytes, xdr_string (bsc#1037930)
- CVE-2017-12132: Reduce EDNS payload size to 1200 bytes (bsc#1051791)
- CVE-2018-6485,CVE-2018-6551: Fix integer overflows in internal memalign and malloc functions (bsc#1079036)
- CVE-2018-1000001: Avoid underflow of malloced area in realpath (bsc#1074293)
Also a non security issue was fixed:
- Do not fail if one of the two responses to AF_UNSPEC fails (bsc#978209)
- Record
SUSE-SU-2018:0565-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
glibcMageia:5 |
before 2.20-25.mga5 | 2.20-25.mga5 |
glibcSUSE:Linux Enterprise Desktop 12 SP2 |
before 2.22-62.6.2 | 2.22-62.6.2 |
glibcSUSE:Linux Enterprise Desktop 12 SP3 |
before 2.22-62.6.2 | 2.22-62.6.2 |
glibcSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 2.22-62.6.2 | 2.22-62.6.2 |
glibcSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 2.22-62.6.2 | 2.22-62.6.2 |
glibcSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 2.22-62.6.2 | 2.22-62.6.2 |
glibcSUSE:Linux Enterprise Server 12 SP2 |
before 2.22-62.6.2 | 2.22-62.6.2 |
glibcSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.22-62.6.2 | 2.22-62.6.2 |
glibcSUSE:Linux Enterprise Server 12 SP3 |
before 2.22-62.6.2 | 2.22-62.6.2 |
glibcSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.22-62.6.2 | 2.22-62.6.2 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
glibcSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 2.11.3-17.110.6.2 | 2.11.3-17.110.6.2 |
glibcSUSE:Linux Enterprise Point of Sale 11 SP3 |
before 2.11.3-17.110.6.2 | 2.11.3-17.110.6.2 |
glibcSUSE:Linux Enterprise Server 11 SP3-LTSS |
before 2.11.3-17.110.6.2 | 2.11.3-17.110.6.2 |
glibcSUSE:Linux Enterprise Server 11 SP3-TERADATA |
before 2.11.3-17.110.6.2 | 2.11.3-17.110.6.2 |
glibcSUSE:Linux Enterprise Server 11 SP4 |
before 2.11.3-17.110.6.2 | 2.11.3-17.110.6.2 |
glibcSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 2.11.3-17.110.6.2 | 2.11.3-17.110.6.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-8804 is a high vulnerability (CVSS 7.5) in Gnu Glibc, published May 7, 2017. Its validity is disputed. EPSS puts the chance of exploitation in the next 30 days at 7.67%, the 94th percentile. Fixed in glibc 2.20-25.mga5.
References
bugzilla.suse.com/show_bug.cgi?id=1037559
sourceware.org/ml/libc-alpha/2017-05/msg00105.html
securityfocus.com/bid/98339
sourceware.org/bugzilla/show_bug.cgi?id=21461
openwall.com/lists/oss-security/2017/05/05/2
lists.opensuse.org/opensuse-security-announce/2018-02/msg00049.html
Show 25 moreShow less
lists.opensuse.org/opensuse-security-announce/2018-02/msg00039.html
lists.opensuse.org/opensuse-security-announce/2018-02/msg00026.html
sourceware.org/legacy-ml/libc-alpha/2017-05/msg00128.html
sourceware.org/legacy-ml/libc-alpha/2017-05/msg00129.html
seclists.org/oss-sec/2017/q2/228
nvd.nist.gov/vuln/detail/CVE-2017-8804
github.com/advisories/GHSA-pgff-5mf5-cw73
advisories.mageia.org/MGASA-2017-0184.html
bugs.mageia.org/show_bug.cgi?id=20803
bugs.mageia.org/show_bug.cgi?id=21141
openwall.com/lists/oss-security/2017/05/07/3
rhn.redhat.com/errata/RHSA-2017-1481.html
suse.com/support/update/announcement/2018/suse-su-20180451-1
bugzilla.suse.com/1037930
bugzilla.suse.com/1051791
bugzilla.suse.com/1073990
bugzilla.suse.com/1074293
bugzilla.suse.com/1079036
suse.com/security/cve/CVE-2017-12132
suse.com/security/cve/CVE-2017-8804
suse.com/security/cve/CVE-2018-1000001
suse.com/security/cve/CVE-2018-6485
suse.com/security/cve/CVE-2018-6551
suse.com/support/update/announcement/2018/suse-su-20180565-1
bugzilla.suse.com/978209