Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsLearn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.
Start learningA fix was pushed into the master branch but not yet published.
Affected versions of this package are vulnerable to Integer Overflow or Wraparound in the regular expression compiler in regcomp.c and regint.h, caused by an integer overflow in the compiled-program size. An attacker can drive the compiled program past the range its int offset accounting can address so that a bulk BBUF_ADD write lands beyond the program buffer, by compiling a large pattern, allowing remote code execution. Exploitation requires an application to compile a regular expression built from attacker-controlled input large enough to overflow the size accounting.