# CVE-2019-20391: An invalid memory access flaw is present in libyang before v1.0-r3 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:20.997Z
- Weaknesses: CWE-119
- Assigned by: mitre

## Description

An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolve_feature_value() when an if-feature statement is used inside a bit. 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; 1.0

## 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/772> (exploit, third-party-advisory)
- <https://github.com/CESNET/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8> (patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1793934> (issue-tracking, patch, third-party-advisory)
- <https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html> (mailing-list)

## Sources

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

---

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