GLSA-201701-74 : libpng: Remote execution of arbitrary code

This script is Copyright (C) 2017 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-201701-74
(libpng: Remote execution of arbitrary code)

A NULL pointer dereference was discovered in libpng in the
png_push_save_buffer function. In order to be vulnerable, an application
has to load a text chunk into the PNG structure, then delete all text,
then add another text chunk to the same PNG structure, which seems to be
an unlikely sequence, but it is possible.

Impact :

A remote attacker, by enticing a user to process a specially crafted PNG
file, could execute arbitrary code with the privileges of the process.

Workaround :

There is no known workaround at this time.

See also :

https://security.gentoo.org/glsa/201701-74

Solution :

All libpng 1.6.x users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-libs/libpng-1.6.27'
All libpng 1.5.x users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-libs/libpng-1.5.28:1.5'
All libpng 1.2.x users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-libs/libpng-1.2.57:1.2'

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 96860 ()

Bugtraq ID:

CVE ID: CVE-2016-10087

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now