USN-7924-1

Source
https://ubuntu.com/security/notices/USN-7924-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7924-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7924-1
Upstream
Related
Published
2025-12-11T05:26:40.329621Z
Modified
2025-12-12T10:52:00.689715Z
Summary
libpng1.6 vulnerabilities
Details

It was discovered that libpng incorrectly handled memory when processing certain PNG files, which could result in an out-of-bounds memory access. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2025-64505)

It was discovered that libpng incorrectly handled memory when processing 8-bit images through the simplified write API with 'convertto8bit' enabled, which could result in an out-of-bounds memory access. If a user or automated system were tricked into opening a specially crafted 8-bit PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2025-64506)

It was discovered that libpng incorrectly handled memory when processing palette images with 'PNGFLAGOPTIMIZE_ALPHA' enabled, which could result in an out-of-bounds memory access. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2025-64720)

It was discovered that libpng incorrectly handled memory when processing 6-bit interlaced PNGs with 8-bit output format, which could result in an out-of-bounds memory access. If a user or automated system were tricked into opening a specially crafted PNG file, an attacker could use this issue to cause libpng to crash, resulting in a denial of service. (CVE-2025-65018)

References

Affected packages

Ubuntu:22.04:LTS

libpng1.6

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.37-3ubuntu0.1

Affected versions

1.*

1.6.37-3build4
1.6.37-3build5

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.37-3ubuntu0.1",
            "binary_name": "libpng-dev"
        },
        {
            "binary_version": "1.6.37-3ubuntu0.1",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.37-3ubuntu0.1",
            "binary_name": "libpng16-16"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7924-1.json"

cves_map

{
    "cves": [
        {
            "id": "CVE-2025-64505",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64506",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64720",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-65018",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:22.04:LTS"
}

Ubuntu:24.04:LTS

libpng1.6

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.43-5ubuntu0.1

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_version": "1.6.43-5ubuntu0.1",
            "binary_name": "libpng-dev"
        },
        {
            "binary_version": "1.6.43-5ubuntu0.1",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.43-5ubuntu0.1",
            "binary_name": "libpng16-16t64"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7924-1.json"

cves_map

{
    "cves": [
        {
            "id": "CVE-2025-64505",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64506",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64720",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-65018",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:24.04:LTS"
}

Ubuntu:25.04

libpng1.6

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.47-1.1ubuntu0.1

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_version": "1.6.47-1.1ubuntu0.1",
            "binary_name": "libpng-dev"
        },
        {
            "binary_version": "1.6.47-1.1ubuntu0.1",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.47-1.1ubuntu0.1",
            "binary_name": "libpng16-16t64"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7924-1.json"

cves_map

{
    "cves": [
        {
            "id": "CVE-2025-64505",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64506",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64720",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-65018",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:25.04"
}

Ubuntu:25.10

libpng1.6

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.50-1ubuntu0.1

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_version": "1.6.50-1ubuntu0.1",
            "binary_name": "libpng-dev"
        },
        {
            "binary_version": "1.6.50-1ubuntu0.1",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.50-1ubuntu0.1",
            "binary_name": "libpng16-16t64"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7924-1.json"

cves_map

{
    "cves": [
        {
            "id": "CVE-2025-64505",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64506",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64720",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-65018",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:25.10"
}

Ubuntu:Pro:16.04:LTS

libpng1.6

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.20-2ubuntu0.1~esm2

Affected versions

1.*

1.6.20-2
1.6.20-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.20-2ubuntu0.1~esm2",
            "binary_name": "libpng16-16"
        },
        {
            "binary_version": "1.6.20-2ubuntu0.1~esm2",
            "binary_name": "libpng16-dev"
        },
        {
            "binary_version": "1.6.20-2ubuntu0.1~esm2",
            "binary_name": "libpng16-devtools"
        },
        {
            "binary_version": "1.6.20-2ubuntu0.1~esm2",
            "binary_name": "libpng16-tools"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7924-1.json"

cves_map

{
    "cves": [
        {
            "id": "CVE-2025-64505",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64506",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64720",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-65018",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:16.04:LTS"
}

Ubuntu:Pro:18.04:LTS

libpng1.6

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.34-1ubuntu0.18.04.2+esm1

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_version": "1.6.34-1ubuntu0.18.04.2+esm1",
            "binary_name": "libpng-dev"
        },
        {
            "binary_version": "1.6.34-1ubuntu0.18.04.2+esm1",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.34-1ubuntu0.18.04.2+esm1",
            "binary_name": "libpng16-16"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7924-1.json"

cves_map

{
    "cves": [
        {
            "id": "CVE-2025-64505",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64506",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64720",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-65018",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:18.04:LTS"
}

Ubuntu:Pro:20.04:LTS

libpng1.6

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.37-2ubuntu0.1~esm1

Affected versions

1.*

1.6.37-1
1.6.37-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.6.37-2ubuntu0.1~esm1",
            "binary_name": "libpng-dev"
        },
        {
            "binary_version": "1.6.37-2ubuntu0.1~esm1",
            "binary_name": "libpng-tools"
        },
        {
            "binary_version": "1.6.37-2ubuntu0.1~esm1",
            "binary_name": "libpng16-16"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7924-1.json"

cves_map

{
    "cves": [
        {
            "id": "CVE-2025-64505",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64506",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-64720",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2025-65018",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ],
    "ecosystem": "Ubuntu:Pro:20.04:LTS"
}