USN-2461-1: LibYAML vulnerability

12 January 2015

libyaml vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 14.10
  • Ubuntu 14.04 LTS
  • Ubuntu 12.04 LTS


Applications using LibYAML could be made to crash if they received specially crafted input.

Software Description

  • libyaml - Fast YAML 1.1 parser and emitter library


Stanisław Pitucha and Jonathan Gray discovered that LibYAML did not properly handle wrapped strings. An attacker could create specially crafted YAML data to trigger an assert, causing a denial of service.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 14.10
libyaml-0-2 - 0.1.6-1ubuntu0.1
Ubuntu 14.04 LTS
libyaml-0-2 - 0.1.4-3ubuntu3.1
Ubuntu 12.04 LTS
libyaml-0-2 - 0.1.4-2ubuntu0.12.04.4

To update your system, please follow these instructions:

After a standard system update you need to restart applications using LibYAML to make all the necessary changes.