CVE-2013-6954

Publication date 12 January 2014

Last updated 11 June 2025


Ubuntu priority

Cvss 3 Severity Score

6.5 · Medium

Score breakdown

The png_do_expand_palette function in libpng before 1.6.8 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via (1) a PLTE chunk of zero bytes or (2) a NULL palette, related to pngrtran.c and pngset.c.

Read the notes from the security team

Status

Package Ubuntu Release Status
libpng 13.10 saucy
Not affected
13.04 raring
Not affected
12.10 quantal
Not affected
12.04 LTS precise
Not affected
10.04 LTS lucid
Not affected
openjdk-7 14.04 LTS trusty Not in release
13.10 saucy Ignored end of life
12.10 quantal Ignored end of life
12.04 LTS precise Ignored end of life
10.04 LTS lucid Not in release

Notes


mdeslaur

vulnerable code introduced in 1.6.1. In 1.2.x, png_ptr->palette is always set in png_set_PLTE() in pngset.c.


jdstrand

openjdk uses system png

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libpng

Severity score breakdown

Parameter Value
Base score 6.5 · Medium
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H