Skip to content
Fencer Intel
medium 5.5

CVE-2017-5898 json

Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID…

published 2017-03-15 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-14973

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 34%
public exploits
0
none known

Summary

Integer overflow in the emulated_apdu_from_guest function in usb/dev-smartcard-reader.c in Quick Emulator (Qemu), when built with the CCID Card device emulator support, allows local users to cause a denial of service (application crash) via a large Application Protocol Data Units (APDU) unit.

Patch / fix

  • qemu Debian 14, Debian 13, Debian 12 1:2.8+dfsg-3

debian advisories DEBIAN-CVE-2017-5898

  • qemu Ubuntu 14.04 LTS 2.0.0+dfsg-2ubuntu1.33
  • qemu Ubuntu 16.04 LTS 1:2.5+dfsg-5ubuntu10.11

ubuntu advisories UBUNTU-CVE-2017-5898

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 RHEL 7 10:1.5.3-141.el7
  • qemu-img RHEL 7 10:1.5.3-141.el7
  • qemu-kvm-tools RHEL 7 10:1.5.3-141.el7
  • qemu-kvm-common RHEL 7 10:1.5.3-141.el7
  • qemu-kvm-rhev RHEL 7 10:2.9.0-14.el7
  • qemu-img-rhev RHEL 7 10:2.9.0-14.el7
  • qemu-kvm-tools-rhev RHEL 7 10:2.9.0-14.el7
  • qemu-kvm-common-rhev RHEL 7 10:2.9.0-14.el7

red hat advisories RHSA-2017:1856RHSA-2017:2392

  • xen SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 4.2.5_21-45.19.1
  • kvm SLES 11 SP3-TERADATA, SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 1.4.2-53.11.1
  • qemu SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 2.3.1-32.11
  • kvm SLES for SAP 11 SP4, SLES 11 SP4 1.4.2-59.1
  • xen SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 4.4.4_14-51.1
  • qemu SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +1 more 2.6.2-41.9.1
  • xen SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 4.5.5_06-22.11.2
  • qemu SLES for SAP 12, SLES 12-LTSS 2.0.2-48.31.1

suse advisories SUSE-SU-2018:0678-1SUSE-SU-2017:3084-1SUSE-SU-2017:1241-1SUSE-SU-2017:1135-1SUSE-SU-2017:0661-1SUSE-SU-2017:0647-1

  • qemu openSUSE Tumbleweed 6.1.0-32.1

opensuse advisories openSUSE-SU-2024:11287-1

  • qemu Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 2.8.1-r1
  • qemu Alpine 3.5 2.8.1.1-r0

alpine advisories ALPINE-CVE-2017-5898

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

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-5898 updated cvss 4.0

Qemu: usb: integer overflow in emulated_apdu_from_guest

  • Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) qemu-kvm-rhev
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) qemu-img 1.5.3-141.el7, qemu-kvm 1.5.3-141.el7, qemu-kvm-tools 1.5.3-141.el7, qemu-kvm-common 1.5.3-141.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) qemu-img 1.5.3-141.el7, qemu-kvm 1.5.3-141.el7, qemu-kvm-tools 1.5.3-141.el7, qemu-kvm-common 1.5.3-141.el7 Red Hat Enterprise Linux Server (v. 7) qemu-img 1.5.3-141.el7, qemu-kvm 1.5.3-141.el7, qemu-kvm-tools 1.5.3-141.el7, qemu-kvm-common 1.5.3-141.el7 Red Hat Enterprise Linux Workstation (v. 7) qemu-img 1.5.3-141.el7, qemu-kvm 1.5.3-141.el7, qemu-kvm-tools 1.5.3-141.el7, qemu-kvm-common 1.5.3-141.el7
    fixed: vendor fix RHSA-2017:1856
  • Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts qemu-img-rhev 2.9.0-14.el7, qemu-kvm-rhev 2.9.0-14.el7, qemu-kvm-tools-rhev 2.9.0-14.el7, qemu-kvm-common-rhev 2.9.0-14.el7
    fixed: vendor fix RHSA-2017:2392
  • 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 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
    +1 more products
    Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
    not 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

0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

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.