BSD Ports

png -- Out-of-bounds read

· CVE-2025-66293 · VuXML entry

https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f reports: Prior to 1.6.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in …

Affected versions

By system

1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlygraphics/png1.6.47 vulnerable since 2025-12-05
OpenBSDgraphics/png1.6.59 out of range, by version
NetBSDgraphics/png1.6.59 not listed
MidnightBSDgraphics/png1.6.59 out of range, by version
FreeBSDgraphics/png1.6.59_1 fixed (309 days after)