Use-after-free vulnerability in the virNetMessageFree function in…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
Use-after-free vulnerability in the virNetMessageFree function in rpc/virnetserverclient.c in libvirt 1.0.x before 1.0.2, 0.10.2 before 0.10.2.3, 0.9.11 before 0.9.11.9, and 0.9.6 before 0.9.6.4 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code by triggering certain errors during an RPC connection, which causes a message to be freed without being removed from the message queue.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 15
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:* | 0.9.6 to before 0.9.6.4; 0.9.11 to before 0.9.11.9; 0.10.2 to before 0.10.2.3; 1.0.0 to before 1.0.2 | Vulnerable | Red Hat |
| cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:* | 12.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* | 12.2 | Vulnerable | openSUSE |
| cpe:2.3:o:suse:linux_enterprise_desktop:11:sp2:*:*:*:*:*:* | 11 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:* | 11 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:* | 11 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:fedoraproject:fedora:16:*:*:*:*:*:*:* | 16 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:17:*:*:*:*:*:*:* | 17 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:18:*:*:*:*:*:*:* | 18 | Vulnerable | Fedoraproject |
| cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:libvirt:*:*:*:*:*:*:*:* Versions 0.9.6 to before 0.9.6.4; 0.9.11 to before 0.9.11.9; 0.10.2 to before 0.10.2.3; 1.0.0 to before 1.0.2 Vulnerable ·Red Hat
- cpe:2.3:o:opensuse:opensuse:12.1:*:*:*:*:*:*:* Versions 12.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:12.2:*:*:*:*:*:*:* Versions 12.2 Vulnerable ·openSUSE
- cpe:2.3:o:suse:linux_enterprise_desktop:11:sp2:*:*:*:*:*:* Versions 11 sp2 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:*:-:*:* Versions 11 sp2 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp2:*:*:*:*:*:* Versions 11 sp2 Vulnerable ·SUSE
- cpe:2.3:o:fedoraproject:fedora:16:*:*:*:*:*:*:* Versions 16 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:17:*:*:*:*:*:*:* Versions 17 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:18:*:*:*:*:*:*:* Versions 18 Vulnerable ·Fedoraproject
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
Show 5 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_eus:6.3:*:*:*:*:*:*:* | 6.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* | 12.10 | Vulnerable | Canonical |
- cpe:2.3:o:redhat:enterprise_linux_eus:6.3:*:*:*:*:*:*:* Versions 6.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* Versions 12.10 Vulnerable ·Canonical
Remediation
Red Hat 1 advisory
- RHSA-2013:0199 Released 2013-01-28 · Red Hat rating Importantlibvirt security update
- Red Hat Enterprise Linux Desktop (v. 6) libvirt-0.9.10-21.el6_3.8, libvirt-client-0.9.10-21.el6_3.8, libvirt-python-0.9.10-21.el6_3.8
- Red Hat Enterprise Linux Desktop Optional (v. 6) libvirt-0.9.10-21.el6_3.8, libvirt-devel-0.9.10-21.el6_3.8, libvirt-lock-sanlock-0.9.10-21.el6_3.8
- Red Hat Enterprise Linux HPC Node (v. 6) libvirt-0.9.10-21.el6_3.8, libvirt-client-0.9.10-21.el6_3.8, libvirt-python-0.9.10-21.el6_3.8
- Red Hat Enterprise Linux HPC Node Optional (v. 6) libvirt-0.9.10-21.el6_3.8, libvirt-devel-0.9.10-21.el6_3.8, libvirt-lock-sanlock-0.9.10-21.el6_3.8
- Red Hat Enterprise Linux Server (v. 6) libvirt-0.9.10-21.el6_3.8, libvirt-client-0.9.10-21.el6_3.8, libvirt-client-0.9.10-21.el6_3.8.ppc +3
- Red Hat Enterprise Linux Server Optional (v. 6) libvirt-0.9.10-21.el6_3.8, libvirt-lock-sanlock-0.9.10-21.el6_3.8
- Red Hat Enterprise Linux Workstation (v. 6) libvirt-0.9.10-21.el6_3.8, libvirt-client-0.9.10-21.el6_3.8, libvirt-devel-0.9.10-21.el6_3.8 +1
- Red Hat Enterprise Linux Workstation Optional (v. 6) libvirt-0.9.10-21.el6_3.8, libvirt-lock-sanlock-0.9.10-21.el6_3.8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2013:0199 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2013:0199 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2013:0199 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2013:0199 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2013:0199 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2013:0199 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2013:0199 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2013:0199 |
Not affected: 1 product
- Red Hat Enterprise Linux 5
Timeline
- 2026-10-02 Threatist record created from CVE-2013-0170
- 2026-10-03 Alias added: GHSA-rhxc-pp54-8x28
References
Advisory 10
Sources
- CVE-2013-0170 · CVE Program
- CVE-2013-0170 · NVD
- FIRST EPSS
- GHSA-rhxc-pp54-8x28 · GitHub Advisory Database · CC BY 4.0
- CVE-2013-0170 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences