IBM SECURITY ADVISORY First Issued: Thu Jul 17 09:32:10 CDT 2025 The most recent version of this document is available here: https://aix.software.ibm.com/aix/efixes/security/rpm_advisory3.asc Security Bulletin: AIX is vulnerable to arbitrary code execution (CVE-2025-3277, CVE-2025-29087) and denial of service (CVE-2025-29088) due to RPM =============================================================================== SUMMARY: Vulnerabilities in RPM could allow an attacker to execute arbitrary code (CVE-2025-3277, CVE-2025-29087) or cause a denial of service (CVE-2025-29088). RPM is used by AIX for package management. =============================================================================== VULNERABILITY DETAILS: CVEID: CVE-2025-3277 https://www.cve.org/CVERecord?id=CVE-2025-3277 DESCRIPTION: An integer overflow can be triggered in SQLite's `concat_ws()` function. The resulting, truncated integer is then used to allocate a buffer. When SQLite then writes the resulting string to the buffer, it uses the original, untruncated size and thus a wild Heap Buffer overflow of size ~4GB can be triggered. This can result in arbitrary code execution. CVSS Base Score: 6.9 CVSS Environmental Score*: Undefined CVSS Vector: (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L) CVEID: CVE-2025-29088 https://www.cve.org/CVERecord?id=CVE-2025-29088 DESCRIPTION: In SQLite 3.49.0 before 3.49.1, certain argument values to sqlite3_db_config (in the C-language API) can cause a denial of service (application crash). An sz*nBig multiplication is not cast to a 64-bit integer, and consequently some memory allocations may be incorrect. CVSS Base Score: 5.6 CVSS Environmental Score*: Undefined CVSS Vector: (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L) CVEID: CVE-2025-29087 https://www.cve.org/CVERecord?id=CVE-2025-29087 DESCRIPTION: In SQLite 3.44.0 through 3.49.0 before 3.49.1, the concat_ws() SQL function can cause memory to be written beyond the end of a malloc-allocated buffer. If the separator argument is attacker-controlled and has a large string (e.g., 2MB or more), an integer overflow occurs in calculating the size of the result buffer, and thus malloc may not allocate enough memory. CVSS Base Score: 7.5 CVSS Environmental Score*: Undefined CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) AFFECTED PRODUCTS AND VERSIONS: AIX 7.2, 7.3 VIOS 3.1, 4.1 The vulnerabilities in the following filesets are being addressed: key_fileset = aix Fileset Lower Level Upper Level KEY --------------------------------------------------------- rpm.rte 4.15.1.1000 4.15.1.1015 key_w_fs rpm.rte 4.15.1.2000 4.15.1.2013 key_w_fs rpm.rte 4.18.1.2000 4.18.1.2005 key_w_fs Note: A. Latest level of RPM fileset is available from the web download site: https://www.ibm.com/resources/mrs/assets?source=aixbp To find out whether the affected filesets are installed on your systems, refer to the lslpp command found in AIX user's guide. Example: lslpp -L | grep -i rpm.rte REMEDIATION: FIXES IBM strongly recommends addressing the vulnerability now. The AIX and VIOS fixes can be downloaded via https from: https://aix.software.ibm.com/aix/efixes/security/rpm_fix3.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 AIX Technology Levels. To extract the fixes from the tar file: tar xvf rpm_fix3.tar For AIX 7.2 TL5: tar xvf rpm_fix3/rpm_41511016.tar For AIX 7.3 TL1: tar xvf rpm_fix3/rpm_41512014.tar For AIX 7.3 TL2 and TL3 and VIOS 4.1: tar xvf rpm_fix3/rpm_41812006.tar AIX Level Fix --------------------------------------- 7.2.5 rpm.rte.4.15.1.1016 7.3.1 rpm.rte.4.15.1.2014 7.3.2 rpm.rte.4.18.1.2006 7.3.3 rpm.rte.4.18.1.2006 VIOS Level Fix --------------------------------------- 3.1.4 rpm.rte.4.15.1.1016 4.1.0 rpm.rte.4.15.1.2014 4.1.1 rpm.rte.4.18.1.2006 IMPORTANT: If possible, it is recommended that a mksysb backup of the system be created. Verify it is both bootable and readable before proceeding. Note that all the previously reported security vulnerability fixes are also included in above mentioned fileset level. To preview the fix installation: installp -apYd . rpm To install the fix package: installp -aXYd . rpm 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 KEY ------------------------------------------------------------------------------------------------- 6b68d47c6bf102ec290232cd06f8ef6a12f2a64c570904c2c887d4c2320b82ad rpm.rte.4.15.1.1016 key_w_csum 9a941cefc8af7bb7b0908c4e98e531ef1c3ab39eda5808a842bd53fab6c950a2 rpm.rte.4.15.1.2014 key_w_csum 6e0ace0f3fcd059387b50c1052a213d715389cf86bd3ba8ba02acdc686cbbb36 rpm.rte.4.18.1.2006 key_w_csum 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/rpm_advisory3.asc.sig WORKAROUNDS AND MITIGATIONS: None. =============================================================================== CONTACT US: Note: Keywords labeled as KEY in this document are used for parsing purposes. If you would like to receive AIX Security Advisories via email, please visit "My Notifications": http://www.ibm.com/support/mynotifications Contact IBM Support for questions related to this announcement: https://ibm.com/support/ For information on how to securely verify AIX security bulletins and fixes: https://www.ibm.com/support/pages/node/6985269 To obtain the OpenSSL public key that can be used to verify the signed advisories and ifixes: Download the key from our web page: https://aix.software.ibm.com/aix/efixes/security/systems_p_os_aix_security_pubkey.txt To verify the AIX/VIOS security bulletin: Published advisory OpenSSL signature file location: https://aix.software.ibm.com/aix/efixes/security/rpm_advisory3.asc.sig openssl dgst -sha256 -verify [pubkey_file] -signature [advisory_file].sig [advisory_file] Please contact your local IBM AIX support center for any assistance. REFERENCES: Complete CVSS v3 Guide: http://www.first.org/cvss/user-guide On-line Calculator v3: http://www.first.org/cvss/calculator/3.0 RELATED INFORMATION: IBM Secure Engineering Web Portal http://www.ibm.com/security/secure-engineering/bulletins.html IBM Product Security Incident Response Blog https://www.ibm.com/blogs/psirt/ Security Bulletin: AIX is vulnerable to arbitrary code execution (CVE-2025-3277, CVE-2025-29087) and denial of service (CVE-2025-29088) due to RPM https://www.ibm.com/support/pages/node/7239958 ACKNOWLEDGEMENTS: None. CHANGE HISTORY: First Issued: Thu Jul 17 09:32:10 CDT 2025 =============================================================================== *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.