CVE-2025-40906
published critical CVSS 3.1 · 9.8BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MONGODB | — | BSON-XSBSON::XS · 0 through 0.8.4 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MONGODB | BSON::XS | 0 through 0.8.4 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
4- CWE-1395 CWE-1395 Dependency on Vulnerable Third-Party Component
- CWE-1104 CWE-1104 Use of Unmaintained Third Party Components
- CWE-122 CWE-122 Heap-based Buffer Overflow
- CWE-190 CWE-190 Integer Overflow or Wraparound
References
2Provider assertions
2CPANSec · cna
BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5a9f59d4ac43a8ecb56094942e6b812e37eebeb0f178c007f4456f84f70e7923
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record