Vulnerabilities / CVE-2017-16845

critical

CVE-2017-16845

Qemu: ps2: information leakage via post_load routine

Published Modified CWE 20
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:H
Red Hat3.3CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Oracle (high), Red Hat (low), Ubuntu (low).

Description

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

Affected packages and fixed versions

SourcePackageFixed in
debian 11qemu1:2.12~rc3+dfsg-1
debian 12qemu1:2.12~rc3+dfsg-1
debian 13qemu1:2.12~rc3+dfsg-1
debian 14qemu1:2.12~rc3+dfsg-1
debian 7qemu, qemu-kvmno fix listed
debian 8qemu1:2.1+dfsg-12+deb8u7
debian 9qemu1:2.8+dfsg-6+deb9u4
echoqemu1:2.12~rc3+dfsg-1
Oracle Linux 7ivshmem-tools, qemu, qemu-block-gluster and 10 more15:3.1.0-1.el7 and 1 more
Red Hatlibcacard-devel-rhev, libcacard-rhev, libcacard-tools-rhev and 4 moreno fix listed
ubuntu 16.04qemu1:2.5+dfsg-5ubuntu10.22
ubuntu 16.04-ESMqemu1:2.5+dfsg-5ubuntu10.22
Show all 34 entries from 15 sources
SourcePackageFixed in
debian 11qemu1:2.12~rc3+dfsg-1
debian 12qemu1:2.12~rc3+dfsg-1
debian 13qemu1:2.12~rc3+dfsg-1
debian 14qemu1:2.12~rc3+dfsg-1
debian 7qemuno fix listed
debian 7qemu-kvmno fix listed
debian 8qemu1:2.1+dfsg-12+deb8u7
debian 9qemu1:2.8+dfsg-6+deb9u4
echoqemu1:2.12~rc3+dfsg-1
Oracle Linux 7ivshmem-tools15:3.1.0-1.el7
Oracle Linux 7qemu15:3.0.0-1.el7
Oracle Linux 7qemu-block-gluster15:3.0.0-1.el7
Oracle Linux 7qemu-block-iscsi15:3.0.0-1.el7
Oracle Linux 7qemu-block-rbd15:3.0.0-1.el7
Oracle Linux 7qemu-common15:3.0.0-1.el7
Oracle Linux 7qemu-img15:3.0.0-1.el7
Oracle Linux 7qemu-kvm15:3.0.0-1.el7
Oracle Linux 7qemu-kvm-core15:3.0.0-1.el7
Oracle Linux 7qemu-system-aarch6415:3.1.0-1.el7
Oracle Linux 7qemu-system-aarch64-core15:3.1.0-1.el7
Oracle Linux 7qemu-system-x8615:3.0.0-1.el7
Oracle Linux 7qemu-system-x86-core15:3.0.0-1.el7
Red Hatlibcacard-devel-rhevno fix listed
Red Hatlibcacard-rhevno fix listed
Red Hatlibcacard-tools-rhevno fix listed
Red Hatqemu-img-rhevno fix listed
Red Hatqemu-kvm-common-rhevno fix listed
Red Hatqemu-kvm-rhevno fix listed
Red Hatqemu-kvm-tools-rhevno fix listed
ubuntu 16.04qemu1:2.5+dfsg-5ubuntu10.22
ubuntu 16.04-ESMqemu1:2.5+dfsg-5ubuntu10.22
ubuntu 17.10qemu1:2.10+dfsg-0ubuntu3.5
ubuntu 18.04qemu1:2.11+dfsg-1ubuntu7.1
ubuntu 18.04-ESMqemu1:2.11+dfsg-1ubuntu7.1

References

All 13 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.