# CVE-2019-20392: An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolvefeaturevalue() when an if-feature statement is us…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.88%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-01-22T00:00:00.000Z
- Modified: 2026-06-17T02:30:21.120Z
- Weaknesses: CWE-119
- Assigned by: mitre

## Description

An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolve_feature_value() when an if-feature statement is used inside a list key node, and the feature used is not defined. Applications that use libyang to parse untrusted input yang files may crash.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cesnet libyang: 0.11; 0.12; 0.13; 0.14; 0.15; 0.16

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/CESNET/libyang/issues/723> (exploit, third-party-advisory)
- <https://github.com/CESNET/libyang/commit/32fb4993bc8bb49e93e84016af3c10ea53964be5> (patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1793922> (issue-tracking, patch, third-party-advisory)
- <https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html> (mailing-list)

## Sources

- CVE List: [CVE-2019-20392](https://www.cve.org/CVERecord?id=CVE-2019-20392), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-20392](https://nvd.nist.gov/vuln/detail/CVE-2019-20392), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-20392 · Whole record: https://cve.day/CVE-2019-20392.json · Rebuilt by cve.day 2026-11-25T22:57:49.298Z
