# CVE-2012-5625: Openstack nova: information leak in libvirt lvm-backed instances

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.34% (percentile 71, 2026-11-26)
- **CWE:** CWE-212
- **Aliases:** GHSA-rwhr-h69g-8qmq, PYSEC-2012-41, PYSEC-2012-42
- **Published:** 2012-12-26T22:00:00.000Z
- **Modified:** 2026-10-30T19:17:26.493Z

## Who should check

- Projects that depend on PyPI package nova (\< 12.0.0a0)
- Anyone running Red Hat OpenStack Folsom for RHEL 6 all versions
- Anyone running Red Hat OpenStack Platform 16.2 (versions: see the vendor advisory)
- Anyone running Red Hat OpenStack Platform 17.1 (versions: see the vendor advisory)
- Anyone running Red Hat OpenStack Platform 18.0 (versions: see the vendor advisory)

## Description

OpenStack Compute (Nova) Folsom before 2012.2.2 and Grizzly, when using libvirt and LVM backed instances, does not properly clear physical volume (PV) content when reallocating for instances, which allows attackers to obtain sensitive information by reading the memory of the previous logical volume (LV).

## Affected and fixed versions

- PyPI `nova`: affected \< 12.0.0a0; fixed 12.0.0a0 (osv)
- Red Hat OpenStack Folsom for RHEL 6: all versions (cvelist)
- Red Hat OpenStack Platform 16.2: see vendor advisory (cvelist)
- Red Hat OpenStack Platform 17.1: see vendor advisory (cvelist)
- Red Hat OpenStack Platform 18.0: see vendor advisory (cvelist)

## Mitigation

- Upgrade nova to 12.0.0a0 or later.
- Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2012-5625. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2012-5625.md
Affected: nova < 12.0.0a0
Fixed in: 12.0.0a0

Steps:
1. Search this machine and project for nova (PyPI), Red Hat OpenStack Folsom for RHEL 6, Red Hat OpenStack Platform 16.2, Red Hat OpenStack Platform 17.1, Red Hat OpenStack Platform 18.0: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2012-5625 being exploited?

There is no confirmed exploitation: CVE-2012-5625 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2012-5625?

Medium: CVSS 6.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2012-5625?

nova \< 12.0.0a0.

### Is there a fix for CVE-2012-5625?

Yes. Fixed in 12.0.0a0. Upgrade nova to 12.0.0a0 or later. Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

### How do I check if I'm affected by CVE-2012-5625?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <http://rhn.redhat.com/errata/RHSA-2013-0208.html>
- vendor: <http://www.ubuntu.com/usn/USN-1663-1>
- vendor: <https://access.redhat.com/errata/RHSA-2013:0208>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2012-5625>
- vendor: <https://github.com/advisories/GHSA-rwhr-h69g-8qmq>
- patch: <https://github.com/openstack/nova/commit/9d2ea970422591f8cdc394001be9a2deca499a5f>
- patch: <https://github.com/openstack/nova/commit/a99a802e008eed18e39fc1d98170edc495cbd354>
- other: <http://osvdb.org/88419>
- other: <http://www.openwall.com/lists/oss-security/2012/12/11/5>
- other: <http://www.securityfocus.com/bid/56904>
- other: <https://access.redhat.com/security/cve/CVE-2012-5625>
- other: <https://bugs.launchpad.net/nova/+bug/1070539>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=884293>
- other: <https://launchpad.net/nova/folsom/2012.2.2>
- other: <https://github.com/openstack/nova>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2012-41.yaml>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/nova/PYSEC-2012-42.yaml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2012-5625>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rwhr-h69g-8qmq> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2012-41> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2012-42> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2012-5625> · JSON: <https://flawdb.com/api/v1/entries/CVE-2012-5625>
