# CVE-2019-20398

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-01-22 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2019-20398, DEBIAN-CVE-2019-20398
- Record: https://cvemate.com/vulnerability/CVE-2019-20398 · JSON: https://cvemate.com/vulnerability/CVE-2019-20398/json

## Description

```text
A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.818%, percentile 79.471%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- cesnet libyang: 0.11:r1 \| 0.11:r2 \| 0.12:r1 \| 0.12:r2 \| 0.13:r1 \| 0.13:r2 \| 0.14:r1 \| 0.15:r1 \| 0.16:r1 \| 0.16:r2 \| 0.16:r3 \| 1.0:r1 \| 1.0:r2
- debian libyang (Debian): \< 1.0.176-1
- ubuntu libyang (Ubuntu): All versions (No fix recorded) \| \< 0.16.105-3ubuntu0.1~esm1

## References

- <https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3>
- <https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08>
- <https://github.com/CESNET/libyang/issues/773>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1793935>
- <https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html>
- <https://ubuntu.com/security/CVE-2019-20398>
- <https://www.cve.org/CVERecord?id=CVE-2019-20398>
- <https://security-tracker.debian.org/tracker/CVE-2019-20398>
- <https://ubuntu.com/security/notices/USN-9429-1>

---

Data as of 2026-12-05T04:10:47.125Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
