CVE-2019-20391
An invalid memory access flaw is present in libyang before v1.0-r3 in the function...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2019-20391- 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 - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2019-20391- Updated
- 2026-11-02
EUVDEUVD-2019-10941 No score
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.
- Record
EUVD-2019-10941- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-57jg-xr2w-54jg
6.5
An invalid memory access flaw is present in libyang before v1.0-r3 in the function...
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.
- Record
GHSA-57jg-xr2w-54jg- 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 - Weakness
- CWE-119
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2019-20391- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-20391
6.5
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.
- Record
DEBIAN-CVE-2019-20391- 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 - Updated
- 2026-11-02
OSVRHEA-2021:1906
7.0
Red Hat Enhancement Advisory: libyang bug fix and enhancement update
- Record
RHEA-2021:1906- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-20391
6.5
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.
- Record
UBUNTU-CVE-2019-20391- 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 - Updated
- 2026-11-02
OSVALEA-2021:1906 No score
libyang bug fix and enhancement update
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALEA-2021:1906- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libyangAlmaLinux:8 |
before 1.0.184-1.el8 | 1.0.184-1.el8 |
libyangDebian:13 |
before 1.0.176-1 | 1.0.176-1 |
libyangDebian:14 |
before 1.0.176-1 | 1.0.176-1 |
libyangDebian:10 |
before 0.16.105+really1.0-0+deb10u1, plus listed versions 0.16.105-10.16.105-1+deb10u10.16.105-20.16.105-3 |
0.16.105+really1.0-0+deb10u1 |
libyangRed Hat:enterprise_linux:8::appstream |
before 0:1.0.184-1.el8 | 0:1.0.184-1.el8 |
libyang-cpp-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.0.184-1.el8 | 0:1.0.184-1.el8 |
libyang-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.0.184-1.el8 | 0:1.0.184-1.el8 |
libyang-debugsourceRed Hat:enterprise_linux:8::appstream |
before 0:1.0.184-1.el8 | 0:1.0.184-1.el8 |
python3-libyang-debuginfoRed Hat:enterprise_linux:8::appstream |
before 0:1.0.184-1.el8 | 0:1.0.184-1.el8 |
libyangUbuntu:20.04:LTS |
All versions, plus listed versions 0.16.105-10.16.105-20.16.105-30.16.105-3build1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-20391 is a medium vulnerability (CVSS 6.5) in Cesnet Libyang, published January 22, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.88%, the 79th percentile. Fixed in libyang 1.0.184-1.el8.
References
github.com/CESNET/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8
github.com/CESNET/libyang/issues/772
bugzilla.redhat.com/show_bug.cgi?id=1793934
github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3
lists.debian.org/debian-lts-announce/2023/09/msg00019.html
nvd.nist.gov/vuln/detail/CVE-2019-20391
Show 46 moreShow less
github.com/advisories/GHSA-57jg-xr2w-54jg
errata.almalinux.org/8/ALEA-2021-1906.html
vulners.com/cve/CVE-2019-20391
vulners.com/cve/CVE-2019-20392
vulners.com/cve/CVE-2019-20393
vulners.com/cve/CVE-2019-20394
vulners.com/cve/CVE-2019-20395
vulners.com/cve/CVE-2019-20396
vulners.com/cve/CVE-2019-20397
vulners.com/cve/CVE-2019-20398
security-tracker.debian.org/tracker/CVE-2019-20391
access.redhat.com/errata/RHEA-2021:1906
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1910046
security.access.redhat.com/data/csaf/v2/advisories/2021/rhea-2021_1906.json
access.redhat.com/security/cve/CVE-2019-20391
cve.org/CVERecord?id=CVE-2019-20391
access.redhat.com/security/cve/CVE-2019-20392
bugzilla.redhat.com/show_bug.cgi?id=1793922
cve.org/CVERecord?id=CVE-2019-20392
nvd.nist.gov/vuln/detail/CVE-2019-20392
access.redhat.com/security/cve/CVE-2019-20393
bugzilla.redhat.com/show_bug.cgi?id=1793930
cve.org/CVERecord?id=CVE-2019-20393
nvd.nist.gov/vuln/detail/CVE-2019-20393
access.redhat.com/security/cve/CVE-2019-20394
bugzilla.redhat.com/show_bug.cgi?id=1793932
cve.org/CVERecord?id=CVE-2019-20394
nvd.nist.gov/vuln/detail/CVE-2019-20394
access.redhat.com/security/cve/CVE-2019-20395
bugzilla.redhat.com/show_bug.cgi?id=1793924
cve.org/CVERecord?id=CVE-2019-20395
nvd.nist.gov/vuln/detail/CVE-2019-20395
access.redhat.com/security/cve/CVE-2019-20396
bugzilla.redhat.com/show_bug.cgi?id=1793929
cve.org/CVERecord?id=CVE-2019-20396
nvd.nist.gov/vuln/detail/CVE-2019-20396
access.redhat.com/security/cve/CVE-2019-20397
bugzilla.redhat.com/show_bug.cgi?id=1793928
cve.org/CVERecord?id=CVE-2019-20397
nvd.nist.gov/vuln/detail/CVE-2019-20397
access.redhat.com/security/cve/CVE-2019-20398
bugzilla.redhat.com/show_bug.cgi?id=1793935
cve.org/CVERecord?id=CVE-2019-20398
nvd.nist.gov/vuln/detail/CVE-2019-20398
ubuntu.com/security/CVE-2019-20391