Description
Ning compress-lzf before 1.2.0 contains an out-of-bounds memory access vulnerability in the sun.misc.Unsafe based UnsafeChunkDecoder that fails to validate back-references and literal runs. Attackers can supply crafted LZF streams to applications using the default LZFDecoder to leak unrelated JVM heap memory into decompressed output or crash the JVM.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ning | compress-lzf | < 1.2.0 | 1.2.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | compress-lzf | No fix yet | — |
| Debian 13 | compress-lzf | No fix yet | — |
| Debian 12 | compress-lzf | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | compress-lzf | No fix yet | — |
| Ubuntu 26.04 LTS | compress-lzf | No fix yet | — |
| Ubuntu 24.04 LTS | compress-lzf | No fix yet | — |
| Ubuntu 22.04 LTS | compress-lzf | No fix yet | — |
| Ubuntu 20.04 LTS | compress-lzf | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | compress-lzf | No fix yet | — |
| Ubuntu 16.04 LTS | compress-lzf | No fix yet | — |
References
- https://github.com/ning/compress/pull/68 patch issue-tracking
- https://github.com/ning/compress/commit/06bdc3744a96b736a7118891f403e44c664f108b patch
- https://github.com/ning/compress/blob/compress-lzf-1.1.3/src/main/java/com/ning/compress/lzf/impl/UnsafeChunkDecoder.java#L104 technical-description
- https://github.com/github/securitylab/discussions/970 technical-description
- https://github.com/ning/compress product
- VulnCheck Advisory: Ning compress-lzf before 1.2.0 Out-of-Bounds Memory Access via UnsafeChunkDecoder third-party-advisory