OSV-2025-363 Heap-buffer-overflow in jv_string_vfmt

Not scored Published

A heap-buffer-overflow in the jv_string_vfmt function of a JSON library can cause a crash, potentially leading to denial of service.

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

What is OSV-2025-363?

OSV-2025-363 is a memory corruption vulnerability in jq, published on 14 May 2025.

Official description

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

Crash type: Heap-buffer-overflow READ 2
Crash state:
jv_string_vfmt
jv_string_fmt
jv_get

Which versions are affected by OSV-2025-363?

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

PackageAffectedFixed in
jq OSS-FuzzAll versionsNone

How do I fix OSV-2025-363?

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

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

Sources

Is OSV-2025-363 in your software?

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

Check your SBOMs for free