UBUNTU-CVE-2019-20398

Source
https://ubuntu.com/security/CVE-2019-20398
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20398.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2019-20398
Upstream
Published
2020-01-22T22:15:00Z
Modified
2025-09-08T16:45:49Z
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
  • Ubuntu - medium
Summary
[none]
Details

A NULL pointer dereference is present in libyang before v1.0-r3 in the function lysextensioninstancesfree() due to a copy of unresolved extensions in lysrestr_dup(). Applications that use libyang to parse untrusted input yang files may crash.

References

Affected packages

Ubuntu:Pro:20.04:LTS / libyang

Package

Name
libyang
Purl
pkg:deb/ubuntu/libyang@0.16.105-3build1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.16.105-1
0.16.105-2
0.16.105-3
0.16.105-3build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.16.105-3build1",
            "binary_name": "libyang-cpp-dev"
        },
        {
            "binary_version": "0.16.105-3build1",
            "binary_name": "libyang-cpp0.16"
        },
        {
            "binary_version": "0.16.105-3build1",
            "binary_name": "libyang-dev"
        },
        {
            "binary_version": "0.16.105-3build1",
            "binary_name": "libyang0.16"
        },
        {
            "binary_version": "0.16.105-3build1",
            "binary_name": "python3-yang"
        },
        {
            "binary_version": "0.16.105-3build1",
            "binary_name": "yang-tools"
        }
    ]
}