CVE-2014-2525: Buffer Overflow

Published Mar 19, 2014
·
Updated

A heap-based buffer overflow flaw was found in the way libyaml parsed URLs. A remote attacker could provide a specially-crafted YAML document that, when parsed by an application using libyaml, would cause the application to crash or, potentially, execute arbitrary code with the privileges of the user running the application.

Acknowledgements:

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

Other sources

Heap-based buffer overflow in the yamlparserscanuriescapes 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.

— MITRE

Affected Software

10 affected componentsFixes available
PyYAML Libyaml<=0.1.5
PyYAML Libyaml=0.0.1
PyYAML Libyaml=0.1.1
PyYAML Libyaml=0.1.2
PyYAML Libyaml=0.1.3
PyYAML Libyaml=0.1.4
openSUSE Leap=42.1
openSUSE openSUSE=13.1
openSUSE openSUSE=13.2
redhat/libyaml<0.1.6
0.1.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libyaml to a version that resolves this vulnerability.

    Fixed in 0.1.6

Event History

Mar 19, 2014
Data Sourced
via Red Hat·07:00 AM
DescriptionSeverityAffected Software
Mar 28, 2014
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
03:55 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 6, 2026
Updated
via NVD·10:30 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2014-2525?

CVE-2014-2525 has a high severity rating due to its potential to allow arbitrary code execution via a vulnerability in the parsing of URIs.

2

How do I fix CVE-2014-2525?

To fix CVE-2014-2525, update LibYAML to version 0.1.6 or later, which contains the necessary security patches.

3

What versions of LibYAML are affected by CVE-2014-2525?

CVE-2014-2525 affects LibYAML versions prior to 0.1.6, including all versions between 0.0.1 and 0.1.5.

4

Can CVE-2014-2525 be exploited remotely?

Yes, CVE-2014-2525 can be exploited by attackers via crafted YAML files containing specially encoded URIs.

5

What is the impact of CVE-2014-2525 on applications using LibYAML?

Applications using affected versions of LibYAML are vulnerable to remote code execution, posing a significant security risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203