An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolve_feature_value() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.
| Software | From | Fixed in |
|---|---|---|
| cesnet / libyang | 1.0-r1 | 1.0-r1.x |
| cesnet / libyang | 1.0-r2 | 1.0-r2.x |
| cesnet / libyang | 0.16-r1 | 0.16-r1.x |
| cesnet / libyang | 0.16-r2 | 0.16-r2.x |
| cesnet / libyang | 0.16-r3 | 0.16-r3.x |
| cesnet / libyang | 0.13-r1 | 0.13-r1.x |
| cesnet / libyang | 0.13-r2 | 0.13-r2.x |
| cesnet / libyang | 0.12-r1 | 0.12-r1.x |
| cesnet / libyang | 0.12-r2 | 0.12-r2.x |
| cesnet / libyang | 0.11-r1 | 0.11-r1.x |
| cesnet / libyang | 0.11-r2 | 0.11-r2.x |
| cesnet / libyang | 0.14-r1 | 0.14-r1.x |
| cesnet / libyang | 0.15-r1 | 0.15-r1.x |