OSV-2021-916 Use-of-uninitialized-value in jxl::ModularFrameDecoder::DecodeAcMetadata

Not scored Published

An attacker can cause a denial of service in applications using the JPEG XL library by triggering a use-of-uninitialized-value error during metadata decoding.

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

What is OSV-2021-916?

OSV-2021-916 is an use after free vulnerability in libjxl, published on 4 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Crash type: Use-of-uninitialized-value
Crash state:
jxl::ModularFrameDecoder::DecodeAcMetadata
jxl::FrameDecoder::ProcessDCGroup
jxl::ThreadPool::RunCallState<jxl::Status

Which versions are affected by OSV-2021-916?

1 open source package ship an affected version, including libjxl.

PackageAffectedFixed in
libjxl OSS-FuzzAll versionsNone

How do I fix OSV-2021-916?

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

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

Sources

Is OSV-2021-916 in your software?

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

Check your SBOMs for free