CVE-2019-20398: cesnet libyang NULL Pointer Dereference
Vulnerability summary
CVE-2019-20398 is a medium (CVSS 6.5) NULL Pointer Dereference vulnerability in cesnet libyang. EPSS estimates a 1.82% chance of exploitation in the next 30 days, higher than 79.4% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 22-01-2020PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
A NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.82%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.82% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundLibyang
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Cesnet1 product
- libyang0.11:r1 | 0.11:r2 | 0.12:r1 | 0.12:r2 | 0.13:r1 | 0.13:r2 | 0.14:r1 | 0.15:r1 | 0.16:r1 | 0.16:r2 | 0.16:r3 | 1.0:r1 | 1.0:r2
Debian1 product
- libyang< 1.0.176-1
Ubuntu1 product
- libyangAll versions (No fix recorded) | < 0.16.105-3ubuntu0.1~esm1
3 vendors · 3 products