USN-8160-1: MongoDB vulnerability

Publication date

9 April 2026

Overview

MongoDB could be made to expose sensitive information over the network.


Packages

  • mongodb - object/document-oriented database

Details

It was discovered that MongoDB incorrectly handled length parameters
in zlib-compressed network messages prior to authentication. An
unauthenticated remote attacker could possibly use this issue to
cause MongoDB to allocate an oversized memory buffer, resulting
in the exposure of sensitive information.

It was discovered that MongoDB incorrectly handled length parameters
in zlib-compressed network messages prior to authentication. An
unauthenticated remote attacker could possibly use this issue to
cause MongoDB to allocate an oversized memory buffer, resulting
in the exposure of sensitive information.

Update instructions

After a standard system update you need to restart the mongodb service to 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
20.04 LTS focal mongodb –  1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1  
mongodb-clients –  1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1  
mongodb-server –  1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1  
mongodb-server-core –  1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1  
18.04 LTS bionic mongodb –  1:3.6.3-0ubuntu1.4+esm2  
mongodb-clients –  1:3.6.3-0ubuntu1.4+esm2  
mongodb-server –  1:3.6.3-0ubuntu1.4+esm2  
mongodb-server-core –  1:3.6.3-0ubuntu1.4+esm2  

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 ›