<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/zlib-rs-0-6-7-released-with-loongarch-lsx-optimizations-use-after-free-fix-jplgt4pgo" -->

---
title: zlib-rs 0.6.7 Released With LoongArch LSX Optimizations,...
description: zlib-rs 0.6.7 has been released, addressing a use-after-free vulnerability found in Deflate::compress_uninit that can be triggered even when unsafe Rust is...
canonical: https://daily.dev/posts/zlib-rs-0-6-7-released-with-loongarch-lsx-optimizations-use-after-free-fix-jplgt4pgo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: zlib-rs 0.6.7 Released With LoongArch LSX Optimizations, Use-After-Free Fix | daily.dev
og:description: zlib-rs 0.6.7 has been released, addressing a use-after-free vulnerability found in Deflate::compress_uninit that can be triggered even when unsafe Rust is...
og:url: https://daily.dev/posts/zlib-rs-0-6-7-released-with-loongarch-lsx-optimizations-use-after-free-fix-jplgt4pgo
og:image: https://api.daily.dev/og/posts/jplgt4pgo.png
og:image:alt: zlib-rs 0.6.7 Released With LoongArch LSX Optimizations, Use-After-Free Fix
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# zlib-rs 0.6.7 Released With LoongArch LSX Optimizations, Use-After-Free Fix

**[Phoronix](https://daily.dev/sources/phoronix)** · 1 min read · 0 upvotes · 0 comments

## Summary

zlib-rs 0.6.7 has been released, addressing a use-after-free vulnerability found in Deflate::compress_uninit that can be triggered even when unsafe Rust is forbidden. The release also ships LoongArch64 LSX (Loongson SIMD eXtension) optimizations, including an LSX compare256 implementation for ~4% speed gains and wider loads/stores in inflate code for up to 10% improvement.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/zlib-rs-0.6.7>

## Similar posts on daily.dev

- [zlib-rs 0.6.4 Released With Fix For Intel Raptor Lake Crash, SIMD Optimizations](https://daily.dev/posts/zlib-rs-0-6-4-released-with-fix-for-intel-raptor-lake-crash-simd-optimizations-sddc5t54e) · Phoronix · 0 upvotes · 0 comments
- [Zlib-rs 0.6.6 Released With Updated Zlib API Support](https://daily.dev/posts/zlib-rs-0-6-6-released-with-updated-zlib-api-support-ojnttpr8z) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#rust](https://daily.dev/tags/rust), [#compression](https://daily.dev/tags/compression)

[View this post on daily.dev](https://daily.dev/posts/zlib-rs-0-6-7-released-with-loongarch-lsx-optimizations-use-after-free-fix-jplgt4pgo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"zlib-rs 0.6.7 Released With LoongArch LSX Optimizations, Use-After-Free Fix","url":"https://daily.dev/posts/zlib-rs-0-6-7-released-with-loongarch-lsx-optimizations-use-after-free-fix-jplgt4pgo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/zlib-rs-0-6-7-released-with-loongarch-lsx-optimizations-use-after-free-fix-jplgt4pgo"},"datePublished":"2026-08-03T13:25:52.562Z","dateModified":"2026-08-03T13:26:22.592Z","description":"zlib-rs 0.6.7 has been released, addressing a use-after-free vulnerability found in Deflate::compress_uninit that can be triggered even when unsafe Rust is...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fe6ef82ee470ebd8abe8a3a8a04495d0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fe6ef82ee470ebd8abe8a3a8a04495d0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/zlib-rs-0-6-7-released-with-loongarch-lsx-optimizations-use-after-free-fix-jplgt4pgo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"rust,compression","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"zlib-rs 0.6.7 Released With LoongArch LSX Optimizations, Use-After-Free Fix"}]}
```

