OSV-2025-249 Heap-use-after-free in lj_strfmt_pushvf
A heap-use-after-free vulnerability in LuaJIT's string formatting function allows attackers to potentially execute arbitrary code or cause a 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-249?
OSV-2025-249 is an use after free vulnerability in tarantool, published on 2 Apr 2025.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=407592872
Crash type: Heap-use-after-free READ 2
Crash state:
lj_strfmt_pushvf
lua_pushfstring
luaL_loadfilex
Which versions are affected by OSV-2025-249?
1 open source package ship an affected version, including tarantool.
| Package | Affected | Fixed in |
|---|---|---|
tarantool OSS-Fuzz | All versions | None |
How do I fix OSV-2025-249?
No fix has been published for OSV-2025-249 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2025-249 being exploited?
There is no known exploitation of OSV-2025-249 in the wild and no public exploit code.