~ / search / GHSA-q5wr-fvpq-p67g

GHSA-q5wr-fvpq-p67g

Integer Overflow in png-img

Source: GitHub Advisory Database (reviewed) High CVE-2020-28248

Packages

EcosystemPackageAffectedFixed in
npm png-img < 3.1.0 3.1.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

References

External links from the advisory. They lead to third-party sites.