Skip to content
Heist/ feed
Back to feed
High

lz4_flex: Decompression can leak information from uninitialized memory or reused output buffer

Type: advisorySources: OSV

lz4_flex is a pure Rust implementation of LZ4 compression/decompression. In versions 0.11.5 and below, and 0.12.0, decompressing invalid LZ4 data can leak sensitive information from uninitialized memory or from previous decompression operations. The library fails to properly validate offset values during LZ4 "match copy operations," allowing out-of-bounds reads from the output buffer. The block-based API functions (`decompress_into`, `decompress_into_with_dict`, and others when `safe-decode` is disabled) are affected, while all frame APIs are unaffected. The impact is potential exposure of sensitive data and secrets through crafted or malformed LZ4 input. This issue has been fixed in versions 0.11.6 and 0.12.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-32829
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 20:21 UTC · Revision 1

Source evidence

lz4_flex: Decompression can leak information from uninitialized memory or reused output buffer

core-osv · Original source

Published 20 Mar 2026, 00:49 UTC

lz4_flex is a pure Rust implementation of LZ4 compression/decompression. In versions 0.11.5 and below, and 0.12.0, decompressing invalid LZ4 data can leak sensitive information from uninitialized memory or from previous decompression operations. The library fails to properly validate offset values during LZ4 "match copy operations," allowing out-of-bounds reads from the output buffer. The block-based API functions (`decompress_into`, `decompress_into_with_dict`, and others when `safe-decode` is disabled) are affected, while all frame APIs are unaffected. The impact is potential exposure of sensitive data and secrets through crafted or malformed LZ4 input. This issue has been fixed in versions 0.11.6 and 0.12.1.

osv:CVE-2026-32829
Complete source record
{
  "id": "a89a428119b5f1787ebbd54ffcb2d2aa730db48d380e92225aa853507b320343",
  "url": "https://osv.dev/vulnerability/CVE-2026-32829",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "lz4_flex: Decompression can leak information from uninitialized memory or reused output buffer",
    "summary": "lz4_flex is a pure Rust implementation of LZ4 compression/decompression. In versions 0.11.5 and below, and 0.12.0, decompressing invalid LZ4 data can leak sensitive information from uninitialized memory or from previous decompression operations. The library fails to properly validate offset values during LZ4 \"match copy operations,\" allowing out-of-bounds reads from the output buffer. The block-based API functions (`decompress_into`, `decompress_into_with_dict`, and others when `safe-decode` is disabled) are affected, while all frame APIs are unaffected. The impact is potential exposure of sensitive data and secrets through crafted or malformed LZ4 input. This issue has been fixed in versions 0.11.6 and 0.12.1.",
    "evidence": "osv:CVE-2026-32829",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-32829",
      "aliases": [
        "CVE-2026-32829",
        "GHSA-vvp9-7p8x-rfvv",
        "RUSTSEC-2026-0041"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pseitz/lz4_flex",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6460047c0ba18bf4e3331894c8db220bc724a439"
                },
                {
                  "introduced": "975bfa7ac9583da879b5d7578b423232d84f69fe"
                },
                {
                  "fixed": "055502ee5d297ecd6bf448ac91c055c7f6df9b6d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:pseitz:lz4_flex:*:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:pseitz:lz4_flex:0.12.0:*:*:*:*:rust:*:*",
                    "range": [
                      {
                        "introduced": "0.12.0"
                      },
                      {
                        "last_affected": "0.12.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "055502ee5d297ecd6bf448ac91c055c7f6df9b6d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.12.0",
            "0.11.5",
            "0.11.4",
            "0.11",
            "v0.10",
            "0.10",
            "v0.9",
            "0.9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32829.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.929742261Z",
      "provider": "osv",
      "references": [
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32829.json",
        "https://access.redhat.com/errata/RHSA-2026:11800",
        "https://access.redhat.com/errata/RHSA-2026:16354",
        "https://access.redhat.com/errata/RHSA-2026:19712",
        "https://access.redhat.com/errata/RHSA-2026:22862",
        "https://access.redhat.com/security/cve/CVE-2026-32829",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32829.json",
        "https://github.com/PSeitz/lz4_flex/security/advisories/GHSA-vvp9-7p8x-rfvv",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-32829",
        "https://rustsec.org/advisories/RUSTSEC-2026-0041.html",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2448271",
        "https://github.com/PSeitz/lz4_flex/commit/055502ee5d297ecd6bf448ac91c055c7f6df9b6d"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-201",
          "CWE-823"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32829.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32829",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498937,
  "published_at": "2026-03-20T00:49:12.893+00:00"
}