USN-9487-1

Source
https://ubuntu.com/security/notices/USN-9487-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9487-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-9487-1
Upstream
CVE (3)
Related
Published
2026-12-03T22:02:47Z
Modified
2026-12-05T10:13:23Z
Summary
libbson-xs-perl vulnerabilities
Details

It was discovered that the bundled libbson library in libbson-xs-perl did not correctly handle freeing memory in the bson_strfreev function, which could lead to an integer overflow. An attacker could possibly use this issue to cause libbson-xs-perl to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2024-6381)

It was discovered that the bundled libbson library in libbson-xs-perl did not correctly allocate memory in the bson_string_append function, which could lead to a buffer overflow. An attacker could possibly use this issue to cause libbson-xs-perl to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2024-6383)

It was discovered that the bundled libbson library in libbson-xs-perl did not correctly handle the maximum size of BSON documents in its bson_append functions, which could lead to a buffer overflow. An attacker could possibly use this issue to cause libbson-xs-perl to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2025-0755)

References

Affected packages

Ubuntu:22.04:LTS / libbson-xs-perl

Package

Name
libbson-xs-perl
Purl
pkg:deb/ubuntu/libbson-xs-perl?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.8.4-1+deb11u1build0.22.04.1

Affected versions

0.*
0.8.4-1build1
0.8.4-1build2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "libbson-xs-perl",
            "binary_version":  "0.8.4-1+deb11u1build0.22.04.1"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [
        {
            "id":  "CVE-2024-6381",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2024-6383",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        },
        {
            "id":  "CVE-2025-0755",
            "severity":  [
                {
                    "score":  "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                    "source":  "CNA",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "source":  "NVD",
                    "type":  "CVSS_V3"
                },
                {
                    "score":  "medium",
                    "source":  "SELF",
                    "type":  "Ubuntu"
                }
            ]
        }
    ],
    "ecosystem":  "Ubuntu:22.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9487-1.json"