CVE-2010-4540 Memory corruption in n/a

Medium 6.8 Published Updated

A stack-based buffer overflow in GIMP's lighting plugin allows attackers to execute arbitrary code or crash the application via a malicious configuration file.

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-2010-4540?

CVE-2010-4540 is a medium-severity memory corruption vulnerability in Gimp Gimp, published on 7 Jan 2011. 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

Stack-based buffer overflow in the load_preset_response function in plug-ins/lighting/lighting-ui.c in the "LIGHTING EFFECTS > LIGHT" plugin in GIMP 2.6.11 allows user-assisted remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a long Position field in a plugin configuration file. NOTE: it may be uncommon to obtain a GIMP plugin configuration file from an untrusted source that is separate from the distribution of the plugin itself. NOTE: some of these details are obtained from third party information.

Weakness: CWE-787

Which versions are affected by CVE-2010-4540?

It affects 1 product.

Products include Gimp Gimp.

How do I fix CVE-2010-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-2010-4540 being exploited?

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

All Gimp Gimp vulnerabilities

Sources

Also known as DEBIAN-CVE-2010-4540, GHSA-5pj7-f4q8-vv7g.

Is CVE-2010-4540 in your software?

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

Check your SBOMs for free