OSV-2025-480 Stack-buffer-overflow in void glz::from<10000u, std::__1::__bit_reference<std::__1::vector<bool, std::__1

Not scored Published

A stack buffer overflow in the glaze C++ library allows attackers to cause a denial of service via crafted input.

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-480?

OSV-2025-480 is a memory corruption vulnerability in glaze, published on 20 Jun 2025.

Official description

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

Crash type: Stack-buffer-overflow READ 1
Crash state:
void glz::from&lt;10000u, std::__1::__bit_reference&lt;std::__1::vector&lt;bool, std::__1
void glz::from&lt;10000u, std::__1::vector&lt;bool, std::__1::allocator&lt;bool&gt;&gt;&gt;::op&lt;gl
void glz::visit&lt;4ul, void glz::from&lt;10000u, my_struct&gt;::op&lt;glz::opts_csv{10000u,

Which versions are affected by OSV-2025-480?

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

PackageAffectedFixed in
glaze OSS-FuzzAll versionsNone

How do I fix OSV-2025-480?

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

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

Sources

Is OSV-2025-480 in your software?

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

Check your SBOMs for free