# lz4: fix LZ4_decompress_safe_partial read out of bound

CVE record · `CVE-2022-49078`

- **Identifiers:** `CVE-2022-49078`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 26 Feb 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 26 Feb 2025, 01:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `2209fda323e2fd2a2d0885595fd5097717f8d2aa to before 73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3` (git)
  - affected: `2209fda323e2fd2a2d0885595fd5097717f8d2aa to before 6adc01a7aa37445dafe8846faa0610a86029b253` (git)
  - affected: `2209fda323e2fd2a2d0885595fd5097717f8d2aa to before 9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927` (git)
  - affected: `2209fda323e2fd2a2d0885595fd5097717f8d2aa to before e64dbe97c05c769525cbca099ddbd22485630235` (git)
  - affected: `2209fda323e2fd2a2d0885595fd5097717f8d2aa to before 467d5e200ab4486b744fe1776154a43d1aa22d4b` (git)
  - affected: `2209fda323e2fd2a2d0885595fd5097717f8d2aa to before eafc0a02391b7b36617b36c97c4b5d6832cf5e24` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.20`
  - unaffected: `before 4.20` (semver)
  - unaffected: `5.4.189 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.111 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.34 to 5.15.*, inclusive` (semver)
  - unaffected: `5.16.20 to 5.16.*, inclusive` (semver)
  - unaffected: `5.17.3 to 5.17.*, inclusive` (semver)
  - unaffected: `5.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 21st percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 26 Feb 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-49078](https://www.cve.org/CVERecord?id=CVE-2022-49078)
- [NVD: CVE-2022-49078](https://nvd.nist.gov/vuln/detail/CVE-2022-49078)

### References from the CNA

- <https://git.kernel.org/stable/c/73953dfa9d50e5c9fe98ee13fd1d3427aa12a0a3>
- <https://git.kernel.org/stable/c/6adc01a7aa37445dafe8846faa0610a86029b253>
- <https://git.kernel.org/stable/c/9fb8bc6cfc58773ce95414e11c9ccc8fc6ac4927>
- <https://git.kernel.org/stable/c/e64dbe97c05c769525cbca099ddbd22485630235>
- <https://git.kernel.org/stable/c/467d5e200ab4486b744fe1776154a43d1aa22d4b>
- <https://git.kernel.org/stable/c/eafc0a02391b7b36617b36c97c4b5d6832cf5e24>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-49078>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-49078/>. Everything for agents: <https://agentprime.io/llms.txt>.
