Evince: Stack overflow in included gv code

Security Team  Contact Address

Updated April 06, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200704-06 / evince
Release Date April 06, 2007
Latest Revision April 06, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-text/evince < 0.6.1-r3 >= 0.6.1-r3 All supported architectures

Related bugreports: #156573

Synopsis

Evince improperly handles user-supplied data possibly allowing for the execution of arbitrary code.

2.  Impact Information

Background

Evince is a document viewer for multiple document formats, including PostScript.

Description

Evince includes code from GNU gv that does not properly boundary check user-supplied data before copying it into process buffers.

Impact

An attacker could entice a user to open a specially crafted PostScript document with Evince and possibly execute arbitrary code with the rights of the user running Evince.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Evince users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-text/evince-0.6.1-r3"

4.  References