UBUNTU-CVE-2026-34757

Source
https://ubuntu.com/security/CVE-2026-34757
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-34757
Upstream
  • CVE-2026-34757
Published
2026-04-09T15:16:00Z
Modified
2026-04-22T16:31:45.018068Z
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
  • Ubuntu - medium
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

Ubuntu:22.04:LTS
libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.37-3ubuntu0.4?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.6.37-3build4
1.6.37-3build5
1.6.37-3ubuntu0.1
1.6.37-3ubuntu0.3
1.6.37-3ubuntu0.4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.37-3ubuntu0.4",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.37-3ubuntu0.4",
            "binary_name": "libpng16-16"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json"
Ubuntu:24.04:LTS
libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.43-5ubuntu0.5?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.6.40-1
1.6.40-2
1.6.40-3
1.6.42-1
1.6.43-1
1.6.43-3
1.6.43-5build1
1.6.43-5ubuntu0.1
1.6.43-5ubuntu0.3
1.6.43-5ubuntu0.4
1.6.43-5ubuntu0.5

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.43-5ubuntu0.5",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.43-5ubuntu0.5",
            "binary_name": "libpng16-16t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json"
Ubuntu:25.10
libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.50-1ubuntu0.4?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.6.47-1.1
1.6.48-1
1.6.49-1~exp1
1.6.50-1~exp1
1.6.50-1
1.6.50-1ubuntu0.1
1.6.50-1ubuntu0.3
1.6.50-1ubuntu0.4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.50-1ubuntu0.4",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.50-1ubuntu0.4",
            "binary_name": "libpng16-16t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json"
Ubuntu:Pro:14.04:LTS
libpng

Package

Name
libpng
Purl
pkg:deb/ubuntu/libpng@1.2.50-1ubuntu2.14.04.3+esm1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.49-4ubuntu1
1.2.49-5ubuntu1
1.2.50-1ubuntu1
1.2.50-1ubuntu2
1.2.50-1ubuntu2.14.04.1
1.2.50-1ubuntu2.14.04.2
1.2.50-1ubuntu2.14.04.3
1.2.50-1ubuntu2.14.04.3+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.2.50-1ubuntu2.14.04.3+esm1",
            "binary_name": "libpng12-0"
        },
        {
            "binary_version": "1.2.50-1ubuntu2.14.04.3+esm1",
            "binary_name": "libpng3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json"
Ubuntu:Pro:16.04:LTS
libpng

Package

Name
libpng
Purl
pkg:deb/ubuntu/libpng@1.2.54-1ubuntu1.1+esm2?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.51-0ubuntu3
1.2.54-1
1.2.54-1ubuntu1
1.2.54-1ubuntu1.1
1.2.54-1ubuntu1.1+esm1
1.2.54-1ubuntu1.1+esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.2.54-1ubuntu1.1+esm2",
            "binary_name": "libpng12-0"
        },
        {
            "binary_version": "1.2.54-1ubuntu1.1+esm2",
            "binary_name": "libpng3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json"
libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.20-2ubuntu0.1~esm3?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.6.20-2
1.6.20-2ubuntu0.1~esm1
1.6.20-2ubuntu0.1~esm2
1.6.20-2ubuntu0.1~esm3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.20-2ubuntu0.1~esm3",
            "binary_name": "libpng16-16"
        },
        {
            "binary_version": "1.6.20-2ubuntu0.1~esm3",
            "binary_name": "libpng16-devtools"
        },
        {
            "binary_version": "1.6.20-2ubuntu0.1~esm3",
            "binary_name": "libpng16-tools"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json"
Ubuntu:Pro:18.04:LTS
libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.34-1ubuntu0.18.04.2+esm2?arch=source&distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.6.34-1
1.6.34-1ubuntu0.18.04.1
1.6.34-1ubuntu0.18.04.2
1.6.34-1ubuntu0.18.04.2+esm1
1.6.34-1ubuntu0.18.04.2+esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.34-1ubuntu0.18.04.2+esm2",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.34-1ubuntu0.18.04.2+esm2",
            "binary_name": "libpng16-16"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json"
Ubuntu:Pro:20.04:LTS
libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.37-2ubuntu0.1~esm2?arch=source&distro=esm-infra/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.6.37-1
1.6.37-2
1.6.37-2ubuntu0.1~esm1
1.6.37-2ubuntu0.1~esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.37-2ubuntu0.1~esm2",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.37-2ubuntu0.1~esm2",
            "binary_name": "libpng16-16"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34757.json"