USN-7908-1

Source
https://ubuntu.com/security/notices/USN-7908-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7908-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7908-1
Upstream
Related
Published
2025-12-03T14:00:49Z
Modified
2026-04-24T10:08:38.550551Z
Summary
postgresql-14, postgresql-16, postgresql-17 vulnerabilities
Details

Jelte Fennema-Nio discovered that the PostgreSQL CREATE STATISTICS command did not correctly check for schema CREATE privileges. An authenticated attacker could possibly use this issue to create a denial of service against other CREATE STATISTICS users. (CVE-2025-12817)

Aleksey Solovev discovered that the PostgreSQL libpq client library incorrectly handled certain memory operations. A remote attacker could possibly use this issue to cause libpq to crash, resulting in a denial of service. (CVE-2025-12818)

References

Affected packages

Ubuntu:22.04:LTS / postgresql-14

Package

Name
postgresql-14
Purl
pkg:deb/ubuntu/postgresql-14@14.20-0ubuntu0.22.04.1?arch=source&distro=jammy

Affected ranges

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

Affected versions

14.*
14.1-1ubuntu1
14.2-1
14.2-1ubuntu1
14.3-0ubuntu0.22.04.1
14.4-0ubuntu0.22.04.1
14.5-0ubuntu0.22.04.1
14.6-0ubuntu0.22.04.1
14.7-0ubuntu0.22.04.1
14.8-0ubuntu0.22.04.1
14.9-0ubuntu0.22.04.1
14.10-0ubuntu0.22.04.1
14.11-0ubuntu0.22.04.1
14.12-0ubuntu0.22.04.1
14.13-0ubuntu0.22.04.1
14.15-0ubuntu0.22.04.1
14.17-0ubuntu0.22.04.1
14.18-0ubuntu0.22.04.1
14.19-0ubuntu0.22.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libecpg-compat3",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "libecpg6",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "libpgtypes3",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "libpq5",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "postgresql-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "postgresql-client-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "postgresql-doc-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "postgresql-plperl-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "postgresql-plpython3-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "postgresql-pltcl-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        },
        {
            "binary_name": "postgresql-server-dev-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "cves": [],
    "ecosystem": "Ubuntu:22.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7908-1.json"

Ubuntu:24.04:LTS / postgresql-16

Package

Name
postgresql-16
Purl
pkg:deb/ubuntu/postgresql-16@16.11-0ubuntu0.24.04.1?arch=source&distro=noble

Affected ranges

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

Affected versions

16.*
16.0-2
16.1-1
16.1-1build1
16.1-1build3
16.2-1
16.2-1ubuntu2
16.2-1ubuntu3
16.2-1ubuntu4
16.3-0ubuntu0.24.04.1
16.4-0ubuntu0.24.04.1
16.4-0ubuntu0.24.04.2
16.6-0ubuntu0.24.04.1
16.8-0ubuntu0.24.04.1
16.9-0ubuntu0.24.04.1
16.10-0ubuntu0.24.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libecpg-compat3",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "libecpg6",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "libpgtypes3",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "libpq5",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "postgresql-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "postgresql-client-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "postgresql-doc-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "postgresql-plperl-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "postgresql-plpython3-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "postgresql-pltcl-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        },
        {
            "binary_name": "postgresql-server-dev-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "cves": [],
    "ecosystem": "Ubuntu:24.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7908-1.json"

Ubuntu:25.10 / postgresql-17

Package

Name
postgresql-17
Purl
pkg:deb/ubuntu/postgresql-17@17.7-0ubuntu0.25.10.1?arch=source&distro=questing

Affected ranges

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

Affected versions

17.*
17.4-1
17.4-2
17.5-1
17.5-1build1
17.6-1
17.6-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libecpg-compat3",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "libecpg6",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "libpgtypes3",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "libpq5",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "postgresql-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "postgresql-client-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "postgresql-doc-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "postgresql-plperl-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "postgresql-plpython3-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "postgresql-pltcl-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        },
        {
            "binary_name": "postgresql-server-dev-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "cves": [],
    "ecosystem": "Ubuntu:25.10"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7908-1.json"