It was discovered that c-ares incorrectly handled re-enqueuing certain queries. A remote attacker could possibly use this issue to cause c-ares to crash, resulting in a denial of service.
{
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libc-ares-dev",
"binary_version": "1.34.4-2.1ubuntu0.1"
},
{
"binary_name": "libc-ares2",
"binary_version": "1.34.4-2.1ubuntu0.1"
},
{
"binary_name": "libcares2",
"binary_version": "1.34.4-2.1ubuntu0.1"
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7477-1.json"
{
"cves": [
{
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"id": "CVE-2025-31498"
}
],
"ecosystem": "Ubuntu:25.04"
}