HT Editor: Multiple buffer overflows — GLSA 200505-08

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

Affected packages

app-editors/hteditor on all architectures
Affected versions < 0.8.0-r2
Unaffected versions >= 0.8.0-r2

Background

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

Description

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.

Impact

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

Workaround

There is no known workaround at this time.

Resolution

All hteditor users should upgrade to the latest version:

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

References

Release date
May 10, 2005

Latest revision
May 22, 2006: 02

Severity
normal

Exploitable
remote

Bugzilla entries