CVE-2013-6393

NameCVE-2013-6393
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-2850-1, DSA-2870-1
Debian Bugs737076

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libyaml (PTS)buster0.2.1-1fixed
bullseye0.2.2-1fixed
sid, trixie, bookworm0.2.5-1fixed
libyaml-libyaml-perl (PTS)buster0.76+repack-1fixed
bullseye0.82+repack-1fixed
bookworm0.86+ds-1fixed
sid, trixie0.89+ds-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libyamlsourcesqueeze0.1.3-1+deb6u2DSA-2850-1
libyamlsourcewheezy0.1.4-2+deb7u2DSA-2850-1
libyamlsource(unstable)0.1.4-3737076
libyaml-libyaml-perlsourcesqueeze0.33-1+squeeze2DSA-2870-1
libyaml-libyaml-perlsourcewheezy0.38-3+deb7u1DSA-2870-1
libyaml-libyaml-perlsource(unstable)0.41-4

Search for package or bug name: Reporting problems