Gentoo Logo

HT Editor: Multiple buffer overflows


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200505-08 / hteditor
Release Date May 10, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-editors/hteditor < 0.8.0-r2 >= 0.8.0-r2 All supported architectures

Related bugreports: #91569


Two vulnerabilities have been discovered in HT Editor, potentially leading to the execution of arbitrary code.

2.  Impact Information


HT is a hex editor, designed to help analyse and modify executable files.


Tavis Ormandy of the Gentoo Linux Security Team discovered an integer overflow in the ELF parser, leading to a heap-based buffer overflow. The vendor has reported that an unrelated buffer overflow has been discovered in the PE parser.


Successful exploitation would require the victim to open a specially crafted file using HT, potentially permitting an attacker to execute arbitrary code.

3.  Resolution Information


There is no known workaround at this time.


All hteditor users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/hteditor-0.8.0-r2"

4.  References


Page updated May 10, 2005

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.