Red Hat Customer Portal

Skip to main content


Public Date:
1078083: CVE-2014-2525 libyaml: heap-based buffer overflow when parsing URLs

The MITRE CVE dictionary describes this issue as:

Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6 allows context-dependent attackers to execute arbitrary code via a long sequence of percent-encoded characters in a URI in a YAML file.

Find out more about CVE-2014-2525 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 6.8
Base Metrics AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux OpenStack Platform 4.0 (libyaml) RHSA-2014:0354 2014-04-02
Red Hat Enterprise Linux OpenStack Platform 3.0 (libyaml) RHSA-2014:0353 2014-04-02
Red Hat Common for Red Hat Enterprise Linux 6 (libyaml) RHSA-2014:0415 2014-04-17
Red Hat Enterprise Linux OpenStack Platform 3.0 (ruby193-libyaml) RHSA-2014:0364 2014-04-03
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) (ruby193-libyaml) RHSA-2014:0355 2014-04-02

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 6 libyaml Affected
Red Hat Enterprise Linux 7 libyaml Not affected


Red Hat would like to thank oCERT for reporting this issue. oCERT acknowledges Ivan Fratric of the Google Security Team as the original reporter.

Last Modified