Gentoo Logo

ldns: Arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201401-25 / ldns
Release Date January 21, 2014
Latest Revision January 21, 2014: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-libs/ldns < 1.6.11 >= 1.6.11 All supported architectures

Related bugreports: #384249


A heap-based buffer overflow in ldns might allow remote attackers to execute arbitrary code or cause a Denial of Service condition.

2.  Impact Information


ldns is a fast DNS library with the goal to simplify DNS programming and to allow developers to easily create software conforming to current RFCs and Internet drafts.


ldns contains a heap-based buffer overflow in the ldns_rr_new_frm_str_internal function.


A remote attacker could execute arbitrary code or cause a Denial of Service condition with a crafted Resource Record.

3.  Resolution Information


There is no known workaround at this time.


All ldns users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-libs/ldns-1.6.11"

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying these packages.

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since October 11, 2011. It is likely that your system is already no longer affected by this issue.

4.  References


Page updated January 21, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.