CVE-2018-18438
published 2018-10-19CVE-2018-18438: Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value.
PriorityP417medium5.5CVSS 3.0
AVLACLPRLUINSUCNINAH
EPSS
0.44%
35.6th percentile
Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | qemu | < qemu 1:3.1+dfsg-1 (bookworm) | qemu 1:3.1+dfsg-1 (bookworm) |
| qemu | qemu | >= 0 < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| qemu | qemu | >= 0 < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| qemu | qemu | >= 0 < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| qemu | qemu | >= 0 < 1:3.1+dfsg-1 | 1:3.1+dfsg-1 |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | openstack | — | — |
| redhat | openstack | — | — |
| redhat | openstack | — | — |
| redhat | openstack | — | — |
| redhat | openstack | — | — |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
Qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption
vendor_redhat·2018-10-11·CVSS 5.5
CVE-2018-18438 [MEDIUM] CWE-190 Qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption
Qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption
Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value.
Statement: The maintainer audited the code and determined that no memory corruption is possible using this flaw. Patches were applied upstream to prevent future changes introducing such flaws, but the issues identified by this CVE were determined to not constitute a vulnerability.
Package: qemu-kvm (Red Hat Enterprise Linux 6) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-ma (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 8) - Not
Debian
CVE-2018-18438: qemu - Qemu has integer overflows because IOReadHandler and its associated functions us...
vendor_debian·2018·CVSS 5.5
CVE-2018-18438 [MEDIUM] CVE-2018-18438: qemu - Qemu has integer overflows because IOReadHandler and its associated functions us...
Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value.
Scope: local
bookworm: resolved (fixed in 1:3.1+dfsg-1)
bullseye: resolved (fixed in 1:3.1+dfsg-1)
forky: resolved (fixed in 1:3.1+dfsg-1)
sid: resolved (fixed in 1:3.1+dfsg-1)
trixie: resolved (fixed in 1:3.1+dfsg-1)
GHSA
GHSA-5g5x-38wg-3rxr: Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value
ghsa_unreviewed·2022-05-13
CVE-2018-18438 [MEDIUM] CWE-190 GHSA-5g5x-38wg-3rxr: Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value
Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value.
OSV
CVE-2018-18438: Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value
osv·2018-10-19·CVSS 5.5
CVE-2018-18438 [MEDIUM] CVE-2018-18438: Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value
Qemu has integer overflows because IOReadHandler and its associated functions use a signed integer data type for a size value.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-18438 qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption [fedora-all]
bugzilla·2018-10-17·CVSS 5.5
CVE-2018-18438 [MEDIUM] CVE-2018-18438 qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption [fedora-all]
CVE-2018-18438 qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mu
Bugzilla
CVE-2018-18438 Qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption
bugzilla·2018-07-26·CVSS 5.5
CVE-2018-18438 [MEDIUM] CVE-2018-18438 Qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption
CVE-2018-18438 Qemu: Integer overflow in ccid_card_vscard_read() allows memory corruption
An integer overflow issue was found in the CCID Passthru card device emulation, while reading card data in ccid_card_vscard_read() function. The ccid_card_vscard_read() function accepts a signed integer 'size' argument, which is subsequently used as unsigned size_t value in memcpy(), copying large amounts of memory.
A user inside guest could use this flaw to crash the Qemu process resulting in DoS.
Upstream patch:
-> https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02396.html
Reference:
-> https://www.openwall.com/lists/oss-security/2018/10/17/3
Discussion:
Acknowledgments:
Name: Arash Tohidi
---
The overflowed argument in ccid_card_vscard_read() is "int size". Another memory corrupti
http://www.openwall.com/lists/oss-security/2018/10/17/3http://www.securityfocus.com/bid/105953https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02396.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02402.htmlhttp://www.openwall.com/lists/oss-security/2018/10/17/3http://www.securityfocus.com/bid/105953https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02396.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02402.html
2018-10-19
Published