Gentoo Logo

Newt: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201006-14 / newt
Release Date June 02, 2010
Latest Revision June 02, 2010: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/newt < 0.52.10-r1 >= 0.52.10-r1 All supported architectures

Related bugreports: #285854


A heap-based buffer overflow in the Newt library might allow remote, user-assisted attackers to execute arbitrary code.

2.  Impact Information


Newt is a library for displaying text mode user interfaces.


Miroslav Lichvar reported that Newt is prone to a heap-based buffer overflow in textbox.c.


A remote attacker could entice a user to enter a specially crafted string into a text dialog box rendered by Newt, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application, or a Denial of Service condition.

3.  Resolution Information


There is no known workaround at this time.


All Newt users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/newt-0.52.10-r1"

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

4.  References


Page updated June 02, 2010

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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