ALPINE-CVE-2026-34757

Source
https://security.alpinelinux.org/vuln/CVE-2026-34757
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2026-34757.json
JSON Data
https://api.test.osv.dev/v1/vulns/ALPINE-CVE-2026-34757
Upstream
Published
2026-04-09T15:16:11.003Z
Modified
2026-04-10T18:27:08.052720Z
Severity
  • 5.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.0.9 to before 1.6.57, passing a pointer obtained from pnggetPLTE, pnggettRNS, or pnggethIST back into the corresponding setter on the same pngstruct/pnginfo pair causes the setter to read from freed memory and copy its contents into the replacement buffer. The setter frees the internal buffer before copying from the caller-supplied pointer, which now dangles. The freed region may contain stale data (producing silently corrupted chunk metadata) or data from subsequent heap allocations (leaking unrelated heap contents into the chunk struct). This vulnerability is fixed in 1.6.57.

References

Affected packages

Alpine:v3.20 / libpng

Package

Name
libpng
Purl
pkg:apk/alpine/libpng?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.57-r0

Affected versions

1.*
1.2.34-r0
1.2.35-r0
1.2.36-r0
1.2.37-r0
1.2.38-r0
1.2.39-r0
1.2.40-r0
1.4.0-r0
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.3-r0
1.4.4-r0
1.4.5-r0
1.4.5-r1
1.5.2-r0
1.5.2-r1
1.5.2-r2
1.5.4-r0
1.5.5-r0
1.5.5-r1
1.5.8-r0
1.5.9-r0
1.5.10-r0
1.5.11-r0
1.5.12-r0
1.5.13-r0
1.5.14-r0
1.5.15-r0
1.5.16-r0
1.5.17-r0
1.6.3-r0
1.6.5-r0
1.6.6-r0
1.6.7-r0
1.6.8-r0
1.6.9-r0
1.6.10-r0
1.6.12-r0
1.6.13-r0
1.6.14-r0
1.6.15-r0
1.6.16-r0
1.6.17-r0
1.6.18-r0
1.6.19-r0
1.6.20-r0
1.6.21-r0
1.6.22-r0
1.6.23-r0
1.6.23-r1
1.6.23-r2
1.6.24-r0
1.6.25-r0
1.6.26-r0
1.6.27-r0
1.6.27-r1
1.6.28-r0
1.6.29-r0
1.6.29-r1
1.6.30-r0
1.6.31-r0
1.6.32-r0
1.6.34-r0
1.6.34-r1
1.6.35-r0
1.6.37-r0
1.6.37-r1
1.6.37-r2
1.6.38-r0
1.6.39-r0
1.6.39-r1
1.6.39-r2
1.6.39-r3
1.6.39-r4
1.6.40-r0
1.6.41-r0
1.6.42-r0
1.6.43-r0
1.6.44-r0
1.6.53-r0
1.6.54-r0
1.6.55-r0
1.6.56-r0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2026-34757.json"

Alpine:v3.21 / libpng

Package

Name
libpng
Purl
pkg:apk/alpine/libpng?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.57-r0

Affected versions

1.*
1.2.34-r0
1.2.35-r0
1.2.36-r0
1.2.37-r0
1.2.38-r0
1.2.39-r0
1.2.40-r0
1.4.0-r0
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.3-r0
1.4.4-r0
1.4.5-r0
1.4.5-r1
1.5.2-r0
1.5.2-r1
1.5.2-r2
1.5.4-r0
1.5.5-r0
1.5.5-r1
1.5.8-r0
1.5.9-r0
1.5.10-r0
1.5.11-r0
1.5.12-r0
1.5.13-r0
1.5.14-r0
1.5.15-r0
1.5.16-r0
1.5.17-r0
1.6.3-r0
1.6.5-r0
1.6.6-r0
1.6.7-r0
1.6.8-r0
1.6.9-r0
1.6.10-r0
1.6.12-r0
1.6.13-r0
1.6.14-r0
1.6.15-r0
1.6.16-r0
1.6.17-r0
1.6.18-r0
1.6.19-r0
1.6.20-r0
1.6.21-r0
1.6.22-r0
1.6.23-r0
1.6.23-r1
1.6.23-r2
1.6.24-r0
1.6.25-r0
1.6.26-r0
1.6.27-r0
1.6.27-r1
1.6.28-r0
1.6.29-r0
1.6.29-r1
1.6.30-r0
1.6.31-r0
1.6.32-r0
1.6.34-r0
1.6.34-r1
1.6.35-r0
1.6.37-r0
1.6.37-r1
1.6.37-r2
1.6.38-r0
1.6.39-r0
1.6.39-r1
1.6.39-r2
1.6.39-r3
1.6.39-r4
1.6.40-r0
1.6.41-r0
1.6.42-r0
1.6.43-r0
1.6.44-r0
1.6.47-r0
1.6.53-r0
1.6.54-r0
1.6.55-r0
1.6.56-r0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2026-34757.json"

Alpine:v3.22 / libpng

Package

Name
libpng
Purl
pkg:apk/alpine/libpng?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.57-r0

Affected versions

1.*
1.2.34-r0
1.2.35-r0
1.2.36-r0
1.2.37-r0
1.2.38-r0
1.2.39-r0
1.2.40-r0
1.4.0-r0
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.3-r0
1.4.4-r0
1.4.5-r0
1.4.5-r1
1.5.2-r0
1.5.2-r1
1.5.2-r2
1.5.4-r0
1.5.5-r0
1.5.5-r1
1.5.8-r0
1.5.9-r0
1.5.10-r0
1.5.11-r0
1.5.12-r0
1.5.13-r0
1.5.14-r0
1.5.15-r0
1.5.16-r0
1.5.17-r0
1.6.3-r0
1.6.5-r0
1.6.6-r0
1.6.7-r0
1.6.8-r0
1.6.9-r0
1.6.10-r0
1.6.12-r0
1.6.13-r0
1.6.14-r0
1.6.15-r0
1.6.16-r0
1.6.17-r0
1.6.18-r0
1.6.19-r0
1.6.20-r0
1.6.21-r0
1.6.22-r0
1.6.23-r0
1.6.23-r1
1.6.23-r2
1.6.24-r0
1.6.25-r0
1.6.26-r0
1.6.27-r0
1.6.27-r1
1.6.28-r0
1.6.29-r0
1.6.29-r1
1.6.30-r0
1.6.31-r0
1.6.32-r0
1.6.34-r0
1.6.34-r1
1.6.35-r0
1.6.37-r0
1.6.37-r1
1.6.37-r2
1.6.38-r0
1.6.39-r0
1.6.39-r1
1.6.39-r2
1.6.39-r3
1.6.39-r4
1.6.40-r0
1.6.41-r0
1.6.42-r0
1.6.43-r0
1.6.44-r0
1.6.45-r0
1.6.46-r0
1.6.47-r0
1.6.51-r0
1.6.53-r0
1.6.54-r0
1.6.55-r0
1.6.56-r0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2026-34757.json"

Alpine:v3.23 / libpng

Package

Name
libpng
Purl
pkg:apk/alpine/libpng?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.57-r0

Affected versions

1.*
1.2.34-r0
1.2.35-r0
1.2.36-r0
1.2.37-r0
1.2.38-r0
1.2.39-r0
1.2.40-r0
1.4.0-r0
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.3-r0
1.4.4-r0
1.4.5-r0
1.4.5-r1
1.5.2-r0
1.5.2-r1
1.5.2-r2
1.5.4-r0
1.5.5-r0
1.5.5-r1
1.5.8-r0
1.5.9-r0
1.5.10-r0
1.5.11-r0
1.5.12-r0
1.5.13-r0
1.5.14-r0
1.5.15-r0
1.5.16-r0
1.5.17-r0
1.6.3-r0
1.6.5-r0
1.6.6-r0
1.6.7-r0
1.6.8-r0
1.6.9-r0
1.6.10-r0
1.6.12-r0
1.6.13-r0
1.6.14-r0
1.6.15-r0
1.6.16-r0
1.6.17-r0
1.6.18-r0
1.6.19-r0
1.6.20-r0
1.6.21-r0
1.6.22-r0
1.6.23-r0
1.6.23-r1
1.6.23-r2
1.6.24-r0
1.6.25-r0
1.6.26-r0
1.6.27-r0
1.6.27-r1
1.6.28-r0
1.6.29-r0
1.6.29-r1
1.6.30-r0
1.6.31-r0
1.6.32-r0
1.6.34-r0
1.6.34-r1
1.6.35-r0
1.6.37-r0
1.6.37-r1
1.6.37-r2
1.6.38-r0
1.6.39-r0
1.6.39-r1
1.6.39-r2
1.6.39-r3
1.6.39-r4
1.6.40-r0
1.6.41-r0
1.6.42-r0
1.6.43-r0
1.6.44-r0
1.6.45-r0
1.6.46-r0
1.6.47-r0
1.6.49-r0
1.6.51-r0
1.6.51-r1
1.6.53-r0
1.6.54-r0
1.6.55-r0
1.6.56-r0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2026-34757.json"