Security mailing lists by PureSourceCode

GHSA-9q5j-jm53-v7vr

CRITICAL 9.8CVSS 3.1

lz4-sys vulnerable to memory corruption via issue in liblz4

lz4-sys up to v1.9.3 bundles a version of liblz4 that is vulnerable to
CVE-2021-3520.

Attackers could craft a payload that triggers an integer overflow upon
decompression, causing an out-of-bounds write.

The flaw has been corrected in version v1.9.4 of liblz4, which is included
in lz4-sys 1.9.4.

Published
25 Aug 2022
Last modified
4 Feb 2026
Weakness
CWE-190CWE-787
Also known as
RUSTSEC-2022-0051
Sources
OSVJSONOSV RUSTSEC-2022-0051JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV RustSec CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io lz4-sys < 1.9.4 1.9.4
OSV crates.io lz4-sys >= 0.0.0-0, < 1.9.4 1.9.4

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.