9.8

CVE-2025-40906: mongodb bson::xs

CVSS: 9.8v3.1CriticalDeferred
AliasesUBUNTU-CVE-2025-40906DEBIAN-CVE-2025-40906
Published 16-05-2025Last modified 09-09-2025

Vulnerability summary

CVE-2025-40906 is a critical (CVSS 9.8) vulnerability in mongodb bson::xs. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 49.4% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.64%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 16-05-2025
    PublishedVulnerability first disclosed.
  2. 09-09-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.64%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

+0.03 pp

From 0.61% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.64%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libbson-xs-perlAll versions (No fix recorded)
Mongodb1 product
  • bson::xs≤ 0.8.4
Ubuntu1 product
  • libbson-xs-perlAll versions (No fix recorded)

3 vendors · 3 products

References

6 links