CVE-2018-6485 json
An integer overflow in the implementation of the posix_memalign in memalign functions in the GNU C Library (aka glibc or libc6) 2.26 and ea…
published 2018-02-01 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18241
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.7%
- EPSS 4.7% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
An integer overflow in the implementation of the posix_memalign in memalign functions in the GNU C Library (aka glibc or libc6) 2.26 and earlier could cause these functions to return a pointer to a heap area that is too small, potentially leading to heap corruption.
Patch / fix
- glibc Debian 14, Debian 13, Debian 12 2.27-1
debian advisories DEBIAN-CVE-2018-6485
- glibc Ubuntu 16.04 LTS 2.23-0ubuntu11.2
- eglibc Ubuntu Pro 14.04 LTS 2.19-0ubuntu6.15+esm1
ubuntu advisories UBUNTU-CVE-2018-6485
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- glibc RHEL 7 2.17-260.el7
- nscd RHEL 7 2.17-260.el7
- glibc-utils RHEL 7 2.17-260.el7
- glibc-common RHEL 7 2.17-260.el7
- glibc-debuginfo-common RHEL 7 2.17-260.el7
red hat advisories RHSA-2018:3092
- glibc SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 2.11.3-17.110.6.2
- glibc SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +6 more 2.22-62.6.2
suse advisories SUSE-SU-2018:0565-1SUSE-SU-2018:0451-1
- glibc openSUSE Tumbleweed 2.34-1.2
opensuse advisories openSUSE-SU-2024:10792-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-6485 updated cvss 5.3
glibc: Integer overflow in posix_memalign in memalign functions
-
Red Hat Enterprise Linux 5 glibc, compat-glibc Red Hat Enterprise Linux 6 nscd, glibc, glibc-utils, compat-glibc, glibc-common Red Hat Enterprise Linux 7 compat-glibcaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) nscd 2.17-260.el7, glibc 2.17-260.el7, glibc-utils 2.17-260.el7, glibc-common 2.17-260.el7, glibc-debuginfo-common 2.17-260.el7 Red Hat Enterprise Linux Client Optional (v. 7) glibc-debuginfo-common 2.17-260.el7 Red Hat Enterprise Linux ComputeNode (v. 7) nscd 2.17-260.el7, glibc 2.17-260.el7, glibc-utils 2.17-260.el7, glibc-common 2.17-260.el7, glibc-debuginfo-common 2.17-260.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) glibc-debuginfo-common 2.17-260.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) nscd 2.17-260.el7, glibc 2.17-260.el7, glibc-utils 2.17-260.el7, glibc-common 2.17-260.el7, glibc-debuginfo-common 2.17-260.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) glibc-debuginfo-common 2.17-260.el7fixed: vendor fix RHSA-2018:3092
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) nscd 2.17-260.el7, glibc 2.17-260.el7, glibc-utils 2.17-260.el7, glibc-common 2.17-260.el7, glibc-debuginfo-common 2.17-260.el7 Red Hat Enterprise Linux Server Optional (v. 7) glibc-debuginfo-common 2.17-260.el7 Red Hat Enterprise Linux Workstation (v. 7) nscd 2.17-260.el7, glibc 2.17-260.el7, glibc-utils 2.17-260.el7, glibc-common 2.17-260.el7, glibc-debuginfo-common 2.17-260.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) glibc-debuginfo-common 2.17-260.el7 -
Red Hat Enterprise Linux 8 nscd, glibc, libnsl, nss_db, nss_hesiod, glibc-utils, +7 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.69% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
References
-
access.redhat.com
/errata/RHSA-2018:3092
vendor-advisory, patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpuapr2019-5072813.html
patch, third-party-advisory
-
access.redhat.com
/errata/RHBA-2019:0327
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4218-1/
vendor-advisory
-
usn.ubuntu.com
/4416-1/
vendor-advisory
-
sourceware.org
/bugzilla/show_bug.cgi?id=22343
issue-tracking, third-party-advisory
-
securityfocus.com
/bid/102912
vdb-entry, third-party-advisory
-
bugs.debian.org
/878159
issue-tracking, mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190404-0003/
third-party-advisory
Sources
- CVE List CVE-2018-6485
- NVD CVE-2018-6485
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.