CVE-2014-125026 Out-of-bounds write in github.com/cloudflare/golz4

Critical 9.8 Published Updated

An out-of-bounds write in the Go LZ4 bindings allows arbitrary code execution when processing untrusted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-125026?

CVE-2014-125026 is a critical memory corruption vulnerability in github.com/cloudflare/golz4, published on 27 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LZ4 bindings use a deprecated C API that is vulnerable to memory corruption, which could lead to arbitrary code execution if called with untrusted user input.

Weakness: CWE-787

Which versions are affected by CVE-2014-125026?

3 open source packages ship an affected version, including github.com/cloudflare/golz4. It affects 1 product.

PackageAffectedFixed in
github.com/cloudflare/golz4 GoAll versions0.0.0-20140711154735-199f5f787806
github.com/cloudflare/golz4 GoAll versions0.0.0-20140711154735-199f5f787806
github.com/cloudflare/golz4 GoAll versions0.0.0-20140711154735-199f5f787806

Products include Cloudflare Golz4.

How do I fix CVE-2014-125026?

Upgrade github.com/cloudflare/golz4 to 0.0.0-20140711154735-199f5f787806 or later.

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

Is CVE-2014-125026 being exploited?

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

Sources

Also known as GHSA-4wp2-8rm2-jgmh, GO-2020-0022.

Is CVE-2014-125026 in your software?

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

Check your SBOMs for free