---
title: "CVE-2012-0947\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-0947?format=md
keywords: index, follow
---

# CVE-2012-0947

Publication date 3 May 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

Heap-based buffer overflow in the vqa\_decode\_chunk function in the VQA
codec (vqavideo.c) in libavcodec in Libav 0.5.x before 0.5.9, 0.6.x before
0.6.6, 0.7.x before 0.7.6, and 0.8.x before 0.8.2 allows remote attackers
to cause a denial of service (crash) and possibly execute arbitrary code
via a crafted VQA media file in which the image size is not a multiple of
the block size.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-0947?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ffmpeg | 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.04 LTS lucid | Fixed 4:0.5.9-0ubuntu0.10.04.1 |
| 8.04 LTS hardy | Ignored end of life |
| ffmpeg-extra | 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.04 LTS lucid | Fixed |
| 8.04 LTS hardy | Not in release |
| libav | 12.04 LTS precise | Fixed 4:0.8.3-0ubuntu0.12.04.1 |
| 11.10 oneiric | Fixed 4:0.7.6-0ubuntu0.11.10.1 |
| 11.04 natty | Fixed 4:0.6.6-0ubuntu0.11.04.1 |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| libav-extra | 12.04 LTS precise | Fixed 4:0.8.3-0ubuntu0.12.04.1 |
| 11.10 oneiric | Fixed 4:0.7.6-0ubuntu0.11.10.1 |
| 11.04 natty | Fixed 4:0.6.6-0ubuntu0.11.04.1 |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2012-0947?format=md#patch-details)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

Independently discovered in ffmpeg by Mateusz Jurczyk and Gynvael
Coldwind

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

as of 2012-05-22, no fix in libav 0.6.x

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| ffmpeg | * Upstream:   <http://git.videolan.org/?p=ffmpeg.git;a=commit;h=58b2e0f0f2fc96c1158e04f8aba95cbe6157a1a3> |
| libav | * Upstream:   <http://git.libav.org/?p=libav.git;a=commit;h=58b2e0f0f2fc96c1158e04f8aba95cbe6157a1a3> * Other:   <https://bugs.launchpad.net/ubuntu/+source/libav/+bug/980963> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0947)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-0947)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-0947)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-0947)

### Related Ubuntu Security Notices (USN)

+ [USN-1478-1](https://usn.ubuntu.com/USN-1478-1)
+ Libav vulnerabilities
+ 18 June 2012

+ [USN-1479-1](https://usn.ubuntu.com/USN-1479-1)
+ FFmpeg vulnerabilities
+ 18 June 2012

### Other references

* <http://www.openwall.com/lists/oss-security/2012/05/03/4>
* <https://www.cve.org/CVERecord?id=CVE-2012-0947>
