Every CVE Search/ Get API key

CVE-2013-4458

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C...

5.0 MediumFix available

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.

Exploit likelihood

4.15%Up 2.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.

Record
CVE-2013-4458
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.

Record
CVE-2013-4458
Updated
2026-11-02
EUVDEUVD-2013-4328 No score

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.

Record
EUVD-2013-4328
Updated
2026-11-03
GitHub AdvisoriesGHSA-jcwq-q9mq-r3fv No score

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C...

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.

Record
GHSA-jcwq-q9mq-r3fv
Weakness
CWE-119
Updated
2026-11-02
OSVBELL-CVE-2013-4458 5.0

CVE-2013-4458 does not affect BellSoft software

Record
BELL-CVE-2013-4458
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Updated
2026-11-02
OSV No score

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.

Record
CVE-2013-4458
Updated
2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2013-4458 No score

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.

Record
DEBIAN-CVE-2013-4458
Updated
2026-11-02
OSVMGASA-2013-0340 No score

Updated glibc package fixes security vulnerabilities

Updated glibc packages fixes the following security issues:

Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string, which triggers a heap-based buffer overflow. (CVE-2012-4412)

Stack-based buffer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier allows context-dependent attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string that triggers a malloc failure and use of the alloca function. (CVE-2012-4424)

pt_chown in GNU C Library (aka glibc or libc6) before 2.18 does not properly check permissions for tty files, which allows local users to change the permission on the files and obtain access to arbitrary pseudo-terminals by leveraging a FUSE file system. (CVE-2013-2207) NOTE! This is fixed by removing pt_chown wich may break chroots if their devpts was not mounted correctly. (make sure to mount the devpts correctly with gid=5)

sysdeps/posix/readdir_r.c in the GNU C Library (aka glibc or libc6) 2.18 and earlier allows context-dependent attackers to cause a denial of service (out-of-bounds write and crash) or possibly execute arbitrary code via a crafted (1) NTFS or (2) CIFS image. (CVE-2013-4237)

Multiple integer overflows in malloc/malloc.c in the GNU C Library (aka glibc or libc6) 2.18 and earlier allow context-dependent attackers to cause a denial of service (heap corruption) via a large value to the (1) pvalloc, (2) valloc, (3) posix_memalign, (4) memalign, or (5) aligned_alloc functions. (CVE-2013-4332)

A stack (frame) overflow flaw, which led to a denial of service (application crash), was found in the way glibc's getaddrinfo() function processed certain requests when called with AF_INET6. A similar flaw to CVE-2013-1914, this affects AF_INET6 rather than AF_UNSPEC (CVE-2013-4458).

The PTR_MANGLE implementation in the GNU C Library (aka glibc or libc6) 2.4, 2.17, and earlier, and Embedded GLIBC (EGLIBC) does not initialize the random value for the pointer guard, which makes it easier for context- dependent attackers to control execution flow by leveraging a buffer- overflow vulnerability in an application and using the known zero value pointer guard to calculate a pointer address. (CVE-2013-4788)

Other fixes in this update:

  • Correct the processing of '\x80' characters in crypt_freesec.c
  • drop minimal required kernel to 2.6.32 so it works in chroots on top of enterprise kernels and for OpenVZ users.
  • fix typo in nscd.service
Record
MGASA-2013-0340
Updated
2026-11-02
OSVopenSUSE-SU-2024:10154-1 No score

glibc-2.24-2.3 on GA media

These are all security issues fixed in the glibc-2.24-2.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10154-1
Updated
2026-11-02
OSVSUSE-RU-2015:0794-1 No score

Security update for glibc

This glibc update fixes a critical privilege escalation problem and two non-security issues:

* bnc#892073: An off-by-one error leading to a heap-based buffer
  overflow was found in __gconv_translit_find(). An exploit that
  targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
  argument as multi-byte string.

Security Issues:

* CVE-2014-5119
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
Record
SUSE-RU-2015:0794-1
Updated
2026-11-02
OSVSUSE-SU-2015:0253-1 No score

Security update for glibc

This glibc update fixes a critical privilege escalation problem and two non-security issues:

* bnc#892073: An off-by-one error leading to a heap-based buffer
  overflow was found in __gconv_translit_find(). An exploit that
  targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
  argument as multi-byte string.

Security Issues:

* CVE-2014-5119
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
Record
SUSE-SU-2015:0253-1
Updated
2026-11-02
OSVSUSE-SU-2015:0439-1 No score

Security update for glibc

This glibc update fixes a critical privilege escalation problem and two non-security issues:

* bnc#892073: An off-by-one error leading to a heap-based buffer
  overflow was found in __gconv_translit_find(). An exploit that
  targets the problem is publicly available. (CVE-2014-5119)
* bnc#892065: setenv-alloca.patch: Avoid unbound alloca in setenv.
* bnc#888347: printf-multibyte-format.patch: Don't parse %s format
  argument as multi-byte string.

Security Issues:

* CVE-2014-5119
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5119>
Record
SUSE-SU-2015:0439-1
Updated
2026-11-02
OSVSUSE-SU-2016:0470-1 No score

Security update for glibc

This update for glibc fixes the following issues:

  • CVE-2015-7547: A stack-based buffer overflow in getaddrinfo allowed remote attackers to cause a crash or execute arbitrary code via crafted and timed DNS responses (bsc#961721)
  • CVE-2015-8777: Insufficient checking of LD_POINTER_GUARD environment variable allowed local attackers to bypass the pointer guarding protection of the dynamic loader on set-user-ID and set-group-ID programs (bsc#950944)
  • CVE-2015-8776: Out-of-range time values passed to the strftime function may cause it to crash, leading to a denial of service, or potentially disclosure information (bsc#962736)
  • CVE-2015-8778: Integer overflow in hcreate and hcreate_r could have caused an out-of-bound memory access. leading to application crashes or, potentially, arbitrary code execution (bsc#962737)
  • CVE-2014-9761: A stack overflow (unbounded alloca) could have caused applications which process long strings with the nan function to crash or, potentially, execute arbitrary code. (bsc#962738)
  • CVE-2015-8779: A stack overflow (unbounded alloca) in the catopen function could have caused applications which pass long strings to the catopen function to crash or, potentially execute arbitrary code. (bsc#962739)
  • CVE-2013-2207: pt_chown tricked into granting access to another users pseudo-terminal (bsc#830257)
  • CVE-2013-4458: Stack (frame) overflow in getaddrinfo() when called with AF_INET6 (bsc#847227)
  • CVE-2014-8121: denial of service issue in the NSS backends (bsc#918187)
  • bsc#920338: Read past end of pattern in fnmatch
  • CVE-2015-1781: buffer overflow in nss_dns (bsc#927080)

The following non-security bugs were fixed:

  • bnc#892065: SIGSEV tst-setlocale3 in glibc-2.11.3-17.68.1
  • bnc#863499: Memory leak in getaddrinfo when many RRs are returned
  • bsc#892065: Avoid unbound alloca in setenv
  • bsc#945779: Properly reread entry after failure in nss_files getent function
Record
SUSE-SU-2016:0470-1
Updated
2026-11-02
OSVUBUNTU-CVE-2013-4458 No score

Stack-based buffer overflow in the getaddrinfo function in sysdeps/posix/getaddrinfo.c in GNU C Library (aka glibc or libc6) 2.18 and earlier allows remote attackers to cause a denial of service (crash) via a (1) hostname or (2) IP address that triggers a large number of AF_INET6 address results. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1914.

Record
UBUNTU-CVE-2013-4458
Updated
2026-11-02
OSVUSN-2306-1 No score

eglibc vulnerabilities

Maksymilian Arciemowicz discovered that the GNU C Library incorrectly handled the getaddrinfo() function. An attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 10.04 LTS. (CVE-2013-4357)

It was discovered that the GNU C Library incorrectly handled the getaddrinfo() function. An attacker could use this issue to cause a denial of service. This issue only affected Ubuntu 10.04 LTS and Ubuntu 12.04 LTS. (CVE-2013-4458)

Stephane Chazelas discovered that the GNU C Library incorrectly handled locale environment variables. An attacker could use this issue to possibly bypass certain restrictions such as the ForceCommand restrictions in OpenSSH. (CVE-2014-0475)

David Reid, Glyph Lefkowitz, and Alex Gaynor discovered that the GNU C Library incorrectly handled posix_spawn_file_actions_addopen() path arguments. An attacker could use this issue to cause a denial of service. (CVE-2014-4043)

Record
USN-2306-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
glibc
Debian:12
before 2.18-1
2.18-1
glibc
Debian:13
before 2.18-1
2.18-1
glibc
Debian:14
before 2.18-1
2.18-1
eglibc
Debian:6.0
From an advisory covering 18 CVEs
before 2.11.3-4+deb6u5, plus listed versions
2.11.2-102.11.2-10+m68k.12.11.2-112.11.2-11+m68k.12.11.2-12
Show 5 moreShow less
2.11.2-132.11.3-12.11.3-22.11.3-32.11.3-4
2.11.3-4+deb6u5
glibc
Mageia:2
From an advisory covering 7 CVEs
before 2.14.1-11.2.mga2
2.14.1-11.2.mga2
glibc
Mageia:3
From an advisory covering 7 CVEs
before 2.17-7.2.mga3
2.17-7.2.mga3
glibc-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-debuginfo-common
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-static
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
Show 35 moreShow less
Affected packages
PackageAffectedFixed
glibc-common
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-devel
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-headers
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-utils
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
nscd
Red Hat:enterprise_linux:6::client
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-debuginfo-common
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-static
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-common
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-devel
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-headers
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-utils
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
nscd
Red Hat:enterprise_linux:6::computenode
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-debuginfo-common
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-static
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-common
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-devel
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-headers
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-utils
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
nscd
Red Hat:enterprise_linux:6::server
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-debuginfo-common
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-static
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-common
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-devel
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-headers
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc-utils
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
nscd
Red Hat:enterprise_linux:6::workstation
From an advisory covering 3 CVEs
before 0:2.12-1.149.el6
0:2.12-1.149.el6
glibc
SUSE:Linux Enterprise Server 11 SP2-LTSS
From an advisory covering 10 CVEs
before 2.11.3-17.45.66.1
2.11.3-17.45.66.1
eglibc
Ubuntu:14.04:LTS
From an advisory covering 3 CVEs
before 2.19-0ubuntu6.1, plus listed versions
2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu5
Show 7 moreShow less
2.18-0ubuntu62.18-0ubuntu72.19-0ubuntu22.19-0ubuntu32.19-0ubuntu42.19-0ubuntu52.19-0ubuntu6
2.19-0ubuntu6.1
glibc
openSUSE:Tumbleweed
From an advisory covering 31 CVEs
before 2.24-2.3
2.24-2.3

History

History
RecordedChangedSources
affected, facts
affected
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2013-4458 is a medium vulnerability (CVSS 5.0) in Gnu Glibc, published November 22, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.15%, the 90th percentile. Fixed in glibc 2.18-1.

References

Show 130 moreShow less
MoveEnter Open