CVEfocus › CVE database › CVE-2018-1000001

CVE-2018-1000001

CVSS 7.8 HighEPSS 13.4% (higher than 96% of CVEs)Published 2018-01-31Updated 2024-08-05Assigner: mitre

In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before the destination buffer leading to a buffer underflow and potential code execution.

What to do

Likely to be exploited: EPSS gives a 13% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
3Fix pending
7Will not fix
222Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04dietlibcNot affected
vulnerable_code_not_present
Ubuntu 16.04dietlibcNot affected
vulnerable_code_not_present
Ubuntu 16.04glibcFixed2.23-0ubuntu10UBUNTU-CVE-2018-1000001
Ubuntu 16.04muslFix pending1.1.9-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2018-1000001
Ubuntu 14.04dietlibcFix pending
Ubuntu 14.04eglibcFixed2.19-0ubuntu6.14UBUNTU-CVE-2018-1000001
Ubuntu 14.04muslFix pending0.9.15-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2018-1000001
Debian 14glibcFixed2.26-4DEBIAN-CVE-2018-1000001
Debian 13glibcFixed2.26-4DEBIAN-CVE-2018-1000001
Debian 12glibcFixed2.26-4DEBIAN-CVE-2018-1000001
Red Hat Enterprise Linux 8compat-libpthread-nonsharedNot affected
Red Hat Enterprise Linux 8glibcNot affected
Red Hat Enterprise Linux 8glibc-all-langpacksNot affected
Red Hat Enterprise Linux 8glibc-benchtestsNot affected
Red Hat Enterprise Linux 8glibc-commonNot affected
Red Hat Enterprise Linux 8glibc-develNot affected
Red Hat Enterprise Linux 8glibc-docNot affected
Red Hat Enterprise Linux 8glibc-gconv-extraNot affected
Red Hat Enterprise Linux 8glibc-headersNot affected
Red Hat Enterprise Linux 8glibc-langpack-aaNot affected
Red Hat Enterprise Linux 8glibc-langpack-afNot affected
Red Hat Enterprise Linux 8glibc-langpack-agrNot affected
Red Hat Enterprise Linux 8glibc-langpack-akNot affected
Red Hat Enterprise Linux 8glibc-langpack-amNot affected
Red Hat Enterprise Linux 8glibc-langpack-anNot affected
Red Hat Enterprise Linux 8glibc-langpack-anpNot affected
Red Hat Enterprise Linux 8glibc-langpack-arNot affected
Red Hat Enterprise Linux 8glibc-langpack-asNot affected
Red Hat Enterprise Linux 8glibc-langpack-astNot affected
Red Hat Enterprise Linux 8glibc-langpack-aycNot affected
Red Hat Enterprise Linux 8glibc-langpack-azNot affected
Red Hat Enterprise Linux 8glibc-langpack-beNot affected
Red Hat Enterprise Linux 8glibc-langpack-bemNot affected
Red Hat Enterprise Linux 8glibc-langpack-berNot affected
Red Hat Enterprise Linux 8glibc-langpack-bgNot affected
Red Hat Enterprise Linux 8glibc-langpack-bhbNot affected
Red Hat Enterprise Linux 8glibc-langpack-bhoNot affected
Red Hat Enterprise Linux 8glibc-langpack-biNot affected
Red Hat Enterprise Linux 8glibc-langpack-bnNot affected
Red Hat Enterprise Linux 8glibc-langpack-boNot affected
Red Hat Enterprise Linux 8glibc-langpack-brNot affected
Red Hat Enterprise Linux 8glibc-langpack-brxNot affected
Red Hat Enterprise Linux 8glibc-langpack-bsNot affected
Red Hat Enterprise Linux 8glibc-langpack-bynNot affected
Red Hat Enterprise Linux 8glibc-langpack-caNot affected
Red Hat Enterprise Linux 8glibc-langpack-ceNot affected
Red Hat Enterprise Linux 8glibc-langpack-chrNot affected
Red Hat Enterprise Linux 8glibc-langpack-cmnNot affected
Red Hat Enterprise Linux 8glibc-langpack-crhNot affected
Red Hat Enterprise Linux 8glibc-langpack-csNot affected
Red Hat Enterprise Linux 8glibc-langpack-csbNot affected
Red Hat Enterprise Linux 8glibc-langpack-cvNot affected
Red Hat Enterprise Linux 8glibc-langpack-cyNot affected
Red Hat Enterprise Linux 8glibc-langpack-daNot affected
Red Hat Enterprise Linux 8glibc-langpack-deNot affected
Red Hat Enterprise Linux 8glibc-langpack-doiNot affected
Red Hat Enterprise Linux 8glibc-langpack-dsbNot affected
Red Hat Enterprise Linux 8glibc-langpack-dvNot affected
Red Hat Enterprise Linux 8glibc-langpack-dzNot affected
Red Hat Enterprise Linux 8glibc-langpack-elNot affected
Red Hat Enterprise Linux 8glibc-langpack-enNot affected
Red Hat Enterprise Linux 8glibc-langpack-eoNot affected
Red Hat Enterprise Linux 8glibc-langpack-esNot affected
Red Hat Enterprise Linux 8glibc-langpack-etNot affected
Red Hat Enterprise Linux 8glibc-langpack-euNot affected
Red Hat Enterprise Linux 8glibc-langpack-faNot affected
Red Hat Enterprise Linux 8glibc-langpack-ffNot affected
Red Hat Enterprise Linux 8glibc-langpack-fiNot affected
Red Hat Enterprise Linux 8glibc-langpack-filNot affected
Red Hat Enterprise Linux 8glibc-langpack-foNot affected
Red Hat Enterprise Linux 8glibc-langpack-frNot affected
Red Hat Enterprise Linux 8glibc-langpack-furNot affected
Red Hat Enterprise Linux 8glibc-langpack-fyNot affected
Red Hat Enterprise Linux 8glibc-langpack-gaNot affected
Red Hat Enterprise Linux 8glibc-langpack-gdNot affected
Red Hat Enterprise Linux 8glibc-langpack-gezNot affected
Red Hat Enterprise Linux 8glibc-langpack-glNot affected
Red Hat Enterprise Linux 8glibc-langpack-guNot affected
Red Hat Enterprise Linux 8glibc-langpack-gvNot affected
Red Hat Enterprise Linux 8glibc-langpack-haNot affected
Red Hat Enterprise Linux 8glibc-langpack-hakNot affected
Red Hat Enterprise Linux 8glibc-langpack-heNot affected
Red Hat Enterprise Linux 8glibc-langpack-hiNot affected
Red Hat Enterprise Linux 8glibc-langpack-hifNot affected
Red Hat Enterprise Linux 8glibc-langpack-hneNot affected
Red Hat Enterprise Linux 8glibc-langpack-hrNot affected
Red Hat Enterprise Linux 8glibc-langpack-hsbNot affected
Red Hat Enterprise Linux 8glibc-langpack-htNot affected
Red Hat Enterprise Linux 8glibc-langpack-huNot affected
Red Hat Enterprise Linux 8glibc-langpack-hyNot affected
Red Hat Enterprise Linux 8glibc-langpack-iaNot affected
Red Hat Enterprise Linux 8glibc-langpack-idNot affected
Red Hat Enterprise Linux 8glibc-langpack-igNot affected
Red Hat Enterprise Linux 8glibc-langpack-ikNot affected
Red Hat Enterprise Linux 8glibc-langpack-isNot affected
Red Hat Enterprise Linux 8glibc-langpack-itNot affected
Red Hat Enterprise Linux 8glibc-langpack-iuNot affected
Red Hat Enterprise Linux 8glibc-langpack-jaNot affected
Red Hat Enterprise Linux 8glibc-langpack-kaNot affected
Red Hat Enterprise Linux 8glibc-langpack-kabNot affected
Red Hat Enterprise Linux 8glibc-langpack-kkNot affected
Red Hat Enterprise Linux 8glibc-langpack-klNot affected
Red Hat Enterprise Linux 8glibc-langpack-kmNot affected
Red Hat Enterprise Linux 8glibc-langpack-knNot affected
Red Hat Enterprise Linux 8glibc-langpack-koNot affected
Red Hat Enterprise Linux 8glibc-langpack-kokNot affected
Red Hat Enterprise Linux 8glibc-langpack-ksNot affected
Red Hat Enterprise Linux 8glibc-langpack-kuNot affected
Red Hat Enterprise Linux 8glibc-langpack-kwNot affected
Red Hat Enterprise Linux 8glibc-langpack-kyNot affected
Red Hat Enterprise Linux 8glibc-langpack-lbNot affected
Red Hat Enterprise Linux 8glibc-langpack-lgNot affected
Red Hat Enterprise Linux 8glibc-langpack-liNot affected
Red Hat Enterprise Linux 8glibc-langpack-lijNot affected
Red Hat Enterprise Linux 8glibc-langpack-lnNot affected
Red Hat Enterprise Linux 8glibc-langpack-loNot affected
Red Hat Enterprise Linux 8glibc-langpack-ltNot affected
Red Hat Enterprise Linux 8glibc-langpack-lvNot affected
Red Hat Enterprise Linux 8glibc-langpack-lzhNot affected
Red Hat Enterprise Linux 8glibc-langpack-magNot affected
Red Hat Enterprise Linux 8glibc-langpack-maiNot affected
Red Hat Enterprise Linux 8glibc-langpack-mfeNot affected
Red Hat Enterprise Linux 8glibc-langpack-mgNot affected
Red Hat Enterprise Linux 8glibc-langpack-mhrNot affected
Red Hat Enterprise Linux 8glibc-langpack-miNot affected
Red Hat Enterprise Linux 8glibc-langpack-miqNot affected
Red Hat Enterprise Linux 8glibc-langpack-mjwNot affected
Red Hat Enterprise Linux 8glibc-langpack-mkNot affected
Red Hat Enterprise Linux 8glibc-langpack-mlNot affected
Red Hat Enterprise Linux 8glibc-langpack-mnNot affected
Red Hat Enterprise Linux 8glibc-langpack-mniNot affected
Red Hat Enterprise Linux 8glibc-langpack-mrNot affected
Red Hat Enterprise Linux 8glibc-langpack-msNot affected
Red Hat Enterprise Linux 8glibc-langpack-mtNot affected
Red Hat Enterprise Linux 8glibc-langpack-myNot affected
Red Hat Enterprise Linux 8glibc-langpack-nanNot affected
Red Hat Enterprise Linux 8glibc-langpack-nbNot affected
Red Hat Enterprise Linux 8glibc-langpack-ndsNot affected
Red Hat Enterprise Linux 8glibc-langpack-neNot affected
Red Hat Enterprise Linux 8glibc-langpack-nhnNot affected
Red Hat Enterprise Linux 8glibc-langpack-niuNot affected
Red Hat Enterprise Linux 8glibc-langpack-nlNot affected
Red Hat Enterprise Linux 8glibc-langpack-nnNot affected
Red Hat Enterprise Linux 8glibc-langpack-nrNot affected
Red Hat Enterprise Linux 8glibc-langpack-nsoNot affected
Red Hat Enterprise Linux 8glibc-langpack-ocNot affected
Red Hat Enterprise Linux 8glibc-langpack-omNot affected
Red Hat Enterprise Linux 8glibc-langpack-orNot affected
Red Hat Enterprise Linux 8glibc-langpack-osNot affected
Red Hat Enterprise Linux 8glibc-langpack-paNot affected
Red Hat Enterprise Linux 8glibc-langpack-papNot affected
Red Hat Enterprise Linux 8glibc-langpack-plNot affected
Red Hat Enterprise Linux 8glibc-langpack-psNot affected
Red Hat Enterprise Linux 8glibc-langpack-ptNot affected
Red Hat Enterprise Linux 8glibc-langpack-quzNot affected
Red Hat Enterprise Linux 8glibc-langpack-rajNot affected
Red Hat Enterprise Linux 8glibc-langpack-roNot affected
Red Hat Enterprise Linux 8glibc-langpack-ruNot affected
Red Hat Enterprise Linux 8glibc-langpack-rwNot affected
Red Hat Enterprise Linux 8glibc-langpack-saNot affected
Red Hat Enterprise Linux 8glibc-langpack-sahNot affected
Red Hat Enterprise Linux 8glibc-langpack-satNot affected
Red Hat Enterprise Linux 8glibc-langpack-scNot affected
Red Hat Enterprise Linux 8glibc-langpack-sdNot affected
Red Hat Enterprise Linux 8glibc-langpack-seNot affected
Red Hat Enterprise Linux 8glibc-langpack-sgsNot affected
Red Hat Enterprise Linux 8glibc-langpack-shnNot affected
Red Hat Enterprise Linux 8glibc-langpack-shsNot affected
Red Hat Enterprise Linux 8glibc-langpack-siNot affected
Red Hat Enterprise Linux 8glibc-langpack-sidNot affected
Red Hat Enterprise Linux 8glibc-langpack-skNot affected
Red Hat Enterprise Linux 8glibc-langpack-slNot affected
Red Hat Enterprise Linux 8glibc-langpack-smNot affected
Red Hat Enterprise Linux 8glibc-langpack-soNot affected
Red Hat Enterprise Linux 8glibc-langpack-sqNot affected
Red Hat Enterprise Linux 8glibc-langpack-srNot affected
Red Hat Enterprise Linux 8glibc-langpack-ssNot affected
Red Hat Enterprise Linux 8glibc-langpack-stNot affected
Red Hat Enterprise Linux 8glibc-langpack-svNot affected
Red Hat Enterprise Linux 8glibc-langpack-swNot affected
Red Hat Enterprise Linux 8glibc-langpack-szlNot affected
Red Hat Enterprise Linux 8glibc-langpack-taNot affected
Red Hat Enterprise Linux 8glibc-langpack-tcyNot affected
Red Hat Enterprise Linux 8glibc-langpack-teNot affected
Red Hat Enterprise Linux 8glibc-langpack-tgNot affected
Red Hat Enterprise Linux 8glibc-langpack-thNot affected
Red Hat Enterprise Linux 8glibc-langpack-theNot affected
Red Hat Enterprise Linux 8glibc-langpack-tiNot affected
Red Hat Enterprise Linux 8glibc-langpack-tigNot affected
Red Hat Enterprise Linux 8glibc-langpack-tkNot affected
Red Hat Enterprise Linux 8glibc-langpack-tlNot affected
Red Hat Enterprise Linux 8glibc-langpack-tnNot affected
Red Hat Enterprise Linux 8glibc-langpack-toNot affected
Red Hat Enterprise Linux 8glibc-langpack-tpiNot affected
Red Hat Enterprise Linux 8glibc-langpack-trNot affected
Red Hat Enterprise Linux 8glibc-langpack-tsNot affected
Red Hat Enterprise Linux 8glibc-langpack-ttNot affected
Red Hat Enterprise Linux 8glibc-langpack-ugNot affected
Red Hat Enterprise Linux 8glibc-langpack-ukNot affected
Red Hat Enterprise Linux 8glibc-langpack-unmNot affected
Red Hat Enterprise Linux 8glibc-langpack-urNot affected
Red Hat Enterprise Linux 8glibc-langpack-uzNot affected
Red Hat Enterprise Linux 8glibc-langpack-veNot affected
Red Hat Enterprise Linux 8glibc-langpack-viNot affected
Red Hat Enterprise Linux 8glibc-langpack-waNot affected
Red Hat Enterprise Linux 8glibc-langpack-waeNot affected
Red Hat Enterprise Linux 8glibc-langpack-walNot affected
Red Hat Enterprise Linux 8glibc-langpack-woNot affected
Red Hat Enterprise Linux 8glibc-langpack-xhNot affected
Red Hat Enterprise Linux 8glibc-langpack-yiNot affected
Red Hat Enterprise Linux 8glibc-langpack-yoNot affected
Red Hat Enterprise Linux 8glibc-langpack-yueNot affected
Red Hat Enterprise Linux 8glibc-langpack-yuwNot affected
Red Hat Enterprise Linux 8glibc-langpack-zhNot affected
Red Hat Enterprise Linux 8glibc-langpack-zuNot affected
Red Hat Enterprise Linux 8glibc-locale-sourceNot affected
Red Hat Enterprise Linux 8glibc-minimal-langpackNot affected
Red Hat Enterprise Linux 8glibc-nss-develNot affected
Red Hat Enterprise Linux 8glibc-staticNot affected
Red Hat Enterprise Linux 8glibc-utilsNot affected
Red Hat Enterprise Linux 8libnslNot affected
Red Hat Enterprise Linux 8nscdNot affected
Red Hat Enterprise Linux 8nss_dbNot affected
Red Hat Enterprise Linux 8nss_hesiodNot affected
Red Hat Enterprise Linux 7compat-glibcNot affected
Red Hat Enterprise Linux 7compat-glibc-headersNot affected
Red Hat Enterprise Linux 7glibcFixed0:2.17-222.el7RHSA-2018:0805
Red Hat Enterprise Linux 7glibc-commonFixed0:2.17-222.el7RHSA-2018:0805
Red Hat Enterprise Linux 7glibc-debuginfo-commonFixed0:2.17-222.el7RHSA-2018:0805
Red Hat Enterprise Linux 7glibc-develFixed0:2.17-222.el7RHSA-2018:0805
Red Hat Enterprise Linux 7glibc-headersFixed0:2.17-222.el7RHSA-2018:0805
Red Hat Enterprise Linux 7glibc-staticFixed0:2.17-222.el7RHSA-2018:0805
Red Hat Enterprise Linux 7glibc-utilsFixed0:2.17-222.el7RHSA-2018:0805
Red Hat Enterprise Linux 7nscdFixed0:2.17-222.el7RHSA-2018:0805
Red Hat Enterprise Linux 6compat-glibcNot affected
Red Hat Enterprise Linux 6compat-glibc-headersNot affected
Red Hat Enterprise Linux 6glibcWill not fix
Will not fix
Red Hat Enterprise Linux 6glibc-commonWill not fix
Will not fix
Red Hat Enterprise Linux 6glibc-develWill not fix
Will not fix
Red Hat Enterprise Linux 6glibc-headersWill not fix
Will not fix
Red Hat Enterprise Linux 6glibc-staticWill not fix
Will not fix
Red Hat Enterprise Linux 6glibc-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 6nscdWill not fix
Will not fix
Red Hat Enterprise Linux 5compat-glibcNot affected
Red Hat Enterprise Linux 5glibcNot affected

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.