{"id":"CVE-2017-15650","aliases":["ALPINE-CVE-2017-15650","DEBIAN-CVE-2017-15650","EUVD-2017-7101","GHSA-p2mj-x9rf-q85j","UBUNTU-CVE-2017-15650","USN-4768-1"],"status":"published","title":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback...","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02033,"percentile":0.812,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-10-19T23:00:00Z","modified":"2026-10-20T13:25:14Z","fixes":[{"ecosystem":"Alpine:v3.2","package":"musl","fixed_in":["1.1.11-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.3","package":"musl","fixed_in":["1.1.12-r8"],"sources":["osv"]},{"ecosystem":"Alpine:v3.4","package":"musl","fixed_in":["1.1.14-r16"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"musl","fixed_in":["1.1.15-r8"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"musl","fixed_in":["1.1.16-r14"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"musl","fixed_in":["1.1.17-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"musl","fixed_in":["1.1.17-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"musl","fixed_in":["1.1.17-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"musl","fixed_in":["1.1.9-1ubuntu0.1~esm2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.2","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.11-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.3","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.12-r8"}]}]},{"source":"osv","ecosystem":"Alpine:v3.4","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.14-r16"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.15-r8"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.16-r14"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.17-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.17-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.17-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.9-1ubuntu0.1~esm2"}]}],"versions":["1.1.9-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-1ubuntu0.1~esm1"}]}],"versions":["0.9.14-2","0.9.14-2ubuntu1","0.9.15-1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"musl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.9-1ubuntu0.1~esm2"}]}],"versions":["1.1.9-1"],"bundled":5}],"products":[{"vendor":"musl-libc","product":"musl"}],"references":[{"url":"http://git.musl-libc.org/cgit/musl/commit/?id=45ca5d3fcb6f874bf5ba55d0e9651cef68515395","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"http://git.musl-libc.org/cgit/musl/tree/WHATSNEW","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"http://openwall.com/lists/oss-security/2017/10/19/5","tags":["x_refsource_CONFIRM","x_transferred","Mailing List","Mitigation","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15650"},{"url":"https://github.com/advisories/GHSA-p2mj-x9rf-q85j"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-15650","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-15650","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-15650","tags":["report"]},{"url":"https://git.musl-libc.org/cgit/musl/patch/?id=45ca5d3fcb6f874bf5ba55d0e9651cef68515395","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-15650","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4768-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2014-3484","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-1817","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-8859","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-1000001","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-15650","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","status":"published","published":"2017-10-19T23:00:00Z","modified":"2024-08-05T19:57:27.531Z","updated_at":"2026-11-02T14:33:14.271248Z"}],"euvd":[{"id":"EUVD-2017-7101","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","status":"published","published":"2017-10-19T23:00:00Z","modified":"2024-08-05T19:57:27Z","updated_at":"2026-11-03T02:23:13.863705Z"}],"ghsa":[{"id":"GHSA-p2mj-x9rf-q85j","title":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback...","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","status":"published","published":"2022-05-17T00:25:34Z","modified":"2023-02-03T05:01:41Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:53:01.625617Z"}],"nvd":[{"id":"CVE-2017-15650","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","status":"published","published":"2017-10-19T23:29:00.407Z","modified":"2026-06-17T01:08:03.403Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:04:03.426231Z"}],"osv":[{"id":"ALPINE-CVE-2017-15650","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","status":"published","published":"2017-10-19T23:29:00.407Z","modified":"2026-06-15T18:24:28.600349342Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:46.716249Z"},{"id":"CVE-2017-15650","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","status":"published","published":"2017-10-19T23:29:00.407Z","modified":"2026-10-20T13:25:14.632598046Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-15650","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","status":"published","published":"2017-10-19T23:29:00.407Z","modified":"2026-09-01T20:03:44.772744363Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"UBUNTU-CVE-2017-15650","description":"musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because dns_parse_callback in network/lookup_name.c does not restrict the number of addresses, and thus an attacker can provide an unexpected number by sending A records in a reply to an AAAA query.","status":"published","published":"2017-10-19T23:29:00Z","modified":"2026-04-22T11:18:54.490433Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"USN-4768-1","title":"musl vulnerabilities","description":"It was discovered that musl did not properly handle kernel syscalls. An\nattacker could use this vulnerability to cause a denial of service (crash)\nor possibly execute arbitrary code. (CVE-2018-1000001)\n\nIt was discovered that musl did not properly handle the parsing of DNS\nresponse codes. A remote attacker could use this vulnerability to cause\nresource consumption (infinite loop), denial of service, or possibly\nexecute arbitrary code. This issue only affected Ubuntu 14.04 ESM.\n(CVE-2014-3484)\n\nIt was discovered that musl did not properly handle the parsing of DNS\nresponse codes. A remote attacker could use this vulnerability to cause\nresource consumption (infinite loop), denial of service, or possibly\nexecute arbitrary code. This issue only affected Ubuntu 16.04 ESM.\n(CVE-2017-15650)\n\nIt was discovered that musl did not properly handle the parsing of ipv6\naddresses. An attacker could use this vulnerability to cause a denial of\nservice (crash) or possibly execute arbitrary code. This issue only affected\nUbuntu 14.04 ESM. (CVE-2015-1817)\n\nIt was discovered that TRE library, used by musl, did not properly handle\ncertain inputs. An attacker could use this vulnerability to cause a denial of\nservice (crash). (CVE-2016-8859)\n\n","status":"published","published":"2021-03-15T20:10:13Z","modified":"2026-06-29T13:48:11.652218356Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
