BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-46981 in Debian Linux and 1 more product

Critical 9.8

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS6.6%
EPSS percentile95th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 11.0
Redis Redis ≥ 6.2.0, < 6.2.17 ≥ 7.2.0, < 7.2.7 ≥ 7.4.0, < 7.4.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-46981
BreachSpider IDBS-2025-GLOBAL-268945-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2025-01-06
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

CVE-2024-46981 affects Redis, an open-source in-memory database, allowing an authenticated user to execute a specially crafted Lua script that can manipulate the garbage collector, potentially leading to remote code execution. The vulnerability is fixed in versions 7.4.2, 7.2.7, and 6.2.17. A workaround involves restricting the EVAL and EVALSHA commands using ACLs.

An authenticated user can exploit this vulnerability by executing a specially crafted Lua script, which manipulates the garbage collector and can lead to remote code execution. The attack can be performed over the network with low complexity and no user interaction required.

Compensating controls AI-drafted, review before use

Implement Access Control Lists (ACLs) to restrict the EVAL and EVALSHA commands, preventing users from executing Lua scripts.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2024-46981?

CVE-2024-46981 affects Redis, an open-source in-memory database, allowing an authenticated user to execute a specially crafted Lua script that can manipulate the garbage collector, potentially leading to remote code execution. The vulnerability is fixed in versions 7.4.2, 7.2.7, and 6.2.17. A workaround involves restricting the EVAL and EVALSHA commands using ACLs.

What is the CVSS score for CVE-2024-46981?

CVE-2024-46981 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 6.6%.

Is CVE-2024-46981 actively exploited?

No confirmed active exploitation of CVE-2024-46981 as of 2026-09-25.

How do I remediate CVE-2024-46981?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-46981?

CVE-2024-46981 affects Debian Debian Linux; Redis Redis.

What NERC-CIP standard applies to CVE-2024-46981?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows an authenticated user to execute arbitrary code, which can compromise the security of the control system and potentially affect the reliability of the bulk electric system.

What IEC 62443 requirement maps to CVE-2024-46981?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves the execution of unauthorized code, which can compromise the integrity and availability of the industrial control system, violating the security requirements for application control.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.