What's new and changed in Db2

Db2 updates can include new features and fixes. Releases are listed in reverse chronological order so that the latest release is at the beginning of the topic.

You can see a list of the new features for the platform and all of the services at What's new in IBM Software Hub.

Installing or upgrading Db2

Ready to install or upgrade Db2?

  • To install Db2 along with the other IBM® Software Hub services, see Installing IBM Software Hub.
  • To upgrade Db2 along with the other IBM Software Hub services, see Upgrading IBM Software Hub.
  • To install or upgrade Db2 independently, see Db2.
    Remember: All of the IBM Software Hub components associated with an instance of IBM Software Hub must be installed at the same version.

IBM Software Hub Version 5.2.2

A new version of Db2 was released in October 2025 with IBM Software Hub 5.2.2.

Operand version: 5.2.2

This release includes the following changes:

Security issues fixed in this release
The following security issues were fixed in this release:

CVE-2025-5914, CVE-2025-8194, CVE-2025-8941, CVE-2025-21727, CVE-2025-21867, CVE-2025-21928, CVE-2025-21929, CVE-2025-22020, CVE-2025-22058, CVE-2025-22097, CVE-2025-24970, CVE-2025-32415, CVE-2025-37803, CVE-2025-37810, CVE-2025-37823, CVE-2025-37890, CVE-2025-37914, CVE-2025-38052, CVE-2025-38079, CVE-2025-38084, CVE-2025-38085, CVE-2025-38087, CVE-2025-38124, CVE-2025-38159, CVE-2025-38200, CVE-2025-38211, CVE-2025-38250, CVE-2025-38292, CVE-2025-38332, CVE-2025-38350, CVE-2025-38352, CVE-2025-38380, CVE-2025-38392, CVE-2025-38449, CVE-2025-38461, CVE-2025-38464, CVE-2025-38471, CVE-2025-38472, CVE-2025-38498, CVE-2025-38500, CVE-2025-38527, CVE-2025-38550, CVE-2025-38718, CVE-2025-39682, CVE-2025-39698, CVE-2025-47273, CVE-2025-55163, CVE-2025-58056, CVE-2025-58057

CVE-2024-36623

CVE-2023-53125

CVE-2022-29458, CVE-2022-49788

IBM Software Hub Version 5.2.1

A new version of Db2 was released in August 2025 with IBM Software Hub 5.2.1.

Operand version: 5.2.1

This release includes the following changes:

Issues fixed in this release
The following issues were fixed in this release:
Service instance in unknown state post backup and restore
Security issues fixed in this release
The following security issues were fixed in this release:

CVE-2025-3445, CVE-2025-4138, CVE-2025-4330, CVE-2025-4435, CVE-2025-4517, CVE-2025-4802, CVE-2025-6020, CVE-2025-6021, CVE-2025-6965, CVE-2025-7425, CVE-2025-21756, CVE-2025-21759, CVE-2025-21764, CVE-2025-21887, CVE-2025-21905, CVE-2025-21919, CVE-2025-21920, CVE-2025-21926, CVE-2025-21966, CVE-2025-21969, CVE-2025-21979, CVE-2025-21991, CVE-2025-21999, CVE-2025-22004, CVE-2025-22055, CVE-2025-22085, CVE-2025-22091, CVE-2025-22104, CVE-2025-22113, CVE-2025-22121, CVE-2025-22126, CVE-2025-22868, CVE-2025-23150, CVE-2025-27817, CVE-2025-32462, CVE-2025-37738, CVE-2025-37750, CVE-2025-37785, CVE-2025-37797, CVE-2025-37943, CVE-2025-38086, CVE-2025-38089, CVE-2025-46762, CVE-2025-47273, CVE-2025-48734, CVE-2025-49794, CVE-2025-49796, CVE-2025-52999, CVE-2025-53547

CVE-2024-22201, CVE-2024-34156, CVE-2024-45338, CVE-2024-47561, CVE-2024-51504, CVE-2024-52533, CVE-2024-52798, CVE-2024-57980, CVE-2024-58002

CVE-2023-39410, CVE-2023-52933

CVE-2022-49846, CVE-2022-3424

IBM Software Hub Version 5.2.0

A new version of Db2 was released in June 2025 with IBM Software Hub 5.2.0.

Operand version: 5.2.0

This release includes the following changes:

New features
This release of Db2 includes the following features:
Take advantage of the improved efficiency, simplicity, and reliability of IBM Db2 12.1
Now when you install the Db2 service on IBM Software Hub, you are installing IBM Db2 12.1.
Db2 12.1 is a major release of IBM's Db2 database management system that focuses on AI-powered query optimization, security and manageability enhancements, and cloud object storage capabilities. Db2 12.1 includes a number of new and improved capabilities, including the following highlights:
  • You can now use the AI-enhanced query optimizer to gain key improvements to functions of the optimizer that are suited to using AI techniques, such as estimating the number of rows that are processed by an access plan operator, known as the cardinality estimate. Use the improved estimate to more accurately determine the cost of that operator.
  • You can now use a simplified edition of Db2 called IBM Db2 Starter Edition to get easier access to core data management capabilities for new applications and services.
  • You can now improve the performance of insert operations by running bulk insert operations for Snowflake data sources in a Db2 Federation ODBC wrapper.
  • You can now insert large object (LOB) values from optimized data sources into same-type columns in Db2 federated database tables.
For more information about these features and other enhancements in Db2 12.1, see What's new in Db2 12.1 in the IBM Db2 documentation.
Use the Db2uInstance custom resource (CR) to deploy new databases
You can now use the new Db2uInstance custom resource to deploy your Db2 databases. It provides a significant performance increase on cloud platforms such as Amazon Web Services (AWS) and Azure. All new deployments will be on the new CRD, Db2uInstance. Existing deployments will stay on Db2uCluster.
Configure Db2 to use Cloud Pak for Data backup and restore by using a custom Velero plugin
You must now use the custom Velero plugin, db2u-velero-plugin, in the DataProtectionApplication (DPA) to enable Cloud Pak for Data Backup and Restore (CPDBR) for Db2 service instances. The plugin simplifies the backup and restore operation for all Kubernetes resources belonging to a Db2 instance.
Updates
The following updates were introduced in this release:exp-cpd-short
  • The number of Units of work (UOWs) that can be processed before an offline REORG TABLE operation is required is increased from 3 to 31.
  • Five new fields are added to the history file entry. In addition, the maximum size of the COMMENT field is increased from 30 characters to 254 characters.
For a full list of enhancements and changes introduced in Db2 12.1, see What's new in Db2 12.1 in the IBM Db2 documentation.
Issues fixed in this release
The following issues were fixed in this release:
Db2 database is stuck when upgrading
  • Issue: Db2 databases upgrading from version 5.0.3 to version 5.1.0 can get stuck at InProgress state.
Deprecated features
The following features were deprecated in this release:
Db2uCluster
The Db2uCluster custom resource has been deprecated and will be removed in a future release. To avoid future compatibility errors, you need to migrate your existing databases from Db2uCluster to Db2uInstance. To migrate, complete a backup of your Db2uCluster database and then restore to a new Db2uInstance database. For more information, see Backing up a database and Restoring a database.