CVE-2025-40906 in August products
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 ...
Affects 0 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| August | — | — |
| Distribution | — | — |
| Mongodb | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40906 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-039772-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-05-16 |
| Last modified | 2026-04-15 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-122: Heap-Based Buffer Overflow
Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
CWE-1104: CWE-1104
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-122, CWE-190
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
BSON::XS versions 0.8.4 and earlier for Perl include a bundled libbson 1.1.7 with multiple vulnerabilities, including CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381, CVE-2024-6383, and CVE-2025-0755. The distribution has reached its end of life and is no longer supported.
Attackers can exploit these vulnerabilities to cause a denial of service, execute arbitrary code, or access sensitive information. The vulnerabilities are primarily related to improper handling of BSON data, leading to buffer overflows and memory corruption.
Questions
What is CVE-2025-40906?
BSON::XS versions 0.8.4 and earlier for Perl include a bundled libbson 1.1.7 with multiple vulnerabilities, including CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381, CVE-2024-6383, and CVE-2025-0755. The distribution has reached its end of life and is no longer supported.
What is the CVSS score for CVE-2025-40906?
CVE-2025-40906 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.1%.
Is CVE-2025-40906 actively exploited?
No confirmed active exploitation of CVE-2025-40906 as of 2026-05-30.
How do I remediate CVE-2025-40906?
Priority: IMMEDIATE.
What systems are affected by CVE-2025-40906?
CVE-2025-40906 affects August; Distribution; Mongodb.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"August","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.