UBUNTU-CVE-2025-64506

Source
https://ubuntu.com/security/CVE-2025-64506
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-64506.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-64506
Upstream
Published
2025-11-25T00:15:00Z
Modified
2025-11-27T20:06:06.087871Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H 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 version 1.6.0 to before 1.6.51, a heap buffer over-read vulnerability exists in libpng's pngwriteimage8bit function when processing 8-bit images through the simplified write API with convertto_8bit enabled. The vulnerability affects 8-bit grayscale+alpha, RGB/RGBA, and images with incomplete row data. A conditional guard incorrectly allows 8-bit input to enter code expecting 16-bit input, causing reads up to 2 bytes beyond allocated buffer boundaries. This issue has been patched in version 1.6.51.

References

Affected packages

Ubuntu:14.04:LTS

libpng

Package

Name
libpng
Purl
pkg:deb/ubuntu/libpng@1.2.50-1ubuntu2.14.04.3?arch=source&distro=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

Ecosystem specific

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

Ubuntu:18.04:LTS

libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.34-1ubuntu0.18.04.2?arch=source&distro=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

Ecosystem specific

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

Ubuntu:20.04:LTS

libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.37-2?arch=source&distro=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

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpng-dev",
            "binary_version": "1.6.37-2"
        },
        {
            "binary_name": "libpng-tools",
            "binary_version": "1.6.37-2"
        },
        {
            "binary_name": "libpng16-16",
            "binary_version": "1.6.37-2"
        }
    ]
}

Ubuntu:22.04:LTS

libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.37-3build5?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

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpng-dev",
            "binary_version": "1.6.37-3build5"
        },
        {
            "binary_name": "libpng-tools",
            "binary_version": "1.6.37-3build5"
        },
        {
            "binary_name": "libpng16-16",
            "binary_version": "1.6.37-3build5"
        }
    ]
}

thunderbird

Package

Name
thunderbird
Purl
pkg:deb/ubuntu/thunderbird@1:128.12.0+build1-0ubuntu0.22.04.1?arch=source&distro=jammy

Affected ranges

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

Affected versions

1:91.*

1:91.1.2+build1-0ubuntu1
1:91.3.0+build2-0ubuntu1
1:91.3.1+build1-0ubuntu1
1:91.3.2+build1-0ubuntu1
1:91.4.0+build1.1-0ubuntu1
1:91.4.0+build2-0ubuntu1
1:91.5.0+build1-0ubuntu1
1:91.5.1+build1-0ubuntu1
1:91.6.1+build1-0ubuntu1
1:91.7.0+build1-0ubuntu1
1:91.7.0+build2-0ubuntu1
1:91.8.0+build2-0ubuntu1
1:91.9.1+build1-0ubuntu0.22.04.1
1:91.11.0+build2-0ubuntu0.22.04.1

1:102.*

1:102.2.2+build1-0ubuntu0.22.04.1
1:102.4.2+build2-0ubuntu0.22.04.1
1:102.7.1+build2-0ubuntu0.22.04.1
1:102.8.0+build2-0ubuntu0.22.04.1
1:102.9.0+build1-0ubuntu0.22.04.1
1:102.10.0+build2-0ubuntu0.22.04.1
1:102.11.0+build1-0ubuntu0.22.04.1
1:102.13.0+build1-0ubuntu0.22.04.1
1:102.15.0+build1-0ubuntu0.22.04.1
1:102.15.1+build1-0ubuntu0.22.04.1

1:115.*

1:115.3.1+build1-0ubuntu0.22.04.2
1:115.4.1+build1-0ubuntu0.22.04.1
1:115.5.0+build1-0ubuntu0.22.04.1
1:115.6.0+build2-0ubuntu0.22.04.1
1:115.8.1+build1-0ubuntu0.22.04.1
1:115.9.0+build1-0ubuntu0.22.04.1
1:115.10.1+build1-0ubuntu0.22.04.1
1:115.11.0+build2-0ubuntu0.22.04.1
1:115.12.0+build3-0ubuntu0.22.04.1
1:115.13.0+build5-0ubuntu0.22.04.1
1:115.15.0+build1-0ubuntu0.22.04.1
1:115.16.0+build2-0ubuntu0.22.04.1
1:115.18.0+build1-0ubuntu0.22.04.1

1:128.*

1:128.12.0+build1-0ubuntu0.22.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "thunderbird",
            "binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "thunderbird-dev",
            "binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "thunderbird-gnome-support",
            "binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "thunderbird-mozsymbols",
            "binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "xul-ext-calendar-timezones",
            "binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "xul-ext-gdata-provider",
            "binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "xul-ext-lightning",
            "binary_version": "1:128.12.0+build1-0ubuntu0.22.04.1"
        }
    ]
}

Ubuntu:24.04:LTS

libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.43-5build1?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

Ecosystem specific

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

thunderbird

Package

Name
thunderbird
Purl
pkg:deb/ubuntu/thunderbird@2:1snap1-0ubuntu3?arch=source&distro=noble

Affected ranges

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

Affected versions

1:115.*

1:115.3.1+build1-0ubuntu1
1:115.4.1+build1-0ubuntu1
1:115.4.3+build1-0ubuntu1
1:115.5.0+build1-0ubuntu1
1:115.5.1+build1-0ubuntu1
1:115.5.2+build2-0ubuntu1
1:115.6.0+build1-0ubuntu1
1:115.6.0+build2-0ubuntu1
1:115.6.1+build1-0ubuntu1
1:115.8.0+build1-0ubuntu1
1:115.8.1+build1+snap2
1:115.8.1+build1+snap3

Other

2:1snap1-0ubuntu1
2:1snap1-0ubuntu3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "thunderbird",
            "binary_version": "2:1snap1-0ubuntu3"
        }
    ]
}

Ubuntu:25.04

libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.47-1.1?arch=source&distro=plucky

Affected ranges

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

Affected versions

1.*

1.6.44-1
1.6.44-2
1.6.44-3
1.6.46-4
1.6.47-1
1.6.47-1.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libpng-dev",
            "binary_version": "1.6.47-1.1"
        },
        {
            "binary_name": "libpng-tools",
            "binary_version": "1.6.47-1.1"
        },
        {
            "binary_name": "libpng16-16t64",
            "binary_version": "1.6.47-1.1"
        }
    ]
}

thunderbird

Package

Name
thunderbird
Purl
pkg:deb/ubuntu/thunderbird@2:1snap1-0ubuntu3?arch=source&distro=plucky

Affected ranges

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

Affected versions

Other

2:1snap1-0ubuntu3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "thunderbird",
            "binary_version": "2:1snap1-0ubuntu3"
        }
    ]
}

Ubuntu:25.10

libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.50-1?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

Ecosystem specific

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

thunderbird

Package

Name
thunderbird
Purl
pkg:deb/ubuntu/thunderbird@2:1snap1-0ubuntu3?arch=source&distro=questing

Affected ranges

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

Affected versions

Other

2:1snap1-0ubuntu3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "thunderbird",
            "binary_version": "2:1snap1-0ubuntu3"
        }
    ]
}

Ubuntu:Pro:16.04:LTS

libpng

Package

Name
libpng
Purl
pkg:deb/ubuntu/libpng@1.2.54-1ubuntu1.1+esm1?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

Ecosystem specific

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

libpng1.6

Package

Name
libpng1.6
Purl
pkg:deb/ubuntu/libpng1.6@1.6.20-2ubuntu0.1~esm1?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

Ecosystem specific

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