Repository navigation
Fix Lua remote code execution (CVE-2025-49844, CVE-2025-46819, CVE-2025-46817)) - #918
Open
KIMDONGYEON00 wants to merge 4 commits into
Open
KIMDONGYEON00 wants to merge 4 commits into
KIMDONGYEON00 wants to merge 4 commits into
Conversation
Fix CVE-2025-49844
emilseman
approved these changes
Oct 13, 2025
dhemob
approved these changes
Oct 14, 2025
LUA out-of-bound read (CVE-2025-46819)
Fix Lua Library (CVE-2025-46817)
Fix Lua Library (CVE-2025-46817)
1 of 13 tasks
github-merge-queue Bot
pushed a commit
to NixOS/nixpkgs
that referenced
this pull request
Nov 13, 2025
The keydb package is broken [1], vulnerable [2], and upstream's last release was in October 2023 [3]. [1] https://hydra.nixos.org/build/311470939/nixlog/2 [2] Snapchat/KeyDB#918 [3] https://github.com/Snapchat/KeyDB/releases
KlettIT
pushed a commit
to KlettIT/KeyDB
that referenced
this pull request
Sep 28, 2026
Security fixes (backported from upstream PRs/issues): - PR Snapchat#918: Fix Lua RCE (CVE-2025-49844, CVE-2025-46819, CVE-2025-46817) - lbaselib.c: safe unpack overflow check - llex.c: skip_sep returns size_t, fixes OOB in long string - lparser.c: fix use-after-free in luaY_parser - ltable.c: simplify luaH_getnum bounds check - PR Snapchat#908: Fix listen before chmod on Unix sockets (CVE-2023-45145) - anet.c: chmod before listen in anetListen() - Issue Snapchat#905: Fix Lua integer overflow (CVE-2024-31449) - lua_bit.c: clamp INT32_MIN in bit_tohex CI changes: - PR Snapchat#789: Fix backtick command substitutions in Dockerfiles - Remove legacy .github/workflows/ci.yml - Add docker-ci.yml: build multi-arch Docker image, push to ghcr.io/KlettIT/keydb with smoke-test, GHA layer cache - Add packages-ci.yml: build deb (Ubuntu 20.04/22.04/24.04, Debian 11/12) and rpm (RHEL 8/9, Fedora 40), upload as artifacts - Add Dockerfile.ci: slim CI Dockerfile using pre-built binaries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CVE-2025-29844
Redis versions 8.2.1 and below are vulnerable to remote code execution via a specially crafted Lua script that manipulates the garbage collector to trigger use-after-free.
Fixed in version 8.2.2. Workaround: Use ACL to restrict EVAL and EVALSHA commands.
CVE-2025-49844
Reference
CVE-2025-46819
Redis versions 8.2.1 and below allow an authenticated user to use a specially crafted LUA script to read out-of-bound data or crash the server and subsequent denial of service.
CVE-2025-46819
Reference
CVE-2025-46817
Redis versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to cause an integer overflow and potentially lead to remote code execution
CVE-2025-46817
Reference