# RSEC-2026-1: Risk of Buffer Overflow Vulnerability when installed from source on Windows R < 4.2

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-03-13T20:45:00.000Z
- Modified: 2026-03-26T23:00:06.560Z
- Related: CVE-2026-25646

## Description

Installing the png package from source on Windows could download and install an older version of libpng that has known vulnerabilities.
On Windows R versions < 4.2, building the png package will download an archived libpng 1.5.4 from 2011. Note that on R versions 4.2 or newer, libpng is bundled in the relevant Rtools42+ and is not downloaded during png package installation. Check the Rtools release notes to see if the vulnerability applies.
Where the vulnerable libpng is used, this represents a risk of buffer overflow when reading certain png files.

(As written by R Consortium Advisory Database.)

## Affected

- png (CRAN): from 0.1-3 before 0.1-9

## References

- <https://github.com/s-u/png/issues/8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25646> (web)
- <https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3> (web)

## Sources

- R Consortium Advisory Database: [RSEC-2026-1](https://osv.dev/vulnerability/RSEC-2026-1), Apache-2.0, modified 2026-03-26

---

Page: https://cve.day/RSEC-2026-1 · Whole record: https://cve.day/RSEC-2026-1.json · Rebuilt by cve.day 2026-11-25T22:56:16.497Z
