OSV-2017-97 Use-after-poison in rawspeed::unroll_loop_t<void rawspeed::LJpegDecompressor::decodeN<4>

Not scored Published

A use-after-poison vulnerability in the rawspeed library allows attackers to cause a crash or potentially execute code via crafted images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
A user has to click or open something
Fix
None listed

What is OSV-2017-97?

OSV-2017-97 is an use after free vulnerability in librawspeed, published on 13 Jan 2021.

Official description

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

Crash type: Use-after-poison WRITE 2
Crash state:
rawspeed::unroll_loop_t&lt;void rawspeed::LJpegDecompressor::decodeN&lt;4&gt;
void rawspeed::LJpegDecompressor::decodeN&lt;4&gt;
rawspeed::AbstractLJpegDecompressor::decode

Which versions are affected by OSV-2017-97?

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

PackageAffectedFixed in
librawspeed OSS-FuzzAll versionsNone

How do I fix OSV-2017-97?

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

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

Sources

Is OSV-2017-97 in your software?

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

Check your SBOMs for free