Description
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | duo-unix | No fix yet | — |
| Debian 12 | duo-unix | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | duo-unix | No fix yet | — |
| Ubuntu 26.04 LTS | duo-unix | No fix yet | — |
| Ubuntu 25.10 | duo-unix | No fix yet | — |
| Ubuntu 24.04 LTS | duo-unix | No fix yet | — |
| Ubuntu 22.04 LTS | duo-unix | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | duo-unix | No fix yet | — |
| Ubuntu 20.04 LTS | whoopsie | 0.2.69ubuntu0.1 | USN-4450-1 |
| Ubuntu 18.04 LTS | duo-unix | No fix yet | — |
| Ubuntu 18.04 LTS | whoopsie | 0.2.62ubuntu0.5 | USN-4450-1 |
| Ubuntu 16.04 LTS | duo-unix | No fix yet | — |
| Ubuntu 16.04 LTS | whoopsie | 0.2.52.5ubuntu0.5 | USN-4450-1 |
Advisories 1
- USN-4450-1 whoopsie vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026