{"id":"RSEC-2026-1","aliases":["RSEC-2026-1"],"related":["CVE-2026-25646"],"kind":"vulnerability","state":"published","title":"Risk of Buffer Overflow Vulnerability when installed from source on Windows R < 4.2","summary":"Installing the png package from source on Windows could download and install an older version of libpng that has known vulnerabilities.\nOn 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.\nWhere the vulnerable libpng is used, this represents a risk of buffer overflow when reading certain png files.","summaryFormat":"markdown","summarySource":"rsec","descriptions":[{"lang":"en","text":"Installing the png package from source on Windows could download and install an older version of libpng that has known vulnerabilities.\nOn 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.\nWhere the vulnerable libpng is used, this represents a risk of buffer overflow when reading certain png files.","format":"markdown","source":"rsec"}],"published":"2026-03-13T20:45:00.000Z","modified":"2026-03-26T23:00:06.560Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0.1-3","status":"affected","fixed":"0.1-9"}],"ecosystem":"CRAN","package":"png","purl":"pkg:cran/png","source":"rsec"}],"references":[{"url":"https://github.com/s-u/png/issues/8","tags":["web"],"sources":["rsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25646","tags":["web"],"sources":["rsec"]},{"url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3","tags":["web"],"sources":["rsec"]}],"credits":[],"sources":[{"source":"rsec","name":"R Consortium Advisory Database","id":"RSEC-2026-1","url":"https://osv.dev/vulnerability/RSEC-2026-1","licence":"Apache-2.0","modified":"2026-03-26T23:00:06.560Z"}],"updatedAt":"2026-11-25T22:56:16.497Z"}