CVE-2025-40906
Description
BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities. Those include CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381, CVE-2024-6383, and CVE-2025-0755. BSON-XS was the official Perl XS implementation of MongoDB's BSON serialization, but this distribution has reached its end of life as of August 13, 2020 and is no longer supported.
Description as published by the source, in English.
Key facts
- Published
- 2025-05-16
- Last modified
- 2026-06-17
- Assigned by
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- 134c704f-9b21-4f2e-91b3-4a467353bcc0
- Probability of exploitation
-
0.5 %
higher than 42 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| MONGODB | BSON::XS | ≥ 0, ≤ 0.8.4 | Affected |
Weakness type
-
CWE-1104: Use of Unmaintained Third Party Components
The product relies on third-party components that are not actively supported or maintained by the original developer or a trusted proxy for the original developer.
-
CWE-122: Heap-based Buffer Overflow
The product writes past the end of a buffer that was allocated on the heap.
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
References
- https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html
- https://www.mongodb.com/community/forums/t/mongodb-perl-driver-end-of-life/7890
Related at Berigo
Articles
-
The industrial software shipped with a database that went out of date years ago
Same product
2026-08-07
CISA published three new industrial control system advisories on 6 August 2026. The weightiest concerns ABB Ability Zenon, where the IIoT services in…
-
Critical flaw in Ruflo gave command execution through an open MCP bridge
Same product
2026-08-03
Noma Labs published CVE-2026-59726 on 29 July 2026, a vulnerability scoring 10.0 in Ruflo, a platform for orchestrating AI agents. In the default set…
-
Critical Ruflo vulnerability gives command execution without login
Same product
2026-07-31
On 29 July 2026 Noma Labs disclosed CVE-2026-59726, a vulnerability scored 10.0 in Ruflo. In the default Docker Compose deployment the platform MCP b…
-
PCPJack spreads through cloud estates and steals credentials
Same product
2026-05-08
SentinelLABS has identified PCPJack, a framework that spreads between exposed cloud services and harvests credentials at scale.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.