OSV-2023-51 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-2023-51?

OSV-2023-51 is an use after free vulnerability in c-blosc2, published on 5 Feb 2023.

Official description

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

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

Which versions are affected by OSV-2023-51?

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

PackageAffectedFixed in
c-blosc2 OSS-FuzzAll versionsNone

How do I fix OSV-2023-51?

No fix has been published for OSV-2023-51 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-2023-51 being exploited?

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

Sources

Is OSV-2023-51 in your software?

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

Check your SBOMs for free