CVE-2017-16845 json
hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
published 2017-11-17 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-8019
- cvss
- 10.0
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
Patch / fix
- qemu Debian 14, Debian 13, Debian 12 1:2.12~rc3+dfsg-1
debian advisories DEBIAN-CVE-2017-16845
- qemu Ubuntu 16.04 LTS 1:2.5+dfsg-5ubuntu10.22
- qemu Ubuntu 18.04 LTS 1:2.11+dfsg-1ubuntu7.1
ubuntu advisories UBUNTU-CVE-2017-16845
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 SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +1 more 2.6.2-41.37.1
- qemu SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 2.9.1-6.12.1
suse advisories SUSE-SU-2018:0831-1SUSE-SU-2018:0762-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-16845 updated cvss 3.3
Qemu: ps2: information leakage via post_load routine
-
Red Hat Enterprise Linux 7 qemu-kvm-rhev Red Hat Enterprise Linux OpenStack Platform 6 (Juno) qemu-kvm-rhev Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) qemu-img-rhev, qemu-kvm-rhev, libcacard-rhev, qemu-kvm-tools-rhev, libcacard-devel-rhev, libcacard-tools-rhev, +1 more Red Hat OpenStack Platform 8 (Liberty) qemu-img-rhev, qemu-kvm-rhev, libcacard-rhev, qemu-kvm-tools-rhev, libcacard-devel-rhev, libcacard-tools-rhev, +1 more Red Hat OpenStack Platform 9 (Mitaka) qemu-img-rhev, qemu-kvm-rhev, libcacard-rhev, qemu-kvm-tools-rhev, libcacard-devel-rhev, libcacard-tools-rhev, +1 more Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhevaffected: no fix planned “Will not fix”
+1 more productsfewer
Red Hat OpenStack Platform 11 (Ocata) qemu-kvm-rhev -
Red Hat Enterprise Linux 5 kvm, xen Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-kvm-tools, libcacard-tools, qemu-kvm-common, +1 morenot affected: vulnerable code not present
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
2.94% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
lists.gnu.org
/archive/html/qemu-devel/2017-11/msg02982.html
mailing-list, patch, third-party-advisory
-
usn.ubuntu.com
/3649-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4213
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3575-1/
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/09/msg00007.html
mailing-list, third-party-advisory
-
securityfocus.com
/bid/101923
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2017-16845
- NVD CVE-2017-16845
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.