SecurityContext

CVE-2019-20395: libyang - Denial of Service

  • Cve: CVE-2019-20395
  • Name: libyang - Denial of Service
  • Description: A stack consumption issue is present in libyang before v1.0-r1 due to the self-referential union type containing leafrefs. Applications that use libyang to parse untrusted input yang files may crash.
  • Impact: Applications may crash or become unstable when parsing maliciously crafted yang files, leading to denial of service.
  • Remediation: Update to version 1.0-r1 or later.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.01855
  • Epss percentile: 0.79719
  • Assignee: [email protected]
  • Published at: 2020-01-22T22:15:10Z
  • Age in days: 2498
  • Modified at: 2026-06-17T02:30:21Z
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-20395
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-674Uncontrolled Recursion

Public exploits

UrlSourceAdded date
https://github.com/CESNET/libyang/issues/724nvd2020-01-22

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/CESNET/libyang/issues/724Exploit, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1793924Issue Tracking, Third Party Advisory
https://github.com/CESNET/libyang/commit/4e610ccd87a2ba9413819777d508f71163fcc237Third Party Advisory
https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html

Products

ProductAffectedPlatform boundSourcesUrl
cesnet:libyang= 0.16 r3, = 0.11 r2, = 0.12 r2, = 0.13 r2, = 0.16 r2, = 0.11 r1, = 0.12 r1, = 0.13 r1, = 0.14 r1, = 0.15 r1, = 0.16 r1nonvd/v1/products/cesnet/libyang

Projects

RepositoryLink kindsIndexedUrl
CESNET/libyangcommit, compare, fix, issuesyes/v1/repositories/CESNET/libyang

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-01-22
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts