---
title: "CVE-2013-2277\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-2013-2277?format=md
keywords: index, follow
---

# CVE-2013-2277

Publication date 27 February 2013

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The ff\_h264\_decode\_seq\_parameter\_set function in h264\_ps.c in libavcodec in
FFmpeg before 1.1.3 does not validate the relationship between luma depth
and chroma depth, which allows remote attackers to cause a denial of
service (out-of-bounds array access and application crash) or possibly have
unspecified other impact via crafted H.264 data.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ffmpeg | 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 10.04 LTS lucid | Ignored |
| 8.04 LTS hardy | Ignored end of life |
| ffmpeg-extra | 13.04 raring | Not in release |
| 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 10.04 LTS lucid | Ignored |
| 8.04 LTS hardy | Not in release |
| libav | 13.04 raring | Not affected |
| 12.10 quantal | Fixed 6:0.8.6-0ubuntu0.12.10.1 |
| 12.04 LTS precise | Fixed 4:0.8.6-0ubuntu0.12.04.1 |
| 11.10 oneiric | Ignored |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| libav-extra | 13.04 raring | Not affected |
| 12.10 quantal | Fixed 6:0.8.6ubuntu0.12.10.1 |
| 12.04 LTS precise | Fixed 4:0.8.6ubuntu0.12.04.1 |
| 11.10 oneiric | Ignored |
| 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-2013-2277?format=md#patch-details)

## Notes

---

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

ffmpeg-extra in multiverse needs to have matching version
libav-extra is built with tarball produced by libav package

---

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

ffmpeg on 10.04 LTS has no error checking of sps->bit\_depth\_luma
or sps->bit\_depth\_chroma (see libavcodec/h264.c line 7140 (after applying
quilt patches))
libav has no error checking of sps->bit\_depth\_luma os

---

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

bit\_depth\_chroma (see libavcodec/h264\_ps.c, line 338 on 11.10, line 348
on 12.04 LTS and higher)

---

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

ignoring releases near EoL. New version not available from
upstream.

### 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=bdeb61ccc67911cfc5e20c7cfb1312d0501ca90a> |
| libav | * Upstream:   <http://git.libav.org/?p=libav.git;a=commit;h=9e48d77158dcb104fb35b90593ace0b248bda7e1> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1790-1](https://usn.ubuntu.com/USN-1790-1)
+ Libav vulnerabilities
+ 4 April 2013

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2013-2277>
