CVE-2019-20396

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-20396
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20396.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-20396
Downstream
Published
2020-01-22T22:15:10Z
Modified
2025-10-15T10:50:19.359159Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/cesnet/libyang

Affected ranges

Type
GIT
Repo
https://github.com/cesnet/libyang
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.11-r1
v0.11-r2
v0.12-r1
v0.12-r2
v0.13-r1
v0.13-r2
v0.14-r1
v0.15-r1
v0.16-r1
v0.16-r2
v0.16-r3

Database specific

{
    "vanir_signatures": [
        {
            "target": {
                "file": "src/parser_yang_bis.c",
                "function": "yyparse"
            },
            "signature_version": "v1",
            "id": "CVE-2019-20396-34ee9590",
            "digest": {
                "length": 121387.0,
                "function_hash": "77555260869703791548682690774890099272"
            },
            "deprecated": false,
            "source": "https://github.com/cesnet/libyang/commit/a1f17693904ed6fecc8902c747fc50a8f20e6af8",
            "signature_type": "Function"
        },
        {
            "target": {
                "file": "src/parser_yang_bis.c"
            },
            "signature_version": "v1",
            "id": "CVE-2019-20396-7b4151cd",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "8951943926037236718842534528035772412",
                    "186241053998576123766993079963883627801",
                    "263516074267876542474601258196836796276",
                    "175814208747679021527942933567404922335"
                ]
            },
            "deprecated": false,
            "source": "https://github.com/cesnet/libyang/commit/a1f17693904ed6fecc8902c747fc50a8f20e6af8",
            "signature_type": "Line"
        }
    ]
}