CVE-2013-6393

libyaml: heap-based buffer overflow when parsing YAML tags

Published Feb 6, 2014 CVSS 2.0 · 6.8 Medium EPSS 7.4% KEV · Not listed
Description
The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted tags in a YAML document, which triggers a heap-based buffer overflow.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2850-1 libyaml security update
Debian DSA Debian DSA DSA-2870-1 libyaml-libyaml-perl security update
EUVD EUVD EUVD-2020-0633 The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted tags in a YAML document, which triggers a heap-based buffer overflow.
Github GHSA Github GHSA GHSA-m75h-cghq-c8h5 Heap Based Buffer Overflow in libyaml
Ubuntu USN Ubuntu USN USN-2098-1 LibYAML vulnerability
Ubuntu USN Ubuntu USN USN-2161-1 libyaml-libyaml-perl vulnerabilities
History

No history.

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 5:39 PM
Reserved
Nov 4, 2013, 12:00 AM
Status
Modified
Published
Feb 6, 2014, 10:55 PM
Modified
Jun 17, 2026, 12:00 AM
Severity
Moderate
Public date
Jan 27, 2014, 12:00 AM