Ubuntu 22.04 LTS : libbson-xs-perl vulnerabilities (USN-9487-1)

medium Nessus Plugin ID 394205

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 22.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-9487-1 advisory.

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)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected libbson-xs-perl package.

See Also

https://ubuntu.com/security/CVE-2024-6381

https://ubuntu.com/security/CVE-2024-6383

https://ubuntu.com/security/CVE-2025-0755

https://ubuntu.com/security/notices/USN-9487-1

Plugin Details

Severity: Medium

ID: 394205

File Name: ubuntu_USN-9487-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/5/2026

Updated: 12/5/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2024-6381

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libbson-xs-perl

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 12/3/2026

Vulnerability Publication Date: 7/2/2024

Reference Information

CVE: CVE-2024-6381, CVE-2024-6383, CVE-2025-0755

USN: 9487-1