NULL Pointer Dereference Affecting tencent.rapidjson package, versions [0,]

  • Attack Complexity


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-id


  • published

    30 Jul 2021

  • disclosed

    30 Apr 2021

  • credit

    @mpumford, @WinCInn, @leeyiw

How to fix?

There is no fixed version for tencent.rapidjson.


tencent.rapidjson is a fast JSON parser/generator for C++ with both SAX/DOM style API

Affected versions of this package are vulnerable to NULL Pointer Dereference as rapidjson::Stack can dereference NULL pointer. The root cause of the problem is that there are no checks for when allocators (Malloc, Realloc) return null.