CVE-2019-20394Double Free in Libyang

Severity
8.8HIGHNVD
EPSS
0.3%
top 47.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 22
Latest updateMay 24

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages3 packages

debiandebian/libyang< libyang 1.0.176-1 (bullseye)
Debiancesnet/libyang< 1.0.176-1+2
NVDcesnet/libyang7 versions+6

Patches

🔴Vulnerability Details

2
GHSA
GHSA-pgmh-hmfg-8gwj: A double-free is present in libyang before v12022-05-24
OSV
CVE-2019-20394: A double-free is present in libyang before v12020-01-22

📋Vendor Advisories

2
Red Hat
libyang: double-free in yyparse() when a type statement is used in a notification statement2019-04-26
Debian
CVE-2019-20394: libyang - A double-free is present in libyang before v1.0-r3 in the function yyparse() whe...2019

💬Community

2
Bugzilla
CVE-2019-20394 libyang: double-free in yyparse() when a type statement is used in a notification statement [fedora-all]2020-02-03
Bugzilla
CVE-2019-20394 libyang: double-free in yyparse() when a type statement is used in a notification statement2020-01-22