CVE-2025-40906
Linux Debian vulnerability analysis and mitigation

Overview

BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which contains multiple security vulnerabilities. This vulnerability was disclosed on May 16, 2025. BSON-XS, which was the official Perl XS implementation of MongoDB's BSON serialization, has reached its end of life as of August 13, 2020, and is no longer supported (NVD, MongoDB EOL).

Technical details

The vulnerability encompasses several critical security issues in the bundled libbson 1.1.7 library, including CVE-2017-14227, CVE-2018-16790, CVE-2023-0437, CVE-2024-6381, CVE-2024-6383, and CVE-2025-0755. The CVSS v3.1 base score is 9.8 (CRITICAL) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The vulnerability is classified under CWE-1104 (Use of Unmaintained Third Party Components) (NVD, Debian LTS).

Impact

The vulnerabilities in the bundled libbson library can lead to multiple severe security issues including heap-based buffer over-read, infinite loops, memory corruption, buffer overflows, and potential application crashes. These issues could result in denial of service, remote code execution, or information disclosure (Debian LTS).

Mitigation and workarounds

For Debian 11 bullseye, these vulnerabilities have been fixed in version 0.8.4-1+deb11u1. Users are strongly recommended to upgrade their libbson-xs-perl packages. However, since BSON-XS has reached end-of-life status, users should consider migrating to alternative supported BSON implementations (Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22857MEDIUM6.8
  • Linux DebianLinux Debian
  • freerdp-plugins
NoNoJan 14, 2026
CVE-2026-22856MEDIUM6.8
  • Linux DebianLinux Debian
  • freerdp2
NoNoJan 14, 2026
CVE-2026-22859MEDIUM5.6
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 14, 2026
CVE-2026-22858MEDIUM5.6
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 14, 2026
CVE-2026-22036LOW3.7
  • JavaScriptJavaScript
  • node-undici
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management