CVE-2025-40906CWE-1104CWE-122CWE-1395CWE-190

BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities

Critical · published May 16, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
49.8
In the wild
Unconfirmed
What it is

🔥 If you're using BSON::XS version 0.8.4 or earlier, you're sitting on a ticking time bomb of vulnerabilities! Think of it like a subscription service that keeps sending you problematic products long after you've canceled; you’re stuck with old, dangerous items cluttering your space. Each bundled libbson vulnerability is like a nasty surprise in your now-defunct subscription box! An attacker could exploit any of these vulnerabilities to compromise your Perl applications, potentially leading to unauthorized access, data leaks, or complete system takeover. With a CVSS score of 9.8, the severity is absolutely critical — it’s like leaving the front door wide open for intruders!

Put simply

Think of it like a subscription service that keeps sending you problematic products long after you've canceled; you’re stuck with old, dangerous items cluttering your space. Each bundled libbson vulnerability is like a nasty surprise in your now-defunct subscription box! This vulnerability arises from multiple flaws within libbson, bundled with BSON::XS. With an outdated library that's reached end-of-life, attackers could leverage any of these unpatched vulnerabilities to manipulate or access sensitive data.

What to do

An attacker could exploit any of these vulnerabilities to compromise your Perl applications, potentially leading to unauthorized access, data leaks, or complete system takeover. With a CVSS score of 9.8, the severity is absolutely critical — it’s like leaving the front door wide open for intruders! Upgrade BSON::XS to at least version 0.8.5 to pull in the necessary security fixes. If you're still relying on this library, consider migrating to a supported alternative since it's no longer maintained as of August 2020. Don't delay — time to scrub that old code! You’ve got this! Secure your Perl applications now and emerge as the hero of your codebase! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00635 · 49.8th percentile
Weaknesses
CWE-1104 · Use of Unmaintained Third Party Components; CWE-122 · Heap-based Buffer Overflow; CWE-1395 · Dependency on Vulnerable Third-Party Component; CWE-190 · Integer Overflow or Wraparound
Published
2025-05-16T15:15Z
EPSS history
Timeline
  • 16 MAY 15:15Z
    BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities
    cvelistv5