Debian dla-4420 : libecpg-compat3 - security update

medium Nessus Plugin ID 279986

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4420 advisory.

- ----------------------------------------------------------------------- Debian LTS Advisory DLA-4420-1 [email protected] https://www.debian.org/lts/security/ Utkarsh Gupta December 26, 2025 https://wiki.debian.org/LTS
- -----------------------------------------------------------------------

Package : postgresql-13 Version : 13.23-0+deb11u1 CVE ID : CVE-2025-12817 CVE-2025-12818

A couple of vulnerabilities were discovered in postgresql-13, the widely-popular database management system:

CVE-2025-12817

Missing authorization in PostgreSQL CREATE STATISTICS command allows a table owner to achieve denial of service against other CREATE STATISTICS users by creating in any schema. A later CREATE STATISTICS for the same name, from a user having the CREATE privilege, would then fail.

CVE-2025-12818

Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network peer to cause libpq to undersize an allocation and write out-of-bounds by hundreds of megabytes. This results in a segmentation fault for the application using libpq.

For Debian 11 bullseye, these problems have been fixed in version 13.23-0+deb11u1.

We recommend that you upgrade your postgresql-13 packages.

For the detailed security status of postgresql-13 please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/postgresql-13

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian 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

Upgrade the libecpg-compat3 packages.

See Also

http://www.nessus.org/u?1964ded4

https://security-tracker.debian.org/tracker/CVE-2025-12817

https://security-tracker.debian.org/tracker/CVE-2025-12818

https://packages.debian.org/source/bullseye/postgresql-13

Plugin Details

Severity: Medium

ID: 279986

File Name: debian_DLA-4420.nasl

Version: 1.1

Type: local

Agent: unix

Published: 12/25/2025

Updated: 12/25/2025

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/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: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libecpg-compat3, p-cpe:/a:debian:debian_linux:libecpg6, p-cpe:/a:debian:debian_linux:libecpg-dev, p-cpe:/a:debian:debian_linux:libpq5, p-cpe:/a:debian:debian_linux:postgresql-plpython3-13, p-cpe:/a:debian:debian_linux:postgresql-pltcl-13, p-cpe:/a:debian:debian_linux:postgresql-server-dev-13, p-cpe:/a:debian:debian_linux:postgresql-13, p-cpe:/a:debian:debian_linux:libpq-dev, p-cpe:/a:debian:debian_linux:postgresql-client-13, p-cpe:/a:debian:debian_linux:postgresql-plperl-13, p-cpe:/a:debian:debian_linux:postgresql-doc-13, p-cpe:/a:debian:debian_linux:libpgtypes3

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/26/2025

Vulnerability Publication Date: 11/13/2025

Reference Information

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