Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.lz4/lz4-java
  4. ›
  5. CVE-2026-106449

CVE-2026-106449: yawkat LZ4 Java: LZ4BlockInputStream with stopOnEmptyBlock=false recurses once per empty block, causing StackOverflowError

October 7, 2026

When LZ4BlockInputStream is configured with stopOnEmptyBlock = false (the mode for reading concatenated block streams), it handles each empty block by calling refill() recursively. A long run of empty blocks exhausts the thread stack and throws StackOverflowError out of read() or skip().

References

  • github.com/advisories/GHSA-343h-94h5-c4wr
  • github.com/yawkat/lz4-java/commit/c8ebf97d504fb34434fda46fc761e8202570e0d8
  • github.com/yawkat/lz4-java/releases/tag/v1.11.4
  • github.com/yawkat/lz4-java/security/advisories/GHSA-343h-94h5-c4wr
  • nvd.nist.gov/vuln/detail/CVE-2026-106449

Code Behaviors & Features

Detect and mitigate CVE-2026-106449 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.8.1

Solution

Unfortunately, there is no solution available yet.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

maven/org.lz4/lz4-java/CVE-2026-106449.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:17 +0000.