CVE-2013-4540 json
Buffer overflow in scoop_gpio_handler_update in QEMU before 1.7.2 might allow remote attackers to execute arbitrary code via a large (1) pr…
published 2014-11-04 12 y ago modified 2026-06-16 4 mo ago also EUVD-2013-4399
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.6%
- EPSS 4.6% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
Buffer overflow in scoop_gpio_handler_update in QEMU before 1.7.2 might allow remote attackers to execute arbitrary code via a large (1) prev_level, (2) gpio_level, or (3) gpio_dir value in a savevm image.
Patch / fix
- qemu Debian 14, Debian 13, Debian 12 2.1+dfsg-1
debian advisories DEBIAN-CVE-2013-4540
- qemu Ubuntu 14.04 LTS 2.0.0+dfsg-2ubuntu1.3
ubuntu advisories UBUNTU-CVE-2013-4540
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
- xen openSUSE Tumbleweed 4.7.0_12-1.3
- qemu openSUSE Tumbleweed 2.6.1-1.5
opensuse advisories openSUSE-SU-2024:10196-1openSUSE-SU-2024:10233-1
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-2013-4540 updated cvss 3.7
qemu: zaurus: buffer overrun on invalid state load
-
Red Hat Enterprise Linux 5 kvm Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-kvm-tools, libcacard-tools, qemu-kvm-common, +1 morenot 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
4.55% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
lists.nongnu.org
/archive/html/qemu-stable/2014-07/msg00187.html
mailing-list, patch
-
lists.opensuse.org
/opensuse-security-announce/2014-10/msg00003.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2014-10/msg00002.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2014-May/133345.html
vendor-advisory
-
lists.gnu.org
/archive/html/qemu-devel/2013-12/msg00394.html
mailing-list
- git.qemu.org /?p=qemu.git%3Ba=commit%3Bh=52f91c3723932f8340fe36c8ec8b18a757c37b2b
Sources
- CVE List CVE-2013-4540
- NVD CVE-2013-4540
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.