Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5898
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:03 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-5898
Complete source record
{
"id": "b31fbfefbd44a15b3963e426b04421c5f05b4413103eb5da73c57ffef0cd4876",
"url": "https://osv.dev/vulnerability/CVE-2017-5898",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5898",
"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.",
"evidence": "osv:CVE-2017-5898",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-5898",
"aliases": [
"CVE-2017-5898"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/qemu/qemu",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "d1b725ee12539906b72777fde1f6c73c2273d806"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.8.1.1",
"v2.8.1",
"v2.8.0",
"v2.8.0-rc4",
"v2.8.0-rc3",
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.0-rc3",
"v1.1.0-rc2",
"v1.1-rc2",
"v1.1-rc1",
"v1.1-rc0",
"v1.0",
"v1.0-rc4",
"v1.0-rc3",
"v1.0-rc2",
"v1.0-rc1",
"v1.0-rc0",
"v0.14.0-rc0",
"v0.13.0-rc0",
"v0.12.0-rc0",
"v0.11.0-rc0",
"v0.5.0",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5898.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.com/qemu-project/qemu",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "d1b725ee12539906b72777fde1f6c73c2273d806"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.8.1.1",
"v2.8.1",
"v2.8.0",
"v2.8.0-rc4",
"v2.8.0-rc3",
"v2.8.0-rc2",
"v2.8.0-rc1",
"v2.8.0-rc0",
"v2.7.0",
"v2.7.0-rc5",
"v2.7.0-rc4",
"v2.7.0-rc3",
"v2.7.0-rc2",
"v2.6.0",
"v2.7.0-rc1",
"v2.7.0-rc0",
"v2.6.0-rc5",
"v2.6.0-rc4",
"v2.6.0-rc3",
"v2.6.0-rc2",
"v2.6.0-rc1",
"v2.6.0-rc0",
"v2.5.0",
"v2.5.0-rc4",
"v2.5.0-rc3",
"v2.5.0-rc2",
"v2.5.0-rc1",
"v2.5.0-rc0",
"v2.4.0",
"v2.4.0-rc4",
"v2.4.0-rc3",
"v2.3.0",
"v2.4.0-rc2",
"v2.4.0-rc1",
"v2.4.0-rc0",
"v2.3.0-rc4",
"v2.3.0-rc3",
"v2.3.0-rc2",
"v2.3.0-rc1",
"v2.3.0-rc0",
"v2.2.0",
"v2.2.0-rc3",
"v2.2.0-rc5",
"v2.2.0-rc4",
"v2.2.0-rc2",
"v2.2.0-rc1",
"v2.2.0-rc0",
"v2.1.0",
"v2.1.0-rc5",
"v2.1.0-rc4",
"v2.1.0-rc2",
"v2.1.0-rc3",
"v2.0.0",
"v2.1.0-rc1",
"v2.1.0-rc0",
"v2.0.0-rc3",
"v2.0.0-rc2",
"v2.0.0-rc1",
"v2.0.0-rc0",
"v1.7.0",
"v1.7.0-rc2",
"v1.7.0-rc1",
"v1.7.0-rc0",
"v1.6.0",
"v1.6.0-rc3",
"v1.6.0-rc2",
"v1.6.0-rc1",
"v1.6.0-rc0",
"v1.5.0",
"v1.5.0-rc3",
"v1.5.0-rc2",
"v1.5.0-rc1",
"v1.5.0-rc0",
"v1.4.0",
"v1.4.0-rc2",
"v1.4.0-rc1",
"v1.4.0-rc0",
"v1.3.0",
"v1.3.0-rc2",
"v1.3.0-rc1",
"v1.3.0-rc0",
"v1.2.0",
"v1.2.0-rc3",
"v1.2.0-rc2",
"v1.2.0-rc1",
"v1.2.0-rc0",
"v1.1.0",
"v1.1.0-rc4",
"v1.1.0-rc3",
"v1.1.0-rc2",
"v1.1-rc2",
"v1.1-rc1",
"v1.1-rc0",
"v1.0",
"v1.0-rc4",
"v1.0-rc3",
"v1.0-rc2",
"v1.0-rc1",
"v1.0-rc0",
"v0.14.0-rc0",
"v0.13.0-rc0",
"v0.12.0-rc0",
"v0.11.0-rc0",
"v0.5.0",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5898.json"
}
}
],
"modified": "2026-10-24T10:30:47.858587761Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2017:1856",
"https://access.redhat.com/errata/RHSA-2017:2392",
"https://bugzilla.redhat.com/show_bug.cgi?id=1419699",
"https://security.gentoo.org/glsa/201702-28"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:suse:linux_enterprise_desktop:12:sp1:*:*:*:*:*:*"
],
"vendor_product": "suse:linux_enterprise_desktop",
"extracted_events": [
{
"range": [
{
"introduced": "12-sp1"
},
{
"last_affected": "12-sp1"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:suse:linux_enterprise_server:12:ltss:*:*:*:*:*:*",
"cpe:2.3:o:suse:linux_enterprise_server:12:sp1:*:*:*:*:*:*"
],
"vendor_product": "suse:linux_enterprise_server",
"extracted_events": [
{
"range": [
{
"introduced": "12-ltss"
},
{
"last_affected": "12-ltss"
},
{
"introduced": "12-sp1"
},
{
"last_affected": "12-sp1"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:suse:linux_enterprise_server_for_sap:12:*:*:*:*:*:*:*"
],
"vendor_product": "suse:linux_enterprise_server_for_sap",
"extracted_events": [
{
"range": [
{
"introduced": "12"
},
{
"last_affected": "12"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:suse:linux_enterprise_software_development_kit:12:sp1:*:*:*:*:*:*"
],
"vendor_product": "suse:linux_enterprise_software_development_kit",
"extracted_events": [
{
"range": [
{
"introduced": "12-sp1"
},
{
"last_affected": "12-sp1"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-5898",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436631,
"published_at": "2017-03-15T19:59:00.5+00:00"
}