CVE-2021-24032 Information disclosure in Zstandard

Medium 4.7 Published Updated

The Zstandard command-line utility temporarily exposed output files with default permissions, allowing local attackers to read or modify them before restrictions were applied.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-24032?

CVE-2021-24032 is a medium-severity vulnerability in Facebook Zstandard, published on 4 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Beginning in v1.4.1 and prior to v1.4.9, due to an incomplete fix for CVE-2021-24031, the Zstandard command-line utility created output files with default permissions and restricted those permissions immediately afterwards. Output files could therefore momentarily be readable or writable to unintended parties.

Weakness: CWE-276, CWE-277

Which versions are affected by CVE-2021-24032?

It affects 1 product.

Products include Facebook Zstandard.

How do I fix CVE-2021-24032?

Upgrade to a fixed version.

Is CVE-2021-24032 being exploited?

There is no known exploitation of CVE-2021-24032 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2021-24032, AZL-38944, AZL-39352, CLEANSTART-2025-AN69250, DEBIAN-CVE-2021-24032, DSA-4859-1 and 5 more.

Is CVE-2021-24032 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free