UBUNTU-CVE-2019-20397

Source
https://ubuntu.com/security/CVE-2019-20397
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-20397.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-20397
Related
Published
2020-01-22T22:15:00Z
Modified
2025-04-24T16:39:34Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:20.04:LTS / libyang

Package

Name
libyang
Purl
pkg:deb/ubuntu/libyang@0.16.105-3build1?arch=source&distro=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

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / libyang

Package

Name
libyang
Purl
pkg:deb/ubuntu/libyang@3.7.8-3?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.7.8-3

Affected versions

3.*

3.4.2+dfsg-2
3.7.8-1
3.7.8-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.7.8-3",
            "binary_name": "libyang-dev"
        },
        {
            "binary_version": "3.7.8-3",
            "binary_name": "libyang3"
        },
        {
            "binary_version": "3.7.8-3",
            "binary_name": "libyang3-dbgsym"
        },
        {
            "binary_version": "3.7.8-3",
            "binary_name": "libyang3-tools"
        },
        {
            "binary_version": "3.7.8-3",
            "binary_name": "libyang3-tools-dbgsym"
        }
    ]
}