OSV-2020-1851 Stack-buffer-underflow in fmt::v6::basic_format_args<fmt::v6::basic_format_context<std::__1::back_insert_i
A stack-buffer-underflow in the fmt library can cause a crash, potentially leading to denial of service for applications using it.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Not stated
- Victim action needed
- Not stated
- Fix
- None listed
What is OSV-2020-1851?
OSV-2020-1851 is a memory corruption vulnerability in libfmt, published on 26 Sep 2020.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21794
Crash type: Stack-buffer-underflow READ 16
Crash state:
fmt::v6::basic_format_args<fmt::v6::basic_format_context<std::__1::back_insert_i
fmt::v6::basic_format_args<fmt::v6::basic_format_context<std::__1::back_insert_i
fmt::v6::basic_format_context<std::__1::back_insert_iterator<fmt::v6::internal::
Which versions are affected by OSV-2020-1851?
1 open source package ship an affected version, including libfmt.
| Package | Affected | Fixed in |
|---|---|---|
libfmt OSS-Fuzz | All versions | None |
How do I fix OSV-2020-1851?
No fix has been published for OSV-2020-1851 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-2020-1851 being exploited?
There is no known exploitation of OSV-2020-1851 in the wild and no public exploit code.