{
  "cveId": "CVE-2024-6381",
  "url": "https://patchblox.com/security/cve/CVE-2024-6381",
  "summary": "CVE-2024-6381 is fixed in 6 products on 1 platform, first by libbson-1.0-0 1.16.1-1ubuntu0.1~esm1, released July 2, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libbson-xs-perl: The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the functi...",
  "description": "The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. This issue affected libbson versions prior to 1.26.2",
  "published": "2024-07-02T11:15:00Z",
  "severity": "medium",
  "cvss": 5.3,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
  "epss": 0.00392,
  "epssPercentile": 0.33619,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libbson-1.0-0",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.16.1-1ubuntu0.1~esm1",
      "fix": "libbson-1.0-0 1.16.1-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libbson-1.0-0-1.16.1-1ubuntu0.1-esm1",
      "released": "2024-07-02T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libbson-1.0-0",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.21.0-1ubuntu0.1~esm1",
      "fix": "libbson-1.0-0 1.21.0-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libbson-1.0-0-1.21.0-1ubuntu0.1-esm1",
      "released": "2024-07-02T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libbson-1.0-0t64",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.26.0-1.1ubuntu2\u002Besm1",
      "fix": "libbson-1.0-0t64 1.26.0-1.1ubuntu2\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libbson-1.0-0t64-1.26.0-1.1ubuntu2-esm1",
      "released": "2025-03-18T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libbson-xs-perl",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "0.8.4-2\u002Bdeb12u1",
      "fix": "DEBIAN-CVE-2024-6381",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-6381",
      "released": "2024-07-02T18:15:03Z"
    },
    {
      "platform": "linux",
      "product": "libmongoc-1.0-0",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.16.1-1ubuntu0.1~esm1",
      "fix": "libmongoc-1.0-0 1.16.1-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libmongoc-1.0-0-1.16.1-1ubuntu0.1-esm1",
      "released": "2024-07-02T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libmongoc-1.0-0",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.21.0-1ubuntu0.1~esm1",
      "fix": "libmongoc-1.0-0 1.21.0-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libmongoc-1.0-0-1.21.0-1ubuntu0.1-esm1",
      "released": "2024-07-02T11:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libmongoc-1.0-0t64",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.26.0-1.1ubuntu2\u002Besm1",
      "fix": "libmongoc-1.0-0t64 1.26.0-1.1ubuntu2\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libmongoc-1.0-0t64-1.26.0-1.1ubuntu2-esm1",
      "released": "2025-03-18T02:15:00Z"
    },
    {
      "platform": "linux",
      "product": "mongo-c-driver",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "1.23.1-1\u002Bdeb12u1",
      "fix": "DEBIAN-CVE-2024-6381",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-6381",
      "released": "2024-07-02T18:15:03Z"
    },
    {
      "platform": "linux",
      "product": "mongo-c-driver",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.26.2-1",
      "fix": "DEBIAN-CVE-2024-6381",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-6381",
      "released": "2024-07-02T18:15:03Z"
    },
    {
      "platform": "linux",
      "product": "mongo-c-driver",
      "release": "Debian 14",
      "fixedVersion": "1.26.2-1",
      "fix": "DEBIAN-CVE-2024-6381",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-6381",
      "released": "2024-07-02T18:15:03Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}