Skip to content
Noroxi
CVE-2014-5461· NVD / CVE Program· CNA redhat

Buffer overflow in the vararg functions in ldo.c in Lua 5.1 through 5.2.x before 5.2.3 allows context-dependent attackers to cause a denial

Buffer overflow in the vararg functions in ldo.c in Lua 5.1 through 5.2.x before 5.2.3 allows context-dependent attackers to cause a denial of service (crash) via a small number of arguments to a function with a large number of fixed arguments.

MediumCVSS 5.0 · v2.0—No exploit Fix available
Published
Sep 4, 2014
Updated
Jun 16, 2026
EPSS
11.7% · 96th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

24

Monitor

Low priority for now.

CVSS
20 / 40 · 5.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
4 / 30 · 11.7%

Affected systems

VendorProduct
lualua
opensuseopensuse
canonicalubuntu linux
debiandebian linux
mageiamageia

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • debian debian linux7.0
  • lua lua5.1
  • lua lua5.1.1
  • lua lua5.1.2
  • lua lua5.1.3
  • lua lua5.1.4
  • lua lua5.1.5
  • lua lua5.2.0
  • lua lua5.2.1
  • lua lua5.2.2
  • mageia mageia3.0
  • mageia mageia4.0
  • opensuse opensuse12.3
  • opensuse opensuse13.1

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12lua5.1before 5.1.5-75.1.5-7
Debian:12lua5.2before 5.2.3-15.2.3-1
Debian:6.0lua5.1before 5.1.4-5+deb6u15.1.4-5+deb6u1
Debian:7lua5.1before 5.1.5-4+deb7u15.1.5-4+deb7u1
Debian:7lua5.2before 5.2.1-3+deb7u15.2.1-3+deb7u1
openSUSE:Tumbleweedmoarvmbefore 2025.05-1.12025.05-1.1

Same product

lua: all records

Other highest-scoring records for the same primary product.

  • CVE-2020-15889Lua 5.4.0 has a getobjname heap-based buffer over-read because youngcollection in lgc.c uses markold for an insufficient number of list memb
    40Plan
  • CVE-2022-28805singlevar in lparser.c in Lua from (including) 5.4.0 up to (excluding) 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based
    37Monitor
  • CVE-2020-15888Lua through 5.4.0 mishandles the interaction between stack resizes and garbage collection, leading to a heap-based buffer overflow, heap-bas
    36Monitor
  • CVE-2019-6706Lua 5.3.5 has a use-after-free in lua_upvaluejoin in lapi.c.
    35Monitor
  • CVE-2022-33099An issue in the component luaG_runerror of Lua v5.4.4 and below leads to a heap-buffer overflow when a recursive error occurs.
    31Monitor
  • CVE-2020-24369ldebug.c in Lua 5.4.0 attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Debian:lua5.15.1.5-7 · Debian:12Package registry (OSV)
Debian:lua5.25.2.3-1 · Debian:12Package registry (OSV)
openSUSE:moarvm2025.05-1.1 · openSUSE:TumbleweedPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
None
Integrity impact
None
Availability impact
P

CVSS vector

AV:N/AC:L/Au:N/C:N/I:N/A:P

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records