CVE-2019-20397
publishedlibyang: double-free in yyparse() when organization field is not terminated
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | buster | libyang | Advisory build | 0.16.105+really1.0-0+deb10u1 | DLA-3572-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- https://bugzilla.redhat.com/show_bug.cgi?id=1793928
- https://github.com/CESNET/libyang/commit/88bd6c548ba79bce176cd875e9b56e7e0ef4d8d4
- https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1
- https://github.com/CESNET/libyang/issues/739
- [debian-lts-announce] 20230919 [SECURITY] [DLA 3572-1] libyang security update https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d3efbd234a7a7bf5f13a1e412cdb66eba6baea759000822923fb983cd93a4c42
- Ingested
- 23 Sep 2026, 07:46:45 UTC
- Source record
- Official CVE record