{"id":"UBUNTU-CVE-2020-8608","details":"In libslirp 4.1.0, as used in QEMU 4.2.0, tcp_subr.c misuses snprintf return values, leading to a buffer overflow in later code.","modified":"2026-05-20T16:04:40.468624262Z","published":"2020-02-06T17:15:00Z","related":["USN-4283-1","USN-4632-1","USN-7094-1"],"upstream":["CVE-2020-8608"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-8608"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2020/02/06/2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4283-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4632-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-8608"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7094-1"}],"affected":[{"package":{"name":"qemu","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/qemu?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0+dfsg-2ubuntu1.47+esm4"}]}],"versions":["1.5.0+dfsg-3ubuntu5","1.5.0+dfsg-3ubuntu6","1.6.0+dfsg-2ubuntu1","1.6.0+dfsg-2ubuntu2","1.6.0+dfsg-2ubuntu3","1.6.0+dfsg-2ubuntu4","1.7.0+dfsg-2ubuntu1","1.7.0+dfsg-2ubuntu2","1.7.0+dfsg-2ubuntu3","1.7.0+dfsg-2ubuntu4","1.7.0+dfsg-2ubuntu5","1.7.0+dfsg-2ubuntu7","1.7.0+dfsg-2ubuntu8","1.7.0+dfsg-2ubuntu9","1.7.0+dfsg-3ubuntu1~ppa1","1.7.0+dfsg-3ubuntu1","1.7.0+dfsg-3ubuntu2","1.7.0+dfsg-3ubuntu3","1.7.0+dfsg-3ubuntu4","1.7.0+dfsg-3ubuntu5","1.7.0+dfsg-3ubuntu6","1.7.0+dfsg-3ubuntu7","2.0.0~rc1+dfsg-0ubuntu1","2.0.0~rc1+dfsg-0ubuntu2","2.0.0~rc1+dfsg-0ubuntu3","2.0.0~rc1+dfsg-0ubuntu3.1","2.0.0+dfsg-2ubuntu1","2.0.0+dfsg-2ubuntu1.1","2.0.0+dfsg-2ubuntu1.2","2.0.0+dfsg-2ubuntu1.3","2.0.0+dfsg-2ubuntu1.5","2.0.0+dfsg-2ubuntu1.6","2.0.0+dfsg-2ubuntu1.7","2.0.0+dfsg-2ubuntu1.8","2.0.0+dfsg-2ubuntu1.9","2.0.0+dfsg-2ubuntu1.10","2.0.0+dfsg-2ubuntu1.11","2.0.0+dfsg-2ubuntu1.13","2.0.0+dfsg-2ubuntu1.14","2.0.0+dfsg-2ubuntu1.15","2.0.0+dfsg-2ubuntu1.16","2.0.0+dfsg-2ubuntu1.17","2.0.0+dfsg-2ubuntu1.18","2.0.0+dfsg-2ubuntu1.19","2.0.0+dfsg-2ubuntu1.20","2.0.0+dfsg-2ubuntu1.21","2.0.0+dfsg-2ubuntu1.22","2.0.0+dfsg-2ubuntu1.24","2.0.0+dfsg-2ubuntu1.25","2.0.0+dfsg-2ubuntu1.26","2.0.0+dfsg-2ubuntu1.27","2.0.0+dfsg-2ubuntu1.28","2.0.0+dfsg-2ubuntu1.29","2.0.0+dfsg-2ubuntu1.30","2.0.0+dfsg-2ubuntu1.31","2.0.0+dfsg-2ubuntu1.32","2.0.0+dfsg-2ubuntu1.33","2.0.0+dfsg-2ubuntu1.34","2.0.0+dfsg-2ubuntu1.35","2.0.0+dfsg-2ubuntu1.36","2.0.0+dfsg-2ubuntu1.38","2.0.0+dfsg-2ubuntu1.39","2.0.0+dfsg-2ubuntu1.40","2.0.0+dfsg-2ubuntu1.41","2.0.0+dfsg-2ubuntu1.42","2.0.0+dfsg-2ubuntu1.43","2.0.0+dfsg-2ubuntu1.44","2.0.0+dfsg-2ubuntu1.45","2.0.0+dfsg-2ubuntu1.46","2.0.0+dfsg-2ubuntu1.47","2.0.0+dfsg-2ubuntu1.47+esm1","2.0.0+dfsg-2ubuntu1.47+esm2","2.0.0+dfsg-2ubuntu1.47+esm3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-common"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-guest-agent"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-keymaps"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-kvm"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system-aarch64"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system-arm"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system-common"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system-mips"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system-misc"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system-ppc"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system-sparc"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-system-x86"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-user"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-user-static"},{"binary_version":"2.0.0+dfsg-2ubuntu1.47+esm4","binary_name":"qemu-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/slirp?arch=source&distro=trusty%2Fesm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.0.17-7+deb8u2build0.14.04.1+esm1"}]}],"versions":["1:1.0.17-7"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1:1.0.17-7+deb8u2build0.14.04.1+esm1","binary_name":"slirp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"qemu","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/qemu?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.5+dfsg-5ubuntu10.43"}]}],"versions":["1:2.3+dfsg-5ubuntu9","1:2.3+dfsg-5ubuntu10","1:2.4+dfsg-4ubuntu1","1:2.4+dfsg-4ubuntu2","1:2.4+dfsg-4ubuntu3","1:2.4+dfsg-5ubuntu3","1:2.5+dfsg-1ubuntu2","1:2.5+dfsg-1ubuntu3","1:2.5+dfsg-1ubuntu4","1:2.5+dfsg-1ubuntu5","1:2.5+dfsg-5ubuntu1","1:2.5+dfsg-5ubuntu2","1:2.5+dfsg-5ubuntu4","1:2.5+dfsg-5ubuntu6","1:2.5+dfsg-5ubuntu7","1:2.5+dfsg-5ubuntu10","1:2.5+dfsg-5ubuntu10.1","1:2.5+dfsg-5ubuntu10.2","1:2.5+dfsg-5ubuntu10.3","1:2.5+dfsg-5ubuntu10.4","1:2.5+dfsg-5ubuntu10.5","1:2.5+dfsg-5ubuntu10.6","1:2.5+dfsg-5ubuntu10.7","1:2.5+dfsg-5ubuntu10.8","1:2.5+dfsg-5ubuntu10.9","1:2.5+dfsg-5ubuntu10.10","1:2.5+dfsg-5ubuntu10.11","1:2.5+dfsg-5ubuntu10.13","1:2.5+dfsg-5ubuntu10.14","1:2.5+dfsg-5ubuntu10.15","1:2.5+dfsg-5ubuntu10.16","1:2.5+dfsg-5ubuntu10.20","1:2.5+dfsg-5ubuntu10.21","1:2.5+dfsg-5ubuntu10.22","1:2.5+dfsg-5ubuntu10.24","1:2.5+dfsg-5ubuntu10.25","1:2.5+dfsg-5ubuntu10.26","1:2.5+dfsg-5ubuntu10.28","1:2.5+dfsg-5ubuntu10.29","1:2.5+dfsg-5ubuntu10.30","1:2.5+dfsg-5ubuntu10.31","1:2.5+dfsg-5ubuntu10.32","1:2.5+dfsg-5ubuntu10.33","1:2.5+dfsg-5ubuntu10.34","1:2.5+dfsg-5ubuntu10.35","1:2.5+dfsg-5ubuntu10.36","1:2.5+dfsg-5ubuntu10.37","1:2.5+dfsg-5ubuntu10.38","1:2.5+dfsg-5ubuntu10.39","1:2.5+dfsg-5ubuntu10.40","1:2.5+dfsg-5ubuntu10.41","1:2.5+dfsg-5ubuntu10.42"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-block-extra"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-guest-agent"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-kvm"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-aarch64"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-arm"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-common"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-mips"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-misc"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-ppc"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-s390x"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-sparc"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-system-x86"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-user"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-user-binfmt"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-user-static"},{"binary_version":"1:2.5+dfsg-5ubuntu10.43","binary_name":"qemu-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/slirp?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.0.17-8ubuntu16.04.1"}]}],"versions":["1:1.0.17-8"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:1.0.17-8ubuntu16.04.1","binary_name":"slirp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"qemu","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/qemu?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.11+dfsg-1ubuntu7.23"}]}],"versions":["1:2.10+dfsg-0ubuntu3","1:2.10+dfsg-0ubuntu4","1:2.10+dfsg-0ubuntu5","1:2.11+dfsg-1ubuntu1","1:2.11+dfsg-1ubuntu2","1:2.11+dfsg-1ubuntu4","1:2.11+dfsg-1ubuntu5","1:2.11+dfsg-1ubuntu6","1:2.11+dfsg-1ubuntu7","1:2.11+dfsg-1ubuntu7.1","1:2.11+dfsg-1ubuntu7.2","1:2.11+dfsg-1ubuntu7.3","1:2.11+dfsg-1ubuntu7.4","1:2.11+dfsg-1ubuntu7.5","1:2.11+dfsg-1ubuntu7.6","1:2.11+dfsg-1ubuntu7.7","1:2.11+dfsg-1ubuntu7.8","1:2.11+dfsg-1ubuntu7.9","1:2.11+dfsg-1ubuntu7.10","1:2.11+dfsg-1ubuntu7.12","1:2.11+dfsg-1ubuntu7.13","1:2.11+dfsg-1ubuntu7.14","1:2.11+dfsg-1ubuntu7.15","1:2.11+dfsg-1ubuntu7.17","1:2.11+dfsg-1ubuntu7.18","1:2.11+dfsg-1ubuntu7.19","1:2.11+dfsg-1ubuntu7.20","1:2.11+dfsg-1ubuntu7.21","1:2.11+dfsg-1ubuntu7.22"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-block-extra"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-guest-agent"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-kvm"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system-arm"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system-common"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system-mips"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system-misc"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system-ppc"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system-s390x"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system-sparc"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-system-x86"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-user"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-user-binfmt"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-user-static"},{"binary_version":"1:2.11+dfsg-1ubuntu7.23","binary_name":"qemu-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/slirp?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.0.17-8ubuntu18.04.1"}]}],"versions":["1:1.0.17-8","1:1.0.17-8build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1:1.0.17-8ubuntu18.04.1","binary_name":"slirp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"libslirp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libslirp?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0-2ubuntu1"}]}],"versions":["4.0.0-1","4.0.0-2","4.1.0-1","4.1.0-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"4.1.0-2ubuntu1","binary_name":"libslirp0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/slirp?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.0.17-8build2","1:1.0.17-9","1:1.0.17-10"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.0.17-10","binary_name":"slirp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp4netns","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/slirp4netns?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1-1","0.4.3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.3-1","binary_name":"slirp4netns"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/slirp?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.0.17-11"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.0.17-11","binary_name":"slirp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/slirp?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.0.17-11"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.0.17-11","binary_name":"slirp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/slirp?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.0.17-11"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.0.17-11","binary_name":"slirp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}},{"package":{"name":"slirp","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/slirp?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.0.17-11","1:1.0.17-12"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.0.17-12","binary_name":"slirp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8608.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}