Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2024-5629

High · CVSS 8.1EPSS 0.7% First seen December 02, 2026
LinuxOperating systemsVulnerabilities

Summary

It was discovered that PyMongo incorrectly handled malformed BSON data received from a server. A malicious server could possibly use this issue to obtain sensitive information from application memory. This issue only affected Ubuntu 14.04 LTS. (CVE-2024-5629) It was discovered that PyMongo incorrectly handled file identifiers in GridFS, which could cause them to be interpreted as query conditions…

Excerpt from Ubuntu USN. No official description has been published yet.

Severity breakdown

High · 8.1 CVSS 3.1 base score from NVD

An attacker without an account can exploit this over the network if a user is tricked into an action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
yes, someone must click, open or visit something
Scope
stays within the vulnerable component
Impact
high on confidentiality and availability, none on integrity

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Weakness

Affected and fixed versions

ProductAffected versionsFixed in
MongoDB Inc PyMongo≤ 4.6.2—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2024-5629?

It was discovered that PyMongo incorrectly handled malformed BSON data received from a server. A malicious server could possibly use this issue to obtain sensitive information from application memory. This issue only affected Ubuntu 14.04 LTS. (CVE-2024-5629) It was discovered that PyMongo incorrectly handled file identifiers in GridFS, which could cause them to be interpreted as query conditions… Weakness type: Out-of-bounds Read (CWE-125).

How severe is CVE-2024-5629?

CVE-2024-5629 has a CVSS 3.1 base score of 8.1 (high), from NVD. An attacker without an account can exploit this over the network if a user is tricked into an action.

Is CVE-2024-5629 being exploited?

Not as far as is known: CVE-2024-5629 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2024-5629?

MongoDB Inc PyMongo ≤ 4.6.2.

How do I fix CVE-2024-5629?

Follow the advisories and patches linked on this page under References for fixed versions and workarounds.

Timeline & sources

References

Related vulnerabilities & news