xli and xloadimage are vulnerable to multiple issues, potentially leading to the execution of arbitrary code.
|Package||media-gfx/xloadimage on all architectures|
|Affected versions||< 4.1-r2|
|Unaffected versions||>= 4.1-r2|
|Package||media-gfx/xli on all architectures|
|Affected versions||< 1.17.0-r1|
|Unaffected versions||>= 1.17.0-r1|
xli and xloadimage are X11 utilities for displaying and manipulating a wide range of image formats.
Tavis Ormandy of the Gentoo Linux Security Audit Team has reported that xli and xloadimage contain a flaw in the handling of compressed images, where shell meta-characters are not adequately escaped. Rob Holland of the Gentoo Linux Security Audit Team has reported that an xloadimage vulnerability in the handling of Faces Project images discovered by zen-parse in 2001 remained unpatched in xli. Additionally, it has been reported that insufficient validation of image properties in xli could potentially result in buffer management errors.
Successful exploitation would permit a remote attacker to execute arbitrary shell commands, or arbitrary code with the privileges of the xloadimage or xli user.
There is no known workaround at this time.
All xli users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-gfx/xli-1.17.0-r1"
All xloadimage users should also upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-gfx/xloadimage-4.1-r2"
March 02, 2005
May 22, 2006: 02