Gentoo Logo

XnView: Stack-based buffer overflow

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200707-06 / xnview
Release Date July 11, 2007
Latest Revision July 11, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
x11-misc/xnview < 1.70 Intel compatible

Related bugreports: #175670

Synopsis

XnView is vulnerable to a stack-based buffer overflow and possible remote code execution when handling XPM image files.

2.  Impact Information

Background

XnView is software to view and convert graphics files. XPixMap (XPM) is a simple ascii-based graphics format.

Description

XnView is vulnerable to a stack-based buffer overflow while processing an XPM file with an overly long section string (greater than 1024 bytes).

Impact

An attacker could entice a user to view a specially crafted XPM file with XnView that could trigger the vulnerability and possibly execute arbitrary code with the rights of the user running XnView.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

No update appears to be forthcoming from the XnView developer and XnView is proprietary, so the XnView package has been masked in Portage. We recommend that users select an alternate graphics viewer and conversion utility, and unmerge XnView:

Code Listing 3.1: Resolution

# emerge --unmerge xnview

4.  References



Print

Page updated July 11, 2007

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.