Ubuntu 22.04 LTS / 24.04 LTS / 25.04 / 25.10 : PostgreSQL vulnerabilities (USN-7908-1)

medium Nessus Plugin ID 277452

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 22.04 LTS / 24.04 LTS / 25.04 / 25.10 host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-7908-1 advisory.

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)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-7908-1

Plugin Details

Severity: Medium

ID: 277452

File Name: ubuntu_USN-7908-1.nasl

Version: 1.1

Type: local

Agent: unix

Published: 12/4/2025

Updated: 12/4/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2025-12818

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython3-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython3-17, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-17, p-cpe:/a:canonical:ubuntu_linux:postgresql-17, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-17, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-16, p-cpe:/a:canonical:ubuntu_linux:libpq-dev, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython3-14, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-16, p-cpe:/a:canonical:ubuntu_linux:libecpg6, cpe:/o:canonical:ubuntu_linux:25.04, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-14, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-17, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-17, p-cpe:/a:canonical:ubuntu_linux:libecpg-dev, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-16, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-14, cpe:/o:canonical:ubuntu_linux:25.10, p-cpe:/a:canonical:ubuntu_linux:libecpg-compat3, p-cpe:/a:canonical:ubuntu_linux:libpgtypes3, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-14, p-cpe:/a:canonical:ubuntu_linux:libpq5

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 12/3/2025

Vulnerability Publication Date: 11/13/2025

Reference Information

CVE: CVE-2025-12817, CVE-2025-12818

USN: 7908-1