# CVE-2026-96749: pymongo: An integer overflow in the BSON document encoding component of the MongoDB Python Driver's bundled native extension m...

CVE-2026-96749 is fixed in 10 products on 1 platform, first by SUSE-SU-2026:4398-1, released September 29, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-96749
- Priority: High
- CVSS: n/a (important)
- EPSS: 0.0019
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 24, 2026

## Description

An integer overflow in the BSON document encoding component of the MongoDB Python Driver's bundled native extension may occur when a single document is built from an unusually large amount of caller-supplied data. Size arithmetic is performed in a signed 32-bit type, and the guard meant to catch the overflow is written in a form whose behavior is not defined by the C language standard. A party with no privileges who can place a very large value into data that an application encodes may, depending on how the native extension was built, cause a write outside the bounds of an allocated buffer inside the application's own process.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | pymongo Debian 14 | 4.18.2-1 | [DEBIAN-CVE-2026-96749](https://patchblox.com/security/data/fix/linux/debian-cve-2026-96749.md) | Oct 12, 2026 |
| Linux | python-pymongo opensuse-leap 16.0 | 4.6.3-bp160.2.1 | [OPENSUSE-SU-2026:22003-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22003-1.md) | Sep 29, 2026 |
| Linux | python-pymongo sles 15.7 | 3.11.0-150300.3.6.1 | [SUSE-SU-2026:4398-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4398-1.md) | Sep 29, 2026 |
| Linux | python-pymongo-debuginfo amzn 2023 | 3.10.1-5.amzn2023.0.5 | [ALAS2023-2026-3155](https://patchblox.com/security/data/fix/linux/alas2023-2026-3155.md) | Nov 7, 2026 |
| Linux | python-pymongo-debugsource amzn 2023 | 3.10.1-5.amzn2023.0.5 | [ALAS2023-2026-3155](https://patchblox.com/security/data/fix/linux/alas2023-2026-3155.md) | Nov 7, 2026 |
| Linux | python-pymongo-doc amzn 2023 | 3.10.1-5.amzn2023.0.5 | [ALAS2023-2026-3155](https://patchblox.com/security/data/fix/linux/alas2023-2026-3155.md) | Nov 7, 2026 |
| Linux | python3-bson amzn 2023 | 3.10.1-5.amzn2023.0.5 | [ALAS2023-2026-3155](https://patchblox.com/security/data/fix/linux/alas2023-2026-3155.md) | Nov 7, 2026 |
| Linux | python3-bson-debuginfo amzn 2023 | 3.10.1-5.amzn2023.0.5 | [ALAS2023-2026-3155](https://patchblox.com/security/data/fix/linux/alas2023-2026-3155.md) | Nov 7, 2026 |
| Linux | python3-pymongo amzn 2023 | 3.10.1-5.amzn2023.0.5 | [ALAS2023-2026-3155](https://patchblox.com/security/data/fix/linux/alas2023-2026-3155.md) | Nov 7, 2026 |
| Linux | python3-pymongo-debuginfo amzn 2023 | 3.10.1-5.amzn2023.0.5 | [ALAS2023-2026-3155](https://patchblox.com/security/data/fix/linux/alas2023-2026-3155.md) | Nov 7, 2026 |
| Linux | python3-pymongo-gridfs amzn 2023 | 3.10.1-5.amzn2023.0.5 | [ALAS2023-2026-3155](https://patchblox.com/security/data/fix/linux/alas2023-2026-3155.md) | Nov 7, 2026 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
