Skip to content
Fencer Intel
medium 6.8

CVE-2015-1781 json

Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2.22 allows con…

published 11y ago modified 4mo ago also EUVD-2015-1908

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.0%
EPSS 5.0% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response, which triggers a call with a misaligned buffer.

Patch / fix

  • glibc Debian 14, Debian 13, Debian 12 2.19-20

debian advisories DEBIAN-CVE-2015-1781

  • eglibc Ubuntu 14.04 LTS 2.19-0ubuntu6.8

ubuntu advisories UBUNTU-CVE-2015-1781

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-105.el7
  • nscd RHEL 7 2.17-105.el7
  • glibc-utils RHEL 7 2.17-105.el7
  • glibc-common RHEL 7 2.17-105.el7
  • glibc-debuginfo-common RHEL 7 2.17-105.el7
  • glibc RHEL 6 2.12-1.149.el6_6.7
  • nscd RHEL 6 2.12-1.149.el6_6.7
  • glibc-utils RHEL 6 2.12-1.149.el6_6.7

red hat advisories RHSA-2015:2589RHSA-2015:2199RHSA-2015:0863

  • glibc SLES for SAP 12, SLES 12, SLED 12 +1 more 2.19-22.7.1
  • glibc SLES for SAP 11 SP4, SLES for SAP 11 SP3, SLES 11 SP4 +6 more 2.11.3-17.87.3
  • glibc SLES 11 SP2-LTSS 2.11.3-17.45.66.1

suse advisories SUSE-SU-2016:0470-1SUSE-SU-2015:1844-1SUSE-SU-2015:1424-1

  • glibc openSUSE Tumbleweed 2.24-2.3

opensuse advisories openSUSE-SU-2024:10154-1

Is CVE-2015-1781 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-2015-1781 updated cvss 5.1

glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer

  • Red Hat Enterprise Linux 5 glibc
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) nscd 2.17-105.el7, glibc 2.17-105.el7, glibc-utils 2.17-105.el7, glibc-common 2.17-105.el7, glibc-debuginfo-common 2.17-105.el7 Red Hat Enterprise Linux Client Optional (v. 7) glibc-debuginfo-common 2.17-105.el7 Red Hat Enterprise Linux ComputeNode (v. 7) nscd 2.17-105.el7, glibc 2.17-105.el7, glibc-utils 2.17-105.el7, glibc-common 2.17-105.el7, glibc-debuginfo-common 2.17-105.el7
    fixed: vendor fix RHSA-2015:2199
  • Red Hat Enterprise Linux ComputeNode EUS (v. 7.1) nscd 2.17-79.el7_1, glibc 2.17-79.el7_1, glibc-utils 2.17-79.el7_1, glibc-common 2.17-79.el7_1, glibc-debuginfo-common 2.17-79.el7_1
    fixed: vendor fix RHSA-2015:2589
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7) glibc-debuginfo-common 2.17-105.el7
    fixed: vendor fix RHSA-2015:2199
  • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.1) glibc-debuginfo-common 2.17-79.el7_1
    fixed: vendor fix RHSA-2015:2589
  • Red Hat Enterprise Linux Desktop (v. 6) nscd 2.12-1.149.el6_6.7, glibc 2.12-1.149.el6_6.7, glibc-utils 2.12-1.149.el6_6.7, glibc-common 2.12-1.149.el6_6.7, glibc-debuginfo-common 2.12-1.149.el6_6.7 Red Hat Enterprise Linux Desktop Optional (v. 6) glibc-debuginfo-common 2.12-1.149.el6_6.7 Red Hat Enterprise Linux HPC Node (v. 6) nscd 2.12-1.149.el6_6.7, glibc 2.12-1.149.el6_6.7, glibc-utils 2.12-1.149.el6_6.7, glibc-common 2.12-1.149.el6_6.7, glibc-debuginfo-common 2.12-1.149.el6_6.7 Red Hat Enterprise Linux HPC Node Optional (v. 6) glibc-debuginfo-common 2.12-1.149.el6_6.7 Red Hat Enterprise Linux Server (v. 6) nscd 2.12-1.149.el6_6.7, glibc 2.12-1.149.el6_6.7, glibc-utils 2.12-1.149.el6_6.7, glibc-common 2.12-1.149.el6_6.7, glibc-debuginfo-common 2.12-1.149.el6_6.7
    fixed: vendor fix RHSA-2015:0863
  • Red Hat Enterprise Linux Server (v. 7) nscd 2.17-105.el7, glibc 2.17-105.el7, glibc-utils 2.17-105.el7, glibc-common 2.17-105.el7, glibc-debuginfo-common 2.17-105.el7
    fixed: vendor fix RHSA-2015:2199
  • Red Hat Enterprise Linux Server EUS (v. 7.1) nscd 2.17-79.el7_1, glibc 2.17-79.el7_1, nscd 2.17-79.ael7b_1, glibc 2.17-79.ael7b_1, glibc-utils 2.17-79.el7_1, glibc-common 2.17-79.el7_1, +4 more
    fixed: vendor fix RHSA-2015:2589
show 7 more
  • Red Hat Enterprise Linux Server Optional (v. 6) glibc-debuginfo-common 2.12-1.149.el6_6.7
    fixed: vendor fix RHSA-2015:0863
  • Red Hat Enterprise Linux Server Optional (v. 7) glibc-debuginfo-common 2.17-105.el7
    fixed: vendor fix RHSA-2015:2199
  • Red Hat Enterprise Linux Server Optional EUS (v. 7.1) glibc-debuginfo-common 2.17-79.el7_1, glibc-debuginfo-common 2.17-79.ael7b_1
    fixed: vendor fix RHSA-2015:2589
  • Red Hat Enterprise Linux Workstation (v. 6) nscd 2.12-1.149.el6_6.7, glibc 2.12-1.149.el6_6.7, glibc-utils 2.12-1.149.el6_6.7, glibc-common 2.12-1.149.el6_6.7, glibc-debuginfo-common 2.12-1.149.el6_6.7
    fixed: vendor fix RHSA-2015:0863
  • Red Hat Enterprise Linux Workstation (v. 7) nscd 2.17-105.el7, glibc 2.17-105.el7, glibc-utils 2.17-105.el7, glibc-common 2.17-105.el7, glibc-debuginfo-common 2.17-105.el7
    fixed: vendor fix RHSA-2015:2199
  • Red Hat Enterprise Linux Workstation Optional (v. 6) glibc-debuginfo-common 2.12-1.149.el6_6.7
    fixed: vendor fix RHSA-2015:0863
  • Red Hat Enterprise Linux Workstation Optional (v. 7) glibc-debuginfo-common 2.17-105.el7
    fixed: vendor fix RHSA-2015:2199

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

5.01% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel 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.