CVE-2019-20396Improper Restriction of Operations within the Bounds of a Memory Buffer in Libyang

Severity
6.5MEDIUMNVD
EPSS
0.3%
top 51.01%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 22
Latest updateMay 24

Description

A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a malformed pattern statement value during lys_parse_path parsing.

CVSS vector

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

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-8wpf-h467-qvv5: A segmentation fault is present in yyparse in libyang before v12022-05-24
OSV
CVE-2019-20396: A segmentation fault is present in yyparse in libyang before v12020-01-22

📋Vendor Advisories

2
Red Hat
libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern2019-03-29
Debian
CVE-2019-20396: libyang - A segmentation fault is present in yyparse in libyang before v1.0-r1 due to a ma...2019

💬Community

2
Bugzilla
CVE-2019-20396 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern [fedora-all]2020-02-03
Bugzilla
CVE-2019-20396 libyang: heap-based buffer over-read in function lys_type_free() due to malformed pattern2020-01-22