BSD Ports

png -- CWE-122: Heap-based Buffer Overflow

· CVE-2026-25646 · VuXML entry

https://github.com/pnggroup/libpng/security/advisories/GHSA-g8hp-mq4h-rqm3 reports: LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.55, an out-of-bounds read vulnerability exists in the png_set_quantize() API function. When the function is called with no histogram and the number of colors in the palette is more …

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 2026-02-16
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 (236 days after)