When parsing an invalid PNG image file, a buffer overflow might occur.

Bug #1095434 reported by Christian Wolf
260
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vlc (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Please see Security Advisory 1203 on the Videolan website:

http://www.videolan.org/security/sa1203.html

--> 12.04 and before seem to be affected?

Summary : Buffer overflow in PNG decoder
Date : October 2012
Affected versions : VLC media player 2.0.3 and earlier
ID : VideoLAN-SA-1203
CVE reference : CVE-2012-5470
Details
When parsing an invalid PNG image file, a buffer overflow might occur.
Impact
If successful, a malicious third party could trigger an invalid memory access, leading to a crash of the process of the VLC media player.
Because the overflow occurs while reading a buffer, rather than writing, it is believed that this issue cannot lead to arbitrary code execution.
Threat mitigation
Exploitation of this issue requires the user to explicitly open a specially crafted file.
Workarounds
The user should refrain from opening files from untrusted third parties or accessing untrusted remote sites (or disable the VLC browser plugins), until the patch is applied.
Alternatively, the PNG decoder plugin (libpng_plugin.*) can be removed manually from the VLC plugin installation directory. This will prevent decoding of PNG images.
Solution
VLC media player 2.0.4 addresses this issue. Patches for older versions are available from the official VLC source code repository 2.0 and 1.1 branches.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Since the package referred to in this bug is in universe or multiverse, it is community maintained. If you are able, I suggest coordinating with upstream and posting a debdiff for this issue. When a debdiff is available, members of the security team will review it and publish the package. See the following link for more information: https://wiki.ubuntu.com/SecurityTeam/UpdateProcedures

information type: Private Security → Public Security
Changed in vlc (Ubuntu):
status: New → Incomplete
Revision history for this message
Benjamin Drung (bdrung) wrote :

This bug report is a duplicate of bug #1084054.

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.