Advisories for Npm/Png-Img package

2021

Integer Overflow or Wraparound

An integer overflow in the PngImg::InitStorage_() function of png-img leads to an under-allocation of heap memory and subsequently an exploitable heap-based buffer overflow when loading a crafted PNG file.