CVE-2019-19334

libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used

Published Dec 6, 2019 CVSS 3.1 · 9.8 Critical EPSS 3.9% KEV · Not listed
Description
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-8955 In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 2:16 AM
Reserved
Nov 27, 2019, 12:00 AM
Status
Modified
Published
Dec 6, 2019, 4:15 PM
Modified
Jun 17, 2026, 2:26 AM
Severity
Important
Public date
Dec 5, 2019, 12:00 AM