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.
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libyang | Cesnet | 0.11-r1 (including) | 0.11-r1 (including) |
Libyang | Cesnet | 0.11-r2 (including) | 0.11-r2 (including) |
Libyang | Cesnet | 0.12-r1 (including) | 0.12-r1 (including) |
Libyang | Cesnet | 0.12-r2 (including) | 0.12-r2 (including) |
Libyang | Cesnet | 0.13-r1 (including) | 0.13-r1 (including) |
Libyang | Cesnet | 0.13-r2 (including) | 0.13-r2 (including) |
Libyang | Cesnet | 0.14-r1 (including) | 0.14-r1 (including) |
Libyang | Cesnet | 0.15-r1 (including) | 0.15-r1 (including) |
Libyang | Cesnet | 0.16-r1 (including) | 0.16-r1 (including) |
Libyang | Cesnet | 0.16-r2 (including) | 0.16-r2 (including) |
Libyang | Cesnet | 0.16-r3 (including) | 0.16-r3 (including) |
Libyang | Cesnet | 1.0-r1 (including) | 1.0-r1 (including) |
Libyang | Cesnet | 1.0-r2 (including) | 1.0-r2 (including) |
Red Hat Enterprise Linux 8 | RedHat | libyang-0:1.0.184-1.el8 | * |
Libyang | Ubuntu | eoan | * |
Libyang | Ubuntu | esm-apps/focal | * |
Libyang | Ubuntu | focal | * |
Libyang | Ubuntu | groovy | * |
Libyang | Ubuntu | hirsute | * |
Libyang | Ubuntu | trusty | * |
Libyang | Ubuntu | upstream | * |