Skip to content

Commit 49363ad

Browse files
committed
Release libpng version 1.6.51
1 parent 869ed49 commit 49363ad

File tree

17 files changed

+95
-64
lines changed

17 files changed

+95
-64
lines changed

ANNOUNCE

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
libpng 1.6.51.git
2-
=================
3-
4-
This is a development version, not intended to be a public release.
5-
It will be replaced by a public release, or by another development
6-
version, at a later time.
7-
8-
9-
libpng 1.6.50 - July 1, 2025
10-
============================
1+
libpng 1.6.51 - November 21, 2025
2+
=================================
113

124
This is a public release of libpng, intended for use in production code.
135

@@ -17,13 +9,13 @@ Files available for download
179

1810
Source files with LF line endings (for Unix/Linux):
1911

20-
* libpng-1.6.50.tar.xz (LZMA-compressed, recommended)
21-
* libpng-1.6.50.tar.gz (deflate-compressed)
12+
* libpng-1.6.51.tar.xz (LZMA-compressed, recommended)
13+
* libpng-1.6.51.tar.gz (deflate-compressed)
2214

2315
Source files with CRLF line endings (for Windows):
2416

25-
* lpng1650.7z (LZMA-compressed, recommended)
26-
* lpng1650.zip (deflate-compressed)
17+
* lpng1651.7z (LZMA-compressed, recommended)
18+
* lpng1651.zip (deflate-compressed)
2719

2820
Other information:
2921

@@ -33,18 +25,33 @@ Other information:
3325
* TRADEMARK.md
3426

3527

36-
Changes from version 1.6.49 to version 1.6.50
28+
Changes from version 1.6.50 to version 1.6.51
3729
---------------------------------------------
3830

39-
* Improved the detection of the RVV Extension on the RISC-V platform.
40-
(Contributed by Filip Wasil)
41-
* Replaced inline ASM with C intrinsics in the RVV code.
42-
(Contributed by Filip Wasil)
43-
* Fixed a decoder defect in which unknown chunks trailing IDAT, set
44-
to go through the unknown chunk handler, incorrectly triggered
45-
out-of-place IEND errors.
46-
(Contributed by John Bowler)
47-
* Fixed the CMake file for cross-platform builds that require `libm`.
31+
* Fixed CVE-2025-64505 (moderate severity):
32+
Heap buffer overflow in `png_do_quantize` via malformed palette index.
33+
(Reported by Samsung; analyzed by Fabio Gritti.)
34+
* Fixed CVE-2025-64506 (moderate severity):
35+
Heap buffer over-read in `png_write_image_8bit` with 8-bit input and
36+
`convert_to_8bit` enabled.
37+
(Reported by Samsung and <[email protected]>;
38+
analyzed by Fabio Gritti.)
39+
* Fixed CVE-2025-64720 (high severity):
40+
Buffer overflow in `png_image_read_composite` via incorrect palette
41+
premultiplication.
42+
(Reported by Samsung; analyzed by John Bowler.)
43+
* Fixed CVE-2025-65018 (high severity):
44+
Heap buffer overflow in `png_combine_row` triggered via
45+
`png_image_finish_read`.
46+
(Reported by <[email protected]>.)
47+
* Fixed a memory leak in `png_set_quantize`.
48+
(Reported by Samsung; analyzed by Fabio Gritti.)
49+
* Removed the experimental and incomplete ERROR_NUMBERS code.
50+
(Contributed by Tobias Stoeckmann.)
51+
* Improved the RISC-V vector extension support; required RVV 1.0 or newer.
52+
(Contributed by Filip Wasil.)
53+
* Added GitHub Actions workflows for automated testing.
54+
* Performed various refactorings and cleanups.
4855

4956

5057
Send comments/corrections/commendations to png-mng-implement at lists.sf.net.

CHANGES

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6278,7 +6278,31 @@ Version 1.6.50 [July 1, 2025]
62786278
(Contributed by John Bowler)
62796279
Fixed the CMake file for cross-platform builds that require `libm`.
62806280

6281-
Version 1.6.51 [TODO]
6281+
Version 1.6.51 [November 21, 2025]
6282+
Fixed CVE-2025-64505 (moderate severity):
6283+
Heap buffer overflow in `png_do_quantize` via malformed palette index.
6284+
(Reported by Samsung; analyzed by Fabio Gritti.)
6285+
Fixed CVE-2025-64506 (moderate severity):
6286+
Heap buffer over-read in `png_write_image_8bit` with 8-bit input and
6287+
`convert_to_8bit` enabled.
6288+
(Reported by Samsung and <[email protected]>;
6289+
analyzed by Fabio Gritti.)
6290+
Fixed CVE-2025-64720 (high severity):
6291+
Buffer overflow in `png_image_read_composite` via incorrect palette
6292+
premultiplication.
6293+
(Reported by Samsung; analyzed by John Bowler.)
6294+
Fixed CVE-2025-65018 (high severity):
6295+
Heap buffer overflow in `png_combine_row` triggered via
6296+
`png_image_finish_read`.
6297+
(Reported by <[email protected]>.)
6298+
Fixed a memory leak in `png_set_quantize`.
6299+
(Reported by Samsung; analyzed by Fabio Gritti.)
6300+
Removed the experimental and incomplete ERROR_NUMBERS code.
6301+
(Contributed by Tobias Stoeckmann.)
6302+
Improved the RISC-V vector extension support; required RVV 1.0 or newer.
6303+
(Contributed by Filip Wasil.)
6304+
Added GitHub Actions workflows for automated testing.
6305+
Performed various refactorings and cleanups.
62826306

62836307
Send comments/corrections/commendations to png-mng-implement at lists.sf.net.
62846308
Subscription is required; visit

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ cmake_minimum_required(VERSION 3.14...4.0)
1919
set(PNGLIB_MAJOR 1)
2020
set(PNGLIB_MINOR 6)
2121
set(PNGLIB_REVISION 51)
22-
#set(PNGLIB_SUBREVISION 0)
23-
set(PNGLIB_SUBREVISION "git")
22+
set(PNGLIB_SUBREVISION 0)
23+
#set(PNGLIB_SUBREVISION "git")
2424
set(PNGLIB_VERSION ${PNGLIB_MAJOR}.${PNGLIB_MINOR}.${PNGLIB_REVISION})
2525
set(PNGLIB_ABI_VERSION ${PNGLIB_MAJOR}${PNGLIB_MINOR})
2626
set(PNGLIB_SHARED_VERSION ${PNGLIB_ABI_VERSION}.${PNGLIB_REVISION}.${PNGLIB_SUBREVISION})

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
README for libpng version 1.6.51.git
2-
====================================
1+
README for libpng version 1.6.51
2+
================================
33

44
See the note about version numbers near the top of `png.h`.
55
See `INSTALL` for instructions on how to install libpng.

configure

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.72 for libpng 1.6.51.git.
3+
# Generated by GNU Autoconf 2.72 for libpng 1.6.51.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -614,8 +614,8 @@ MAKEFLAGS=
614614
# Identity of this package.
615615
PACKAGE_NAME='libpng'
616616
PACKAGE_TARNAME='libpng'
617-
PACKAGE_VERSION='1.6.51.git'
618-
PACKAGE_STRING='libpng 1.6.51.git'
617+
PACKAGE_VERSION='1.6.51'
618+
PACKAGE_STRING='libpng 1.6.51'
619619
PACKAGE_BUGREPORT='[email protected]'
620620
PACKAGE_URL=''
621621

@@ -1424,7 +1424,7 @@ if test "$ac_init_help" = "long"; then
14241424
# Omit some internal or obsolete options to make the list less imposing.
14251425
# This message is too long to be a string in the A/UX 3.1 sh.
14261426
cat <<_ACEOF
1427-
'configure' configures libpng 1.6.51.git to adapt to many kinds of systems.
1427+
'configure' configures libpng 1.6.51 to adapt to many kinds of systems.
14281428

14291429
Usage: $0 [OPTION]... [VAR=VALUE]...
14301430

@@ -1495,7 +1495,7 @@ fi
14951495

14961496
if test -n "$ac_init_help"; then
14971497
case $ac_init_help in
1498-
short | recursive ) echo "Configuration of libpng 1.6.51.git:";;
1498+
short | recursive ) echo "Configuration of libpng 1.6.51:";;
14991499
esac
15001500
cat <<\_ACEOF
15011501

@@ -1698,7 +1698,7 @@ fi
16981698
test -n "$ac_init_help" && exit $ac_status
16991699
if $ac_init_version; then
17001700
cat <<\_ACEOF
1701-
libpng configure 1.6.51.git
1701+
libpng configure 1.6.51
17021702
generated by GNU Autoconf 2.72
17031703

17041704
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -1961,7 +1961,7 @@ cat >config.log <<_ACEOF
19611961
This file contains any messages produced by compilers while
19621962
running configure, to aid debugging if configure makes a mistake.
19631963

1964-
It was created by libpng $as_me 1.6.51.git, which was
1964+
It was created by libpng $as_me 1.6.51, which was
19651965
generated by GNU Autoconf 2.72. Invocation command line was
19661966

19671967
$ $0$ac_configure_args_raw
@@ -3446,7 +3446,7 @@ fi
34463446

34473447
# Define the identity of the package.
34483448
PACKAGE='libpng'
3449-
VERSION='1.6.51.git'
3449+
VERSION='1.6.51'
34503450

34513451

34523452
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -3665,7 +3665,7 @@ fi
36653665

36663666

36673667

3668-
PNGLIB_VERSION=1.6.51.git
3668+
PNGLIB_VERSION=1.6.51
36693669
PNGLIB_MAJOR=1
36703670
PNGLIB_MINOR=6
36713671
PNGLIB_RELEASE=51
@@ -16406,7 +16406,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1640616406
# report actual input values of CONFIG_FILES etc. instead of their
1640716407
# values after options handling.
1640816408
ac_log="
16409-
This file was extended by libpng $as_me 1.6.51.git, which was
16409+
This file was extended by libpng $as_me 1.6.51, which was
1641016410
generated by GNU Autoconf 2.72. Invocation command line was
1641116411

1641216412
CONFIG_FILES = $CONFIG_FILES
@@ -16474,7 +16474,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
1647416474
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1647516475
ac_cs_config='$ac_cs_config_escaped'
1647616476
ac_cs_version="\\
16477-
libpng config.status 1.6.51.git
16477+
libpng config.status 1.6.51
1647816478
configured by $0, generated by GNU Autoconf 2.72,
1647916479
with options \\"\$ac_cs_config\\"
1648016480

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ AC_PREREQ([2.68])
2525

2626
dnl Version number stuff here:
2727

28-
AC_INIT([libpng],[1.6.51.git],[[email protected]])
28+
AC_INIT([libpng],[1.6.51],[[email protected]])
2929
AC_CONFIG_MACRO_DIR([scripts/autoconf])
3030

3131
# libpng does not follow GNU file name conventions (hence 'foreign')
@@ -46,7 +46,7 @@ dnl automake, so the following is not necessary (and is not defined anyway):
4646
dnl AM_PREREQ([1.11.2])
4747
dnl stop configure from automagically running automake
4848

49-
PNGLIB_VERSION=1.6.51.git
49+
PNGLIB_VERSION=1.6.51
5050
PNGLIB_MAJOR=1
5151
PNGLIB_MINOR=6
5252
PNGLIB_RELEASE=51

libpng-manual.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ libpng-manual.txt - A description on how to use and modify libpng
99

1010
Based on:
1111

12-
libpng version 1.6.36, December 2018, through 1.6.50 - July 2025
12+
libpng version 1.6.36, December 2018, through 1.6.51 - November 2025
1313
Updated and distributed by Cosmin Truta
1414
Copyright (c) 2018-2025 Cosmin Truta
1515

libpng.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH LIBPNG 3 "September 3, 2025"
1+
.TH LIBPNG 3 "November 21, 2025"
22
.SH NAME
3-
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.51.git
3+
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.51
44

55
.SH SYNOPSIS
66
\fB#include <png.h>\fP
@@ -528,7 +528,7 @@ libpng-manual.txt - A description on how to use and modify libpng
528528

529529
Based on:
530530

531-
libpng version 1.6.36, December 2018, through 1.6.50 - July 2025
531+
libpng version 1.6.36, December 2018, through 1.6.51 - November 2025
532532
Updated and distributed by Cosmin Truta
533533
Copyright (c) 2018-2025 Cosmin Truta
534534

libpngpf.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
.TH LIBPNGPF 3 "July 1, 2025"
1+
.TH LIBPNGPF 3 "November 21, 2025"
22
.SH NAME
3-
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.50
3+
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.51
44

55
.SH SYNOPSIS
66
\fB#include "pngpriv.h"\fP

png.5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH PNG 5 "July 14, 2025"
1+
.TH PNG 5 "November 21, 2025"
22
.SH NAME
33
png \- Portable Network Graphics (PNG) format
44

0 commit comments

Comments
 (0)