The c-ares function ares_parse_naptr_reply(), which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS response packet was crafted in a particular way.
{
"binaries": [
{
"binary_version": "4.2.6~dfsg-1ubuntu4.2+esm1",
"binary_name": "nodejs"
},
{
"binary_version": "4.2.6~dfsg-1ubuntu4.2+esm1",
"binary_name": "nodejs-dev"
},
{
"binary_version": "4.2.6~dfsg-1ubuntu4.2+esm1",
"binary_name": "nodejs-legacy"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}