cve.bz

CVE-2017-16845 Improper Input Validation

10.0 criticalEPSS 2.9%Fix available

Critical (10.0). EPSS 2.9% estimated probability of exploitation activity in the next 30 days.

On this page
hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:H
EPSS
2.9% (unchanged from 2.9% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-16845 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-16845?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-16845?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-16845 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemuthrough 2.11.2
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8qemu1:2.1+dfsg-12+deb8u7DLA-1497-1
Debian9qemu1:2.8+dfsg-6+deb9u4DSA-4213-1
Debian12, 13, 14qemu1:2.12~rc3+dfsg-1DEBIAN-CVE-2017-16845
Ubuntu14.04:LTSqemu2.0.0+dfsg-2ubuntu1.39USN-3575-1
Ubuntu14.04:LTSqemu2.0.0+dfsg-2ubuntu1.41USN-3649-1
Ubuntu16.04:LTSqemu1:2.5+dfsg-5ubuntu10.22UBUNTU-CVE-2017-16845 USN-3575-1 USN-3649-1
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.1UBUNTU-CVE-2017-16845 USN-3649-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 moreqemu2.6.2-41.37.1SUSE-SU-2018:0831-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3qemu2.9.1-6.12.1SUSE-SU-2018:0762-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kvmNot affected
Red Hat Enterprise Linux 5xenNot affected
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-rhevWill not fix
Red Hat Enterprise Linux OpenStack Platform 6 (Juno)qemu-kvm-rhevWill not fix
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)qemu-kvm-rhevWill not fix
Red Hat OpenStack Platform 10 (Newton)qemu-kvm-rhevWill not fix
Red Hat OpenStack Platform 11 (Ocata)qemu-kvm-rhevWill not fix
Red Hat OpenStack Platform 8 (Liberty)qemu-kvm-rhevWill not fix
Red Hat OpenStack Platform 9 (Mitaka)qemu-kvm-rhevWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-16845.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON