OSV-2024-118 Heap-buffer-overflow in sav_process_row

Not scored Published

A heap buffer overflow in the Readstat library allows attackers to execute arbitrary code or cause denial of service via crafted SAV 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-118?

OSV-2024-118 is a memory corruption vulnerability in readstat, published on 20 Feb 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=66805

Crash type: Heap-buffer-overflow WRITE 1
Crash state:
sav_process_row
sav_read_data
readstat_parse_sav

Which versions are affected by OSV-2024-118?

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

PackageAffectedFixed in
readstat OSS-FuzzAll versionsNone

How do I fix OSV-2024-118?

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

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

Sources

Is OSV-2024-118 in your software?

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

Check your SBOMs for free