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.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "0.11-r1"
},
{
"introduced": "0"
},
{
"last_affected": "0.11-r2"
},
{
"introduced": "0"
},
{
"last_affected": "0.12-r1"
},
{
"introduced": "0"
},
{
"last_affected": "0.12-r2"
},
{
"introduced": "0"
},
{
"last_affected": "0.13-r1"
},
{
"introduced": "0"
},
{
"last_affected": "0.13-r2"
},
{
"introduced": "0"
},
{
"last_affected": "0.14-r1"
},
{
"introduced": "0"
},
{
"last_affected": "0.15-r1"
},
{
"introduced": "0"
},
{
"last_affected": "0.16-r1"
},
{
"introduced": "0"
},
{
"last_affected": "0.16-r2"
},
{
"introduced": "0"
},
{
"last_affected": "0.16-r3"
}
]
}