CVE-2025-52935
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2025-06-23

Last updated on: 2025-06-23

Assigner: Government Technology Agency of Singapore Cyber Security Group (GovTech CSG)

Description
Integer Overflow or Wraparound vulnerability in dragonflydb dragonfly (src/redis/lua/struct modules). This vulnerability is associated with program files lua_struct.C. This issue affects dragonfly: 1.30.1, 1.30.0, 1.28.18.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-23
Last Modified
2025-06-23
Generated
2026-05-07
AI Q&A
2025-06-23
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is an Integer Overflow or Wraparound issue in the DragonflyDB project, specifically in the Lua struct module (src/redis/lua/struct modules). It arises from cloned functions originally derived from Redis that had not received necessary security patches. The vulnerability involves unsafe handling of numeric parsing in the Lua struct code, which could lead to integer overflow conditions. The fix involved changing the internal parsing function to remove Lua state dependencies and improve error handling, thereby preventing exploitation through these cloned but unpatched functions. [1, 2]


How can this vulnerability impact me? :

This vulnerability can lead to serious security risks due to integer overflow or wraparound, potentially allowing attackers to cause unexpected behavior or crashes in DragonflyDB. Given the high CVSS score (9.4), it indicates a critical impact with network attack vector and low complexity, meaning an attacker with limited privileges could exploit it remotely without user interaction. This could compromise the availability, integrity, and confidentiality of the database service. [1, 2]


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should update DragonflyDB to a version that includes the security patch fixing CVE-2025-52935. The patch addresses the integer overflow issue in the lua_struct.c file by applying fixes originally made in Redis and improving internal function handling to prevent exploitation. Ensuring your DragonflyDB deployment is updated to a patched version (post-fix commit 473e002c848eb312f23d84114eb4951a7c4af5a1) will mitigate the risk. [1, 2]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart