OSV-2024-965 Stack-buffer-overflow in FLAC__stream_encoder_init_ogg_file

Not scored Published

A stack buffer overflow in the FLAC library allows attackers to cause denial of service or potentially execute code via crafted audio files.

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

What is OSV-2024-965?

OSV-2024-965 is a memory corruption vulnerability in flac, published on 16 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Crash type: Stack-buffer-overflow READ 13
Crash state:
FLAC__stream_encoder_init_ogg_file
EncoderSession_init_encoder
flac__encode_file

Which versions are affected by OSV-2024-965?

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

PackageAffectedFixed in
flac OSS-FuzzAll versionsNone

How do I fix OSV-2024-965?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is OSV-2024-965 being exploited?

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

Sources

Is OSV-2024-965 in your software?

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

Check your SBOMs for free