Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2POSTGRESQL13-2025-012

Active Important

ALAS2POSTGRESQL13-2025-012 (important): postgresql

Published
04 Sep 2025
Updated
04 Sep 2025

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2025-8713
CVE-2025-8714
CVE-2025-8715

Description

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

Read full publisher description 1960 characters

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)

Solution

Run yum update postgresql or yum update --advisory ALAS2POSTGRESQL13-2025-012 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

5

Shared package data

Applies to all 5 occurrences
  1. 1postgresql

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • postgresql-13.22-1.amzn2.0.1.aarch64
    • postgresql-private-libs-13.22-1.amzn2.0.1.aarch64
    • postgresql-private-devel-13.22-1.amzn2.0.1.aarch64
    • postgresql-server-13.22-1.amzn2.0.1.aarch64
    • postgresql-docs-13.22-1.amzn2.0.1.aarch64
    • postgresql-contrib-13.22-1.amzn2.0.1.aarch64
    • postgresql-server-devel-13.22-1.amzn2.0.1.aarch64
    • postgresql-static-13.22-1.amzn2.0.1.aarch64
    • postgresql-upgrade-13.22-1.amzn2.0.1.aarch64
    • postgresql-upgrade-devel-13.22-1.amzn2.0.1.aarch64
    • postgresql-plperl-13.22-1.amzn2.0.1.aarch64
    • postgresql-plpython3-13.22-1.amzn2.0.1.aarch64
    • postgresql-pltcl-13.22-1.amzn2.0.1.aarch64
    • postgresql-test-13.22-1.amzn2.0.1.aarch64
    • postgresql-llvmjit-13.22-1.amzn2.0.1.aarch64
    • postgresql-debuginfo-13.22-1.amzn2.0.1.aarch64
  2. 2postgresql

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • postgresql-13.22-1.amzn2.0.1.i686
    • postgresql-private-libs-13.22-1.amzn2.0.1.i686
    • postgresql-private-devel-13.22-1.amzn2.0.1.i686
    • postgresql-server-13.22-1.amzn2.0.1.i686
    • postgresql-docs-13.22-1.amzn2.0.1.i686
    • postgresql-contrib-13.22-1.amzn2.0.1.i686
    • postgresql-server-devel-13.22-1.amzn2.0.1.i686
    • postgresql-static-13.22-1.amzn2.0.1.i686
    • postgresql-upgrade-13.22-1.amzn2.0.1.i686
    • postgresql-upgrade-devel-13.22-1.amzn2.0.1.i686
    • postgresql-plperl-13.22-1.amzn2.0.1.i686
    • postgresql-plpython3-13.22-1.amzn2.0.1.i686
    • postgresql-pltcl-13.22-1.amzn2.0.1.i686
    • postgresql-test-13.22-1.amzn2.0.1.i686
    • postgresql-llvmjit-13.22-1.amzn2.0.1.i686
    • postgresql-debuginfo-13.22-1.amzn2.0.1.i686
  3. 3postgresql

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • postgresql-test-rpm-macros-13.22-1.amzn2.0.1.noarch
  4. 4postgresql

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • postgresql-13.22-1.amzn2.0.1.src
  5. 5postgresql

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • postgresql-13.22-1.amzn2.0.1.x86_64
    • postgresql-private-libs-13.22-1.amzn2.0.1.x86_64
    • postgresql-private-devel-13.22-1.amzn2.0.1.x86_64
    • postgresql-server-13.22-1.amzn2.0.1.x86_64
    • postgresql-docs-13.22-1.amzn2.0.1.x86_64
    • postgresql-contrib-13.22-1.amzn2.0.1.x86_64
    • postgresql-server-devel-13.22-1.amzn2.0.1.x86_64
    • postgresql-static-13.22-1.amzn2.0.1.x86_64
    • postgresql-upgrade-13.22-1.amzn2.0.1.x86_64
    • postgresql-upgrade-devel-13.22-1.amzn2.0.1.x86_64
    • postgresql-plperl-13.22-1.amzn2.0.1.x86_64
    • postgresql-plpython3-13.22-1.amzn2.0.1.x86_64
    • postgresql-pltcl-13.22-1.amzn2.0.1.x86_64
    • postgresql-test-13.22-1.amzn2.0.1.x86_64
    • postgresql-llvmjit-13.22-1.amzn2.0.1.x86_64
    • postgresql-debuginfo-13.22-1.amzn2.0.1.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

6
  • CVE-2025-8713 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-8713
  • CVE-2025-8714 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-8714
  • CVE-2025-8715 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2025-8715
  • CVE-2025-8713 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-8713
  • CVE-2025-8714 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-8714
  • CVE-2025-8715 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-8715

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL13-2025-012.htmlUnknown8c4a31f7161766cb88f42b33db3b7b3bc133ae532b0e288948cf618e0c77710famazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL13-2025-012.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2POSTGRESQL13-2025-012.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected