An integer overflow in the PngImg::InitStorage_() function of png-img before 3.1.0 leads…
Priority MEDIUM 42CWE-190Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.02216 82nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed png-img (npm): 3.1.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | png-img (npm) | before 3.1.0 | 3.1.0 | Patch available | GHSA-q5wr-fvpq-p67g |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- png-img (npm) Vendor— Affected before 3.1.0 Fixed in 3.1.0 Patch available GHSA-q5wr-fvpq-p67g
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:png-img_project:png-img:*:*:*:*:*:*:*:* | before 3.1.0 | Vulnerable | Png-img Project |
- cpe:2.3:a:png-img_project:png-img:*:*:*:*:*:*:*:* Versions before 3.1.0 Vulnerable ·Png-img Project
Remediation
- Fix · GHSA-q5wr-fvpq-p67g png-img (npm) Fixed in 3.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-28248
- 2026-10-03 Alias added: GHSA-q5wr-fvpq-p67g
References
Advisory 2
Sources
- CVE-2020-28248 · CVE Program
- CVE-2020-28248 · NVD
- FIRST EPSS
- GHSA-q5wr-fvpq-p67g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences