USN-9070-1: Hiredis vulnerability

Publication date

12 November 2026

Overview

Hiredis could be made to crash if memory allocation failed.


Packages

  • hiredis - minimalistic C client library for Redis

Details

It was discovered that Hiredis did not check the return values of memory
allocation functions in some places, leading to a NULL pointer dereference.
An attacker could possibly use this issue to cause applications using
Hiredis to crash, resulting in a denial of service.

It was discovered that Hiredis did not check the return values of memory
allocation functions in some places, leading to a NULL pointer dereference.
An attacker could possibly use this issue to cause applications using
Hiredis to crash, resulting in a denial of service.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
18.04 LTS bionic libhiredis0.13 –  0.13.3-2.2ubuntu0.1~esm1  
16.04 LTS xenial libhiredis0.13 –  0.13.3-2ubuntu0.1~esm1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›