CVE-2019-20394
Last modified
CVE-2019-20394 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. 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.. EPSS estimates a 2.79% chance of exploitation in the next 30 days.
Description
A double-free is present in libyang before v1.0-r3 in the function yyparse() when a type statement in used in a notification statement. 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Cesnet | Libyang | 0.11 | R1 |
| Cesnet | Libyang | 0.12 | R1 |
| Cesnet | Libyang | 0.13 | R1 |
| Cesnet | Libyang | 0.14 | R1 |
| Cesnet | Libyang | 0.15 | R1 |
| Cesnet | Libyang | 0.16 | R1 |
| Cesnet | Libyang | 1.0 | R1 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1793932Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/6cc51b1757dfbb7cff92de074ada65e8523289a6Patch, Third Party Advisory
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3Third Party Advisory
- https://github.com/CESNET/libyang/issues/769Exploit, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1793932Issue Tracking, Patch, Third Party Advisory
- https://github.com/CESNET/libyang/commit/6cc51b1757dfbb7cff92de074ada65e8523289a6Patch, Third Party Advisory
- https://github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3Third Party Advisory
- https://github.com/CESNET/libyang/issues/769Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-20394?
How severe is CVE-2019-20394?
How do I fix CVE-2019-20394?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-20389An XSS issue was identified on the Subrion CMS 4.2.1 /panel/…6.1
- CVE-2019-2039In rw_i93_sm_detect_ndef of rw_i93.cc, there is a possible o…
- CVE-2019-20390A Cross-Site Request Forgery (CSRF) vulnerability was discov…8.1
- CVE-2019-20391An invalid memory access flaw is present in libyang before v…6.5
- CVE-2019-20392An invalid memory access flaw is present in libyang before v…6.5
- CVE-2019-20393A double-free is present in libyang before v1.0-r1 in the fu…8.8
- CVE-2019-20395A stack consumption issue is present in libyang before v1.0-…6.5
- CVE-2019-20396A segmentation fault is present in yyparse in libyang before…6.5
- CVE-2019-20397A double-free is present in libyang before v1.0-r1 in the fu…8.8
- CVE-2019-20398A NULL pointer dereference is present in libyang before v1.0…6.5
- CVE-2019-20399A timing vulnerability in the Scalar::check_overflow functio…5.9
- CVE-2019-2040In rw_i93_process_ext_sys_info of rw_i93.cc, there is a poss…
Are you affected by CVE-2019-20394?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
