Security Bulletin
Summary
Vulnerabilities in PostgreSQL could allow an attacker to cause a denial of service (CVE-2025-4207), read sensitive data (CVE-2025-8713), or inject arbitrary code (CVE-2025-8714, CVE-2025-8715). PowerVM VIOS uses PostgreSQL as part of Shared Storage Pools (SSP) and for internal administration purposes.
Vulnerability Details
CVEID: CVE-2025-4207
DESCRIPTION: Buffer over-read in PostgreSQL GB18030 encoding validation allows a database input provider to achieve temporary denial of service on platforms where a 1-byte over-read can elicit process termination. This affects the database server and also libpq. Versions before PostgreSQL 17.5, 16.9, 15.13, 14.18, and 13.21 are affected.
CWE: CWE-126: Buffer Over-read
CVSS Source: PostgreSQL
CVSS Base score: 5.9
CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H)
CVEID: CVE-2025-8713
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 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.
CWE: CWE-1230: Exposure of Sensitive Information Through Metadata
CVSS Source: PostgreSQL
CVSS Base score: 3.1
CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N)
CVEID: CVE-2025-8714
DESCRIPTION: 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.
CWE: CWE-829: Inclusion of Functionality from Untrusted Control Sphere
CVSS Source: PostgreSQL
CVSS Base score: 8.8
CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
CVEID: CVE-2025-8715
DESCRIPTION: 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.
CWE: CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
CVSS Source: PostgreSQL
CVSS Base score: 8.8
CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Affected Products and Versions
| Affected Product(s) | Version(s) |
| PowerVM VIOS | 4.1.1 |
| PowerVM VIOS | 4.1.2 |
The vulnerability is being addressed in the following fileset levels:
| Fileset | Lower Level | Upper Level |
| ios.database.rte | 7.3.3.0 | 7.3.3.1 |
| ios.viodb13.rte | 7.3.4.0 | 7.3.4.0 |
| ios.viodb15.rte | 7.3.4.0 | 7.3.4.0 |
Note:
A. Postgres 13 is out of support. Considering long term support, it is advised to upgrade to Postgres 15.
B. The provided remediation, updated ios.viodb13.rte and ios.viodb15.rte filesets, addresses the issues described in the bulletin. However, the ios.database.rte fileset level will remain unchanged even after installing the latest ios.viodb13.rte and ios.viodb15.rte filesets.
To find out whether the affected filesets are installed on your systems, refer to the lssw command found in VIOS user's guide.
Example: lssw | grep -i ios
Remediation/Fixes
FIXES
IBM strongly recommends addressing the vulnerability now.
The VIOS fixes can be downloaded via https from:
https://aix.software.ibm.com/aix/efixes/security/postgres_fix.tar
The link above is to a tar file containing this signed advisory, install packages, and OpenSSL signatures for each package. The fixes below include prerequisite checking. This will enforce the correct mapping between the fixes and VIOS levels.
NOTE: To help with enabling the fix, a README file is provided in the tar file. Once the provided version of ios.viodb13.rte or ios.viodb15.rte is successfully installed, the vulnerabilities reported in this bulletin have been addressed.
To extract the fixes from the tar file:
tar xvf postgres_fix.tar
For postgres 13:
tar xvf postgres_fix/viodb13.tar
For postgres 15:
tar xvf postgres_fix/viodb15.tar
IMPORTANT: If possible, it is recommended that a mksysb backup of the system be created. Verify it is both bootable and readable before proceeding.
To preview the fix installation:
oem_setup_env
installp -apYd . ios
To install the fix package:
oem_setup_env
installp -aXYd . ios
Verify you have retrieved the fixes intact:
The checksums below were generated using the "openssl dgst -sha256 [file]" command as the following:
| openssl dgst -sha256 | filename |
| 36045d6d82f60dc68f399211a92dad6bf63992e5344486eeeb61be88b6bac1cd | ios.viodb13 |
| b2d3bc3f9890dad10ed7a088886fb4d593852a9521401209ae8947f15f0c772c | ios.viodb15 |
These sums should match exactly. The OpenSSL signatures in the tar file and on this advisory can also be used to verify the integrity of the fixes. If the sums or signatures cannot be confirmed, contact IBM Support at http://ibm.com/support/ and describe the discrepancy.
openssl dgst -sha256 -verify [pubkey_file] -signature [advisory_file].sig [advisory_file]
openssl dgst -sha256 -verify [pubkey_file] -signature [ifix_file].sig [ifix_file]
Published advisory OpenSSL signature file location:
https://aix.software.ibm.com/aix/efixes/security/postgres_advisory.asc.sig
Workarounds and Mitigations
None
Get Notified about Future Security Bulletins
References
Acknowledgement
Change History
02 Apr 2026: Initial Publication
*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.
Disclaimer
According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES ""AS IS"" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY. In addition to other efforts to address potential vulnerabilities, IBM periodically updates the record of components contained in our product offerings. As part of that effort, if IBM identifies previously unidentified packages in a product/service inventory, we address relevant vulnerabilities regardless of CVE date. Inclusion of an older CVEID does not demonstrate that the referenced product has been used by IBM since that date, nor that IBM was aware of a vulnerability as of that date. We are making clients aware of relevant vulnerabilities as we become aware of them. "Affected Products and Versions" referenced in IBM Security Bulletins are intended to be only products and versions that are supported by IBM and have not passed their end-of-support or warranty date. Thus, failure to reference unsupported or extended-support products and versions in this Security Bulletin does not constitute a determination by IBM that they are unaffected by the vulnerability. Reference to one or more unsupported versions in this Security Bulletin shall not create an obligation for IBM to provide fixes for any unsupported or extended-support products or versions.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
29 April 2026
Initial Publish date:
02 April 2026
UID
ibm17268496