CVE-2015-0235

critical

Description

Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18, allows context-dependent attackers to execute arbitrary code via vectors related to the (1) gethostbyname or (2) gethostbyname2 function, aka "GHOST."

From the Tenable Blog

Tenable Responds to CVE-2015-0235: GHOST (Updated)
Tenable Responds to CVE-2015-0235: GHOST (Updated)

Published: 2015-01-28

A major vulnerability was disclosed today in the GNU C Library (“glibc”). CVE-2015-0235, known as “GHOST” in the media, affects Linux systems that use versions of the library prior to glibc-2.18, which was released on August 12, 2013. The GNU C Library is commonly used for standard system calls by programs written in C and C++. The vulnerability is a heap-based buffer overflow which affects the gethostbyname() and gethostbyname2() glibc function calls.

References

https://www.sophos.com/en-us/support/knowledgebase/121879.aspx

https://www.f-secure.com/en/web/labs_global/fsc-2015-1

https://www.arista.com/en/support/advisories-notices/security-advisories/1053-security-advisory-9

https://support.apple.com/HT205375

https://support.apple.com/HT205267

https://security.netapp.com/advisory/ntap-20150127-0001/

https://security.gentoo.org/glsa/201503-04

https://kc.mcafee.com/corporate/index?page=content&id=SB10100

https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10671

https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes

https://h20564.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04874668

https://cert-portal.siemens.com/productcert/pdf/ssa-994726.pdf

https://bto.bluecoat.com/security-advisory/sa90

http://www.securitytracker.com/id/1032909

http://www.securityfocus.com/bid/91787

http://www.securityfocus.com/bid/72325

http://www.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html

http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html

http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html

http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html

http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html

http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html

http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html

http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html

http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html

http://www.mandriva.com/security/advisories?name=MDVSA-2015:039

http://www.debian.org/security/2015/dsa-3142

http://www-01.ibm.com/support/docview.wss?uid=swg21696618

http://www-01.ibm.com/support/docview.wss?uid=swg21696602

http://www-01.ibm.com/support/docview.wss?uid=swg21696600

http://www-01.ibm.com/support/docview.wss?uid=swg21696526

http://www-01.ibm.com/support/docview.wss?uid=swg21696243

http://www-01.ibm.com/support/docview.wss?uid=swg21696131

http://www-01.ibm.com/support/docview.wss?uid=swg21695860

http://www-01.ibm.com/support/docview.wss?uid=swg21695835

http://www-01.ibm.com/support/docview.wss?uid=swg21695774

http://www-01.ibm.com/support/docview.wss?uid=swg21695695

http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20150128-ghost

http://support.apple.com/kb/HT204942

http://seclists.org/oss-sec/2015/q1/269

http://seclists.org/fulldisclosure/2015/Jan/111

http://rhn.redhat.com/errata/RHSA-2015-0126.html

http://packetstormsecurity.com/files/130768/EMC-Secure-Remote-Services-GHOST-SQL-Injection-Command-Injection.html

http://marc.info/?l=bugtraq&m=143145428124857&w=2

http://marc.info/?l=bugtraq&m=142781412222323&w=2

http://marc.info/?l=bugtraq&m=142722450701342&w=2

http://marc.info/?l=bugtraq&m=142721102728110&w=2

http://marc.info/?l=bugtraq&m=142296726407499&w=2

http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html

http://lists.apple.com/archives/security-announce/2015/Oct/msg00005.html

http://lists.apple.com/archives/security-announce/2015/Jun/msg00002.html

http://linux.oracle.com/errata/ELSA-2015-0092.html

http://linux.oracle.com/errata/ELSA-2015-0090.html

http://blogs.sophos.com/2015/01/29/sophos-products-and-the-ghost-vulnerability-affecting-linux/

https://github.com/fa-rrel/XMLRPC-Ghost

https://github.com/1and1-serversupport/ghosttester

https://github.com/alanmeyer/CVE-glibc

https://github.com/arm13/ghost_exploit

https://github.com/JustDenisYT/ghosttester

https://github.com/F88/ghostbusters15

https://github.com/koudaiii-archives/cookbook-update-glibc

https://github.com/nickanderson/cfengine-CVE_2015_0235

https://github.com/favoretti/lenny-libc6

https://github.com/adherzog/ansible-CVE-2015-0235-GHOST

https://github.com/piyokango/ghost

https://github.com/aaronfay/CVE-2015-0235-test

https://github.com/fser/ghost-checker

https://seclists.org/bugtraq/2019/Jun/14

https://euvd.enisa.europa.eu/vulnerability/EUVD-2015-0257

http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0

http://www.securityfocus.com/archive/1/534845/100/0/threaded

http://www.openwall.com/lists/oss-security/2021/05/04/7

http://www.idirect.net/Partners/~/media/Files/CVE/iDirect-Posted-Common-Vulnerabilities-and-Exposures.pdf

http://secunia.com/advisories/62883

http://secunia.com/advisories/62879

http://secunia.com/advisories/62871

http://secunia.com/advisories/62870

http://secunia.com/advisories/62865

http://secunia.com/advisories/62816

http://secunia.com/advisories/62813

http://secunia.com/advisories/62812

http://secunia.com/advisories/62758

http://secunia.com/advisories/62715

http://secunia.com/advisories/62698

http://secunia.com/advisories/62692

http://secunia.com/advisories/62691

http://secunia.com/advisories/62690

http://secunia.com/advisories/62688

http://secunia.com/advisories/62681

http://secunia.com/advisories/62680

http://secunia.com/advisories/62667

http://secunia.com/advisories/62640

http://secunia.com/advisories/62517

http://seclists.org/oss-sec/2015/q1/274

http://seclists.org/fulldisclosure/2022/Jun/36

http://seclists.org/fulldisclosure/2021/Sep/0

http://seclists.org/fulldisclosure/2019/Jun/18

http://packetstormsecurity.com/files/167552/Nexans-FTTO-GigaSwitch-Outdated-Components-Hardcoded-Backdoor.html

http://packetstormsecurity.com/files/164014/Moxa-Command-Injection-Cross-Site-Scripting-Vulnerable-Software.html

http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html

http://packetstormsecurity.com/files/130974/Exim-GHOST-glibc-gethostbyname-Buffer-Overflow.html

http://packetstormsecurity.com/files/130171/Exim-ESMTP-GHOST-Denial-Of-Service.html

Details

Source: Mitre, NVD

Published: 2015-01-28

Updated: 2026-06-17

Named Vulnerability: GHOST

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.94558