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