Out-of-bounds Read Affecting libbson-xs-perl package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-LIBBSONXSPERL-10006637
  • published4 May 2025
  • disclosed9 Sept 2017

Introduced: 9 Sep 2017

CVE-2017-14227  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 libbson-xs-perl.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libbson-xs-perl package and not the libbson-xs-perl package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.