{"id":"CVE-2024-8235","summary":"Libvirt: crash of virtinterfaced via virconnectlistinterfaces()","details":"A flaw was found in libvirt. A refactor of the code fetching the list of interfaces for multiple APIs introduced a corner case on platforms where allocating 0 bytes of memory results in a NULL pointer. This corner case would lead to a NULL-pointer dereference and subsequent crash of virtinterfaced. This issue could allow clients connecting to the read-only socket to crash the virtinterfaced daemon.","modified":"2026-08-12T03:51:43.189147137Z","published":"2024-08-30T16:16:57.214Z","related":["ALSA-2024:9128","openSUSE-SU-2024:14315-1"],"database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8235.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:9128"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-8235"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8235.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8235"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240920-0006/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2308680"},{"type":"PACKAGE","url":"https://gitlab.com/libvirt/libvirt"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libvirt/libvirt","events":[{"introduced":"ccd9e99e5299977b2e5432d3ee96138c83ea77be"},{"fixed":"7d72b18017a8173b7d359025d7aeff4f4e527099"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"10.4.0"},{"fixed":"10.7.0"}],"source":"CPE_RANGE"}},{"type":"GIT","repo":"https://gitlab.com/libvirt/libvirt","events":[{"introduced":"ccd9e99e5299977b2e5432d3ee96138c83ea77be"},{"fixed":"7d72b18017a8173b7d359025d7aeff4f4e527099"}],"database_specific":{"cpe":"cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"10.4.0"},{"fixed":"10.7.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v10.7.0-rc2","CVE-2024-8235","v10.7.0-rc1","v10.6.0","v10.6.0-rc1","v10.5.0","v10.5.0-rc2","v10.5.0-rc1","v10.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8235.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}