Description
The virTypedParameterArrayClear function in libvirt 0.9.13 does not properly handle virDomain* API calls with typed parameters, which might allow remote authenticated users to cause a denial of service (libvirtd crash) via an RPC command with nparams set to zero, which triggers an out-of-bounds read or a free of an invalid pointer.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libvirt | 0.9.12-4 | — |
| Debian 13 | libvirt | 0.9.12-4 | — |
| Debian 12 | libvirt | 0.9.12-4 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | libvirt +4 | 0.9.10-21.el6_3.4 | RHSA-2012:1202 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libvirt | 2.5.0-1.1 | openSUSE-SU-2024:10209-1 |
Advisories 2
- RHSA-2012:1202 Red Hat Security Advisory: libvirt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- openSUSE-SU-2024:10209-1 libvirt-2.5.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 50118 third-party-advisory
- 54748 vdb-entry
- [libvirt] 20120730 [PATCH] daemon: Fix crash in virTypedParameterArrayClear mailing-list
- [oss-security] 20120731 CVE Request -- libvirt: crash in virTypedParameterArrayClear mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=844734
- RHSA-2012:1202 vendor-advisory
- 50299 third-party-advisory
- 50372 third-party-advisory
- [oss-security] 20120731 Re: CVE Request -- libvirt: crash in virTypedParameterArrayClear mailing-list
- openSUSE-SU-2012:0991 vendor-advisory