BSD Ports

Vulnerable: version 1.6.59 is affected by 2 known vulnerabilities. See below.

graphics/png 1.6.59 NetBSD

Library for manipulating PNG images

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
32b0768a1a
License
zlib
Categories
graphics
Package size
231.2 KiB, 1056.7 KiB installed

Description

Libpng was written as a companion to the PNG specification, as a way to reduce the amount of time and effort it takes to support the PNG file format in application programs. Most users will not have to modify the library significantly; advanced users may want to modify it more. The library was coded for both users. All attempts were made to make it as complete as possible, while keeping the code easy to understand. Currently, this library only supports C. Support for other languages is being considered.

In the other systems

SystemPortVersion
NetBSDgraphics/png1.6.59
FreeBSDgraphics/png1.6.59_1
OpenBSDgraphics/png1.6.59
DragonFlygraphics/png1.6.47
MidnightBSDgraphics/png1.6.59
HardenedBSDgraphics/png1.6.58
GhostBSDgraphics/png1.6.58
OPNsensegraphics/png1.6.58

Install

Binary package:

pkgin install png

From pkgsrc:

cd /usr/pkgsrc/graphics/png && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.6.59
NetBSD 10.1 aarch641.6.58nb1
SmartOS / illumos x86_641.6.59
macOS 15 arm641.6.59

Dependencies

Required by 456

The first 100 are listed.

Known vulnerabilities 2

Commit history 2

DateCommitCreditsLog message
32b0768a1a wiz png: update to 1.6.59.
Version 1.6.59 [September 28, 2026] Fixed CVE-2026-46675 (medium severity): Use-after-free of zlib input in `png_read_end` after incomplete zTXt, iTXt or iCCP decompression. (Reported independently by Ze Sheng and <[email protected]>.) Fixed a regression introduced in version 1.6.47 that caused libpng to reject hIST chunks in their correct position, after PLTE. (Contributed by Yuki Sekiguchi.) Prevented a double free of `png_struct` members after an allocation failure. (Contributed by Anthony Hurtado.) Applied fixes and updates to the CMake build. Adopted the REUSE Specification for licensing the CI files.
875dbc2057 wiz mk: switch the default for PATCH_DIST_STRIP from -p0 to -p1
adapt packages that didn't set PATCH_DIST_STRIP to use -p0, and remove the -p1 lines