OSV-2025-480 Stack-buffer-overflow in void glz::from<10000u, std::__1::__bit_reference<std::__1::vector<bool, std::__1
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<10000u, std::__1::__bit_reference<std::__1::vector<bool, std::__1
void glz::from<10000u, std::__1::vector<bool, std::__1::allocator<bool>>>::op<gl
void glz::visit<4ul, void glz::from<10000u, my_struct>::op<glz::opts_csv{10000u,
Which versions are affected by OSV-2025-480?
1 open source package ship an affected version, including glaze.
| Package | Affected | Fixed in |
|---|---|---|
glaze OSS-Fuzz | All versions | None |
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.