Alpine: postgresql15: security update to 15.17-r0

high Tenable Cloud Security Plugin ID 483070

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- PostgreSQL optimizer statistics allow a user to read sampled data within a view that the user cannot
access. Separately, statistics allow a user to read sampled data that a row security policy intended to
hide. PostgreSQL maintains statistics for tables by sampling data available in columns; this data is
consulted during the query planning process. Prior to this release, a user could craft a leaky operator
that bypassed view access control lists (ACLs) and bypassed row security policies in partitioning or table
inheritance hierarchies. Reachable statistics data notably included histograms and most-common-values
lists. CVE-2017-7484 and CVE-2019-10130 intended to close this class of vulnerability, but this gap
remained. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected. (CVE-2025-8713)

- Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to
inject arbitrary code for restore-time execution as the client operating system account running psql to
restore the dump, via psql meta-commands. pg_dumpall is also affected. pg_restore is affected when used to
generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6,
16.10, 15.14, 14.19, and 13.22 are affected. (CVE-2025-8714)

- Improper neutralization of newlines in pg_dump in PostgreSQL allows a user of the origin server to inject
arbitrary code for restore-time execution as the client operating system account running psql to restore
the dump, via psql meta-commands inside a purpose-crafted object name. The same attacks can achieve SQL
injection as a superuser of the restore target server. pg_dumpall, pg_restore, and pg_upgrade are also
affected. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected. Versions before
11.20 are unaffected. CVE-2012-0868 had fixed this class of problem, but version 11.20 reintroduced it.
(CVE-2025-8715)

- Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to
issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the
operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21
are affected. (CVE-2026-2006)

- Heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted
input string. The attacker has limited control over the byte patterns to be written, but we have not ruled
out the viability of attacks that lead to privilege escalation. PostgreSQL 18.1 and 18.0 are affected.
(CVE-2026-2007)

Solution

Update the postgresql15 library and its related packages to version 15.17-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2025-8713

https://security.alpinelinux.org/vuln/CVE-2025-8714

https://security.alpinelinux.org/vuln/CVE-2025-8715

https://security.alpinelinux.org/vuln/CVE-2026-2006

https://security.alpinelinux.org/vuln/CVE-2026-2007

Plugin Details

Severity: High

ID: 483070

Version: Revision 1.2

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2025-8715

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS Score Source: CVE-2026-2006

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 8/14/2025

Reference Information

CVE: CVE-2025-8713, CVE-2025-8714, CVE-2025-8715, CVE-2026-2006, CVE-2026-2007

IAVB: 2025-B-0140-S, 2026-B-0047-S