{"id":"UBUNTU-CVE-2016-5180","details":"Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly execute arbitrary code via a hostname with an escaped trailing dot.","modified":"2026-04-22T10:49:08.407972Z","published":"2016-10-03T00:00:00Z","related":["USN-3143-1"],"upstream":["CVE-2016-5180"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-5180"},{"type":"REPORT","url":"https://c-ares.haxx.se/adv_20160929.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3143-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-5180"}],"affected":[{"package":{"name":"c-ares","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/c-ares@1.10.0-2ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-2ubuntu0.1"}]}],"versions":["1.10.0-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.10.0-2ubuntu0.1","binary_name":"libc-ares2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-5180.json"}},{"package":{"name":"c-ares","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/c-ares@1.10.0-3ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-3ubuntu0.1"}]}],"versions":["1.10.0-2","1.10.0-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.10.0-3ubuntu0.1","binary_name":"libc-ares2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-5180.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}