USN-9429-1: libyang vulnerabilities

Published Dec 2, 2026
·
Updated

It was discovered that libyang did not properly handle certain feature statements in YANG files. An attacker could possibly use this issue to cause libyang to crash, resulting in a denial of service. (CVE-2019-20391)

It was discovered that libyang did not properly handle undefined features in certain YANG files. An attacker could possibly use this issue to cause libyang to crash, resulting in a denial of service. (CVE-2019-20392)

It was discovered that libyang incorrectly freed memory when parsing certain YANG files with empty descriptions. An attacker could possibly use this issue to cause libyang to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2019-20393)

It was discovered that libyang incorrectly freed memory when parsing certain YANG files containing notifications. An attacker could possibly use this issue to cause libyang to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2019-20394)

It was discovered that libyang did not properly handle certain recursive type definitions in YANG files. An attacker could possibly use this issue to cause libyang to use excessive resources or crash, resulting in a denial of service. (CVE-2019-20395)

It was discovered that libyang did not properly handle malformed patterns in YANG files. An attacker could possibly use this issue to cause libyang to crash, resulting in a denial of service. (CVE-2019-20396)

It was discovered that libyang incorrectly freed memory when parsing certain YANG files with unterminated organization fields. An attacker could possibly use this issue to cause libyang to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2019-20397)

It was discovered that libyang did not properly handle unresolved extensions in certain YANG files. An attacker could possibly use this issue to cause libyang to crash, resulting in a denial of service. (CVE-2019-20398)

Affected Software

1 affected componentFixes available
ubuntu/libyang<0.16.105-3ubuntu0.1~esm1
0.16.105-3ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libyang to a version that resolves this vulnerability.

    Fixed in 0.16.105-3ubuntu0.1~esm1

Event History

Dec 2, 2026
Advisory Published
via OSV·07:10 PM
Data Sourced
via OSV·07:10 PM
DescriptionAffected Software

Frequently Asked Questions

1

What input would an attacker need to control to exploit these issues?

The attacker would need to cause libyang to parse crafted YANG files. The described malicious constructs include feature statements, undefined features, empty descriptions, notifications, and recursive type definitions.

2

What impact is possible beyond a service crash?

Several issues can cause denial of service through crashes or excessive resource use. The memory-handling issues involving empty descriptions and notifications may also allow arbitrary code execution.

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