---
id: CVE-2019-17543
title: >-
  LZ4 before 1.9.2 has a heap-based buffer overflow in LZ4_write32 (related to
  LZ4_compress_destSize), affecting applications that call LZ4_compress_fast
  with a large input
summary: >-
  LZ4 before 1.9.2 has a heap-based buffer overflow in LZ4_write32 (related to
  LZ4_compress_destSize), affecting applications that call LZ4_compress_fast
  with a large input. (This issue can also lead to data corruption.) NOTE: the
  vendor s…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: lz4_project
product: lz4
affected:
  - lz4 < 1.9.2
patched:
  - lz4 1.9.2
published: '2019-10-14'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:16:51.503'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2019-17543'
references:
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00069.html'
    label: cve@mitre.org
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00070.html'
    label: cve@mitre.org
  - url: 'https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15941'
    label: cve@mitre.org
  - url: 'https://github.com/lz4/lz4/compare/v1.9.1...v1.9.2'
    label: cve@mitre.org
  - url: 'https://github.com/lz4/lz4/issues/801'
    label: cve@mitre.org
  - url: 'https://github.com/lz4/lz4/pull/756'
    label: cve@mitre.org
  - url: 'https://github.com/lz4/lz4/pull/760'
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/25015588b770d67470b7ba7ea49a305d6735dd7f00eabe7d50ec1e17%40%3Cissues.arrow.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/543302d55e2d2da4311994e9b0debdc676bf3fd05e1a2be3407aa2d6%40%3Cissues.arrow.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/793012683dc0fa6819b7c2560e6cf990811014c40c7d75412099c357%40%3Cissues.arrow.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/9ff0606d16be2ab6a81619e1c9e23c3e251756638e36272c8c8b7fa3%40%3Cissues.arrow.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/f0038c4fab2ee25aee849ebeff6b33b3aa89e07ccfb06b5c87b36316%40%3Cissues.arrow.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/f506bc371d4a068d5d84d7361293568f61167d3a1c3e91f0def2d7d3%40%3Cdev.arrow.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/r0fb226357e7988a241b06b93bab065bcea2eb38658b382e485960e26%40%3Cissues.kudu.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/r4068ba81066792f2b4d208b39c4c4713c5d4c79bd8cb6c1904af5720%40%3Cissues.kudu.apache.org%3E
    label: cve@mitre.org
  - url: >-
      https://lists.apache.org/thread.html/r7bc72200f94298bc9a0e35637f388deb53467ca4b2e2ad1ff66d8960%40%3Cissues.kudu.apache.org%3E
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20210723-0001/'
    label: cve@mitre.org
  - url: 'https://www.oracle.com//security-alerts/cpujul2021.html'
    label: cve@mitre.org
  - url: 'https://www.oracle.com/security-alerts/cpuoct2020.html'
    label: cve@mitre.org
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00069.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00070.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15941'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/lz4/lz4/compare/v1.9.1...v1.9.2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/lz4/lz4/issues/801'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/lz4/lz4/pull/756'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/lz4/lz4/pull/760'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/25015588b770d67470b7ba7ea49a305d6735dd7f00eabe7d50ec1e17%40%3Cissues.arrow.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/543302d55e2d2da4311994e9b0debdc676bf3fd05e1a2be3407aa2d6%40%3Cissues.arrow.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/793012683dc0fa6819b7c2560e6cf990811014c40c7d75412099c357%40%3Cissues.arrow.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/9ff0606d16be2ab6a81619e1c9e23c3e251756638e36272c8c8b7fa3%40%3Cissues.arrow.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/f0038c4fab2ee25aee849ebeff6b33b3aa89e07ccfb06b5c87b36316%40%3Cissues.arrow.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/f506bc371d4a068d5d84d7361293568f61167d3a1c3e91f0def2d7d3%40%3Cdev.arrow.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r0fb226357e7988a241b06b93bab065bcea2eb38658b382e485960e26%40%3Cissues.kudu.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r4068ba81066792f2b4d208b39c4c4713c5d4c79bd8cb6c1904af5720%40%3Cissues.kudu.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.apache.org/thread.html/r7bc72200f94298bc9a0e35637f388deb53467ca4b2e2ad1ff66d8960%40%3Cissues.kudu.apache.org%3E
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20210723-0001/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com//security-alerts/cpujul2021.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpuoct2020.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.09116
epssPercentile: 0.95192
ingestedAt: '2026-10-08T23:16:47.300Z'
---

## Overview

LZ4 before 1.9.2 has a heap-based buffer overflow in LZ4_write32 (related to LZ4_compress_destSize), affecting applications that call LZ4_compress_fast with a large input. (This issue can also lead to data corruption.) NOTE: the vendor states "only a few specific / uncommon usages of the API are at risk."

## Affected

- `lz4 < 1.9.2`

## Remediation

Upgrade past the affected range:

- `lz4 1.9.2`
