See Yocto Project defect 8980 glibc defect 16962 nan function unbounded stack allocation https://sourceware.org/bugzilla/show_bug.cgi?id=16962 A stack overflow (unbounded alloca) can cause applications which process long strings with the nan function to crash or, potentially, execute arbitrary code.