{"id":"CVE-2024-8235","aliases":["CVE-2024-8235"],"related":[],"kind":"vulnerability","state":"published","title":"Libvirt: crash of virtinterfaced via virconnectlistinterfaces()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró un fallo en libvirt. Una refactorización del código que obtiene la lista de interfaces para múltiples API introdujo un caso extremo en plataformas donde la asignación de 0 bytes de memoria da como resultado un puntero NULL. Este caso extremo conduciría a una desreferencia de puntero NULL y al posterior bloqueo de virtinterfaced. Este problema podría permitir que los clientes que se conectan al socket de solo lectura bloqueen el demonio virtinterfaced.","source":"nvd"}],"published":"2024-08-30T16:16:57.214Z","modified":"2026-11-24T07:17:10.743Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"semver","introduced":"10.4.0","fixed":"10.7.0","status":"affected"}],"package":"libvirt","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:10.5.0-7.el9_5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libvirt","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"libvirt","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"libvirt","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"libvirt","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"virt:rhel/libvirt","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8 Advanced Virtualization","package":"virt:av/libvirt","cpe":"cpe:/a:redhat:advanced_virtualization:8::el8","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"10.4.0","fixed":"10.7.0"}],"vendor":"redhat","product":"libvirt","cpe":"cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:9128","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-8235","tags":["vdb-entry","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2308680","tags":["issue-tracking","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/X6WOVCL6QF3FQRFIIXL736RFZVSUWLWJ/","tags":["patch","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240920-0006/","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-30T17:10:46.243Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8235","url":"https://www.cve.org/CVERecord?id=CVE-2024-8235","licence":"CVE Terms of Use","modified":"2026-11-24T06:22:24.779Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8235","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8235","licence":"Public domain","modified":"2026-11-24T07:17:10.743Z"}],"updatedAt":"2026-11-25T22:58:44.904Z","epss":{"score":0.00283,"percentile":0.22318,"date":"2026-12-01T12:00:22.000Z"}}