Skip to content
OpenAdvisories
High · 8.1 CVE-2019-19334 EUVD-2019-8955GHSA-936c-h6q8-79c4

In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of …

Published Dec 6, 2019 · Updated Aug 5, 2024 · Assigned by redhat

Description

In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.

Affected products

VendorProductAffectedFixed
Red Hat libyang libyang all versions before 1.0-r5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libyang 0.16.105-2 —
Debian 13 libyang 0.16.105-2 —
ReleasePackageFixed inAdvisory
RHEL 8 libyang 0.16.105-3.el8_1.2 RHSA-2019:4360

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 libyang 0.16.105-3.el8_1.2 ELSA-2019-4360

Advisories 2

References