Every CVE Search/ Get API key

CVE-2019-20394

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type...

8.8 HighFix available

CVE-2019-20394 is a high vulnerability (CVSS 8.8) 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 2.81%, the 86th percentile. Fixed in libyang 1.0.184-1.el8.

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

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
High
Integrity
High
Availability
High

Exploit likelihood

2.81%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

Record
CVE-2019-20394
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-415
Updated
2026-11-02
CVE List No score

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

Record
CVE-2019-20394
Updated
2026-11-02
EUVDEUVD-2019-10944 No score

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

Record
EUVD-2019-10944
Updated
2026-11-03
GitHub AdvisoriesGHSA-pgmh-hmfg-8gwj 8.8

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type...

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

Record
GHSA-pgmh-hmfg-8gwj
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-415
Updated
2026-11-02
OSV 8.8

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

Record
CVE-2019-20394
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-20394 8.8

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

Record
DEBIAN-CVE-2019-20394
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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 HighCVSS: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-20394 8.8

A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.

Record
UBUNTU-CVE-2019-20394
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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

Affected packages
PackageAffectedFixed
libyang
AlmaLinux:8
before 1.0.184-1.el8
1.0.184-1.el8
libyang
Debian:13
before 1.0.176-1
1.0.176-1
libyang
Debian:14
before 1.0.176-1
1.0.176-1
libyang
Debian: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
libyang
Red Hat:enterprise_linux:8::appstream
before 0:1.0.184-1.el8
0:1.0.184-1.el8
libyang-cpp-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.0.184-1.el8
0:1.0.184-1.el8
libyang-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.0.184-1.el8
0:1.0.184-1.el8
libyang-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:1.0.184-1.el8
0:1.0.184-1.el8
python3-libyang-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.0.184-1.el8
0:1.0.184-1.el8
libyang
Ubuntu:20.04:LTS
All versions, plus listed versions
0.16.105-10.16.105-20.16.105-30.16.105-3build1
None known

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 46 moreShow less
MoveEnter Open