CVE-2019-20397Double Free in Libyang

Severity
8.8HIGHNVD
EPSS
0.4%
top 39.44%
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-r1 in the function yyparse() when an organization field is not terminated. 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/libyang6 versions+5

Patches

🔴Vulnerability Details

2
GHSA
GHSA-5hg2-f3wf-x3c3: A double-free is present in libyang before v12022-05-24
OSV
CVE-2019-20397: A double-free is present in libyang before v12020-01-22

📋Vendor Advisories

2
Red Hat
libyang: double-free in yyparse() when organization field is not terminated2019-03-28
Debian
CVE-2019-20397: libyang - A double-free is present in libyang before v1.0-r1 in the function yyparse() whe...2019

💬Community

2
Bugzilla
CVE-2019-20397 libyang: double-free in yyparse() when organization field is not terminated [fedora-all]2020-02-03
Bugzilla
CVE-2019-20397 libyang: double-free in yyparse() when organization field is not terminated2020-01-22