CVE-2013-4540 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via a malicious savevm image exploiting a buffer overflow in QEMU's GPIO handler.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2013-4540?

CVE-2013-4540 is a high-severity memory corruption vulnerability in Opensuse Opensuse, published on 4 Nov 2014. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2013-4540?

It affects 2 products.

Products include Opensuse Opensuse, Qemu Qemu.

How do I fix CVE-2013-4540?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2013-4540 being exploited?

There is no known exploitation of CVE-2013-4540 in the wild and no public exploit code.

All Opensuse Opensuse vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-4540, GHSA-67xx-4xq4-jj46, UBUNTU-CVE-2013-4540.

Is CVE-2013-4540 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free