An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolvefeaturevalue() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.
{ "vanir_signatures": [ { "signature_type": "Line", "deprecated": false, "signature_version": "v1", "source": "https://github.com/cesnet/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8", "digest": { "line_hashes": [ "155430779242861446466177299443060400718", "15933832550298970296093717907452545562", "210533867413985869976612204320521306275", "217119053337116050957207098743507905420" ], "threshold": 0.9 }, "id": "CVE-2019-20391-16593093", "target": { "file": "src/resolve.c" } }, { "signature_type": "Function", "deprecated": false, "signature_version": "v1", "source": "https://github.com/cesnet/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8", "digest": { "function_hash": "144887731380011650420799519691260820041", "length": 143.0 }, "id": "CVE-2019-20391-9d460c02", "target": { "function": "resolve_iffeature", "file": "src/resolve.c" } } ] }