OSV-2025-266 Heap-buffer-overflow in lj_buf_ruleb128

Not scored Published

A heap-buffer-overflow in the LuaJIT bytecode reader allows attackers to cause crashes or potentially execute arbitrary code via malicious bytecode.

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

OSV-2025-266 is a memory corruption vulnerability in tarantool, published on 8 Apr 2025.

Official description

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

Crash type: Heap-buffer-overflow READ 1
Crash state:
lj_buf_ruleb128
lj_bcread
cpparser

Which versions are affected by OSV-2025-266?

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

PackageAffectedFixed in
tarantool OSS-FuzzAll versionsNone

How do I fix OSV-2025-266?

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

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

Sources

Is OSV-2025-266 in your software?

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

Check your SBOMs for free