OSV-2021-526 Heap-use-after-free in ZSTD_freeDDict

Not scored Published

A heap-use-after-free vulnerability in ZSTD_freeDDict allows attackers to cause denial of service or potentially execute arbitrary code via crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2021-526?

OSV-2021-526 is an use after free vulnerability in c-blosc2, published on 16 Mar 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32076

Crash type: Heap-use-after-free READ {*}
Crash state:
ZSTD_freeDDict
blosc2_free_ctx
blosc2_schunk_free

Which versions are affected by OSV-2021-526?

1 open source package ship an affected version, including c-blosc2.

PackageAffectedFixed in
c-blosc2 OSS-FuzzAll versionsNone

How do I fix OSV-2021-526?

No fix has been published for OSV-2021-526 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is OSV-2021-526 being exploited?

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

Sources

Is OSV-2021-526 in your software?

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

Check your SBOMs for free