CVE-2014-7840 json
The host_from_stream_offset function in arch_init.c in QEMU, when loading RAM during migration, allows remote attackers to execute arbitrar…
published 11y ago modified 4mo ago also EUVD-2014-7694
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
The host_from_stream_offset function in arch_init.c in QEMU, when loading RAM during migration, allows remote attackers to execute arbitrary code via a crafted (1) offset or (2) length value in savevm data.
Patch / fix
- qemu Debian 14, Debian 13, Debian 12 2.1+dfsg-8
debian advisories DEBIAN-CVE-2014-7840
- qemu Ubuntu 14.04 LTS 2.0.0+dfsg-2ubuntu1.9
ubuntu advisories UBUNTU-CVE-2014-7840
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- qemu-kvm-rhev RHEL 7 10:2.1.2-23.el7
- qemu-img-rhev RHEL 7 10:2.1.2-23.el7
- libcacard-rhev RHEL 7 10:2.1.2-23.el7
- qemu-kvm-tools-rhev RHEL 7 10:2.1.2-23.el7
- libcacard-devel-rhev RHEL 7 10:2.1.2-23.el7
- libcacard-tools-rhev RHEL 7 10:2.1.2-23.el7
- qemu-kvm-common-rhev RHEL 7 10:2.1.2-23.el7
- qemu-kvm RHEL 7 10:1.5.3-86.el7
red hat advisories RHSA-2015:0624RHSA-2015:0349
- qemu SLES for SAP 12, SLES 12, SLED 12 2.0.2-42.1
suse advisories SUSE-SU-2015:0349-1
Is CVE-2014-7840 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-7840 updated cvss 3.7
qemu: insufficient parameter validation during ram load
-
Red Hat Enterprise Linux 5 kvmaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32affected: no fix available
-
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) qemu-kvm-rhev Red Hat OpenStack Platform 3 qemu-kvm-rhev Red Hat OpenStack Platform 4 qemu-kvm-rhevunder investigation
-
Red Hat Enterprise Linux Client (v. 7) qemu-img 1.5.3-86.el7, qemu-kvm 1.5.3-86.el7, libcacard 1.5.3-86.el7, qemu-kvm-tools 1.5.3-86.el7, qemu-kvm-common 1.5.3-86.el7 Red Hat Enterprise Linux Client Optional (v. 7) libcacard-tools 1.5.3-86.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) qemu-img 1.5.3-86.el7, qemu-kvm 1.5.3-86.el7, libcacard 1.5.3-86.el7, qemu-kvm-tools 1.5.3-86.el7, libcacard-tools 1.5.3-86.el7, qemu-kvm-common 1.5.3-86.el7 Red Hat Enterprise Linux Server (v. 7) qemu-img 1.5.3-86.el7, qemu-kvm 1.5.3-86.el7, libcacard 1.5.3-86.el7, qemu-kvm-tools 1.5.3-86.el7, qemu-kvm-common 1.5.3-86.el7 Red Hat Enterprise Linux Server Optional (v. 7) libcacard 1.5.3-86.el7, libcacard-tools 1.5.3-86.el7 Red Hat Enterprise Linux Workstation (v. 7) qemu-img 1.5.3-86.el7, qemu-kvm 1.5.3-86.el7, libcacard 1.5.3-86.el7, qemu-kvm-tools 1.5.3-86.el7, qemu-kvm-common 1.5.3-86.el7fixed: vendor fix RHSA-2015:0349
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 7) libcacard-tools 1.5.3-86.el7 -
Red Hat RHEV-H and VDSM for 7 Hosts qemu-img-rhev 2.1.2-23.el7, qemu-kvm-rhev 2.1.2-23.el7, libcacard-rhev 2.1.2-23.el7, qemu-kvm-tools-rhev 2.1.2-23.el7, libcacard-devel-rhev 2.1.2-23.el7, libcacard-tools-rhev 2.1.2-23.el7, +1 morefixed: vendor fix RHSA-2015:0624
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.12% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
rhn.redhat.com
/errata/RHSA-2015-0624.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2015-0349.html
vendor-advisory, third-party-advisory
- git.qemu.org /?p=qemu.git%3Ba=commit%3Bh=0be839a2701369f669532ea5884c15bead1c6e08
-
thread.gmane.org
/gmane.comp.emulators.qemu/306117
mailing-list, broken-link
-
exchange.xforce.ibmcloud.com
/vulnerabilities/99194
vdb-entry, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1163075
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2014-7840
- NVD CVE-2014-7840
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.