CVE details
CVE-2021-3520
There's a flaw in lz4. An attacker who submits a crafted file to an application linked with lz4 may be able to trigger an integer overflow, leading to calling of memmove() on a negative size argument, causing an out-of-bounds write and/or a crash. The greatest impact of this flaw is to availability, with some potential impact to confidentiality and integrity as well.
Affected ports (2)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| archivers/linux-c7-lz4 | linux-c7-lz4 | 1.8.3 | unaddressed | emulation@FreeBSD.org |
| archivers/linux-rl9-lz4 | linux-rl9-lz4 | 1.9.3_1 | unaddressed | emulation@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>linux-c7-lz4</name>
<range><lt>1.9.4</lt></range>
</package>
<package>
<name>linux-rl9-lz4</name>
<range><lt>1.9.4</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>There's a flaw in lz4. An attacker who submits a crafted file to an
application linked with lz4 may be able to trigger an integer
overflow, leading to calling of memmove() on a negative size argument,
causing an out-of-bounds write and/or a crash. The greatest impact of
this flaw is to availability, with some potential impact to
confidentiality and integrity as well.</p>
</body>
</description>
<references>
<cvename>CVE-2021-3520</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2021-3520</url>
</references>
<dates>
<discovery>2021-06-02</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>