Evince: Stack overflow in included gv code — GLSA 200704-06

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

Affected packages

app-text/evince on all architectures
Affected versions < 0.6.1-r3
Unaffected versions >= 0.6.1-r3

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.

Workaround

There is no known workaround at this time.

Resolution

All Evince users should upgrade to the latest version:

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

References

Release date
April 06, 2007

Latest revision
April 06, 2007: 01

Severity
normal

Exploitable
remote

Bugzilla entries