Netpbm: Buffer overflow in pnmtopng — GLSA 200510-18

The pnmtopng utility, part of the Netpbm tools, contains a vulnerability which can potentially result in the execution of arbitrary code.

Affected Packages

media-libs/netpbm on all architectures
Affected versions < 10.29
Unaffected versions >= 10.29, revision >= 10.26.32, revision >= 10.26.33, revision >= 10.26.42, revision >= 10.26.43, revision >= 10.26.44, revision >= 10.26.48, revision >= 10.26.49, revision >= 10.26.52, revision >= 10.26.53, revision >= 10.26.59, revision >= 10.26.61

Background

Netpbm is a package of 220 graphics programs and a programming library, including pnmtopng, a tool to convert PNM image files to the PNG format.

Description

RedHat reported that pnmtopng is vulnerable to a buffer overflow.

Impact

An attacker could craft a malicious PNM file and entice a user to run pnmtopng on it, potentially resulting in the execution of arbitrary code with the permissions of the user running pnmtopng.

Workaround

There is no known workaround at this time.

Resolution

All Netpbm users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose media-libs/netpbm

References

Release Date
October 20, 2005

Latest Revision
May 28, 2009: 06

Severity
normal

Exploitable
remote

Bugzilla entries