CVE-2025-49112
Redis vulnerability analysis and mitigation

Overview

CVE-2025-49112 is a security vulnerability discovered in Valkey through version 8.1.1. The vulnerability exists in the setDeferredReply function within networking.c, where an integer underflow condition can occur during the calculation of prev->size - prev->used. The vulnerability was disclosed on June 2, 2025 (NVD).

Technical details

The vulnerability is classified as an Integer Underflow (CWE-191) with a CVSS v3.1 Base Score of 3.1 (LOW). The vulnerability vector is CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L, indicating that it requires adjacent network access, has high attack complexity, requires no privileges, needs no user interaction, has unchanged scope, and can only impact availability at a low level (NVD).

Impact

The vulnerability affects the availability of the system at a low level. The integer underflow in the setDeferredReply function could potentially lead to memory corruption or system instability (Debian Tracker).

Mitigation and workarounds

A fix has been implemented in version 8.1.1+dfsg1-2 of the Valkey package. The fix involves explicitly checking that prev->used is less than prev->size before performing the subtraction, avoiding reliance on unsigned arithmetic and ensuring the logic is clear and robust (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related Redis vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-32023HIGH7.8
  • RedisRedis
  • cpe:2.3:a:redis:redis
NoYesJul 07, 2025
CVE-2025-48367HIGH7.5
  • RedisRedis
  • redis:6::redis-doc
NoYesJul 07, 2025
CVE-2025-9810MEDIUM6.8
  • RedisRedis
  • redis:7::redis-doc
NoYesSep 01, 2025
CVE-2025-46686LOW3.5
  • RedisRedis
  • redis
NoNoJul 23, 2025
CVE-2025-49112LOW3.1
  • RedisRedis
  • valkey-debuginfo
NoYesJun 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management