USN-9487-1: libbson-xs-perl vulnerabilities

Published Dec 3, 2026
·
Updated

It was discovered that the bundled libbson library in libbson-xs-perl did not correctly handle freeing memory in the bsonstrfreev 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 bsonstringappend 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 bsonappend 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)

Affected Software

3 affected componentsFixes available
ubuntu/libbson-xs-perl<0.8.4-1+deb11u1build0.22.04.1
0.8.4-1+deb11u1build0.22.04.1
All of the following
ubuntu/libbson-xs-perl<0.8.4-1+deb11u1build0.22.04.1
0.8.4-1+deb11u1build0.22.04.1
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/libbson-xs-perl to a version that resolves this vulnerability.

    Fixed in 0.8.4-1+deb11u1build0.22.04.1

Event History

Dec 3, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Advisory Published
via OSV·10:02 PM
Data Sourced
via OSV·10:02 PM
DescriptionAffected Software

Frequently Asked Questions

1

Does this affect a separately installed libbson library or code included with the Perl package?

The affected libbson code is bundled with libbson-xs-perl. The notice identifies memory-handling flaws in bson_strfreev, bson_string_append, and bson_append functions.

2

Should crashes associated with this issue be treated only as a denial-of-service event?

No. The reported flaws can cause crashes and may also allow arbitrary code execution, so affected incidents should be assessed for both availability impact and potential compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203