Live threats

All CVEs / Cesnet

CVE-2019-20397Cesnet Libyang

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jan 22, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-415
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libyang.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
cesnetlibyang0.11
cesnetlibyang0.11
cesnetlibyang0.12
cesnetlibyang0.12
cesnetlibyang0.13
cesnetlibyang0.13
cesnetlibyang0.14
cesnetlibyang0.15
cesnetlibyang0.16
cesnetlibyang0.16
cesnetlibyang0.16

Official sources

References

Links published by the sources. Open them with care.