Public Date:
1199525: CVE-2015-1781 glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer
A buffer overflow flaw was found in the way glibc's gethostbyname_r() and other related functions computed the size of a buffer when passed a misaligned buffer as input. An attacker able to make an application call any of these functions with a misaligned buffer could use this flaw to crash the application or, potentially, execute arbitrary code with the permissions of the user running the application.

Find out more about CVE-2015-1781 from the MITRE CVE dictionary dictionary and NIST NVD.


Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle:

CVSS v2 metrics

Base Score 5.1
Base Metrics AV:N/AC:H/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity High
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 7 (glibc) RHSA-2015:2199 2015-11-19
Red Hat Enterprise Linux Extended Update Support 7.1 (glibc) RHSA-2015:2589 2015-12-09
Red Hat Enterprise Linux 6 (glibc) RHSA-2015:0863 2015-04-21

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 5 glibc Will not fix
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.


This issue was discovered by Arjun Shankar of Red Hat.
Last Modified