CVE-2007-5137 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code via crafted multi-frame interlaced GIF files due to a buffer overflow in the Tcl/Tk image processing library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-5137?

CVE-2007-5137 is a medium-severity memory corruption vulnerability in n/a, published on 28 Sep 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Buffer overflow in the ReadImage function in generic/tkImgGIF.c in Tcl (Tcl/Tk) 8.4.13 through 8.4.15 allows remote attackers to execute arbitrary code via multi-frame interlaced GIF files in which later frames are smaller than the first. NOTE: this issue is due to an incorrect patch for CVE-2007-5378.

Weakness: CWE-119

Which versions are affected by CVE-2007-5137?

It affects 1 product.

Products include Tcl Tk Tcl Tk.

How do I fix CVE-2007-5137?

Apply the vendor's patch.

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

Is CVE-2007-5137 being exploited?

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

Sources

Also known as CVE-2007-4851, DEBIAN-CVE-2007-5137, GHSA-67cg-f67f-c8v9.

Is CVE-2007-5137 in your software?

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

Check your SBOMs for free