Tag Archives: Client

How to apply patches on Oracle Client Database software

Steps to apply the Patch on Oracle Client software to Fix Oracle Client Vulnerabilities

Note: Apply Patch on the Oracle Client to avoid vulnerability issue in the Oracle Java

Following are the steps to apply the patch on Oracle Client

  1. Go to the oracle client home and test the JDK version from home as follows:
C:\test\NT_193000_client_home\bin>cd C:\test\NT_193000_client_home\jdk\bin
C:\test\NT_193000_client_home\jdk\bin>java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) Client VM (build 25.201-b09, mixed mode)

2. Set the Oracle Client home before applying patches on the Oracle client home.

C:\test>set oracle_home=C:\test\NT_193000_client_home
C:\test>set path=%ORACLE_HOME%\bin;%ORACLE_HOME%\opatch;%PATH%
C:\test> set PATH=%ORACLE_HOME%\perl\bin;%PATH%

3. Download the latest Oracle 32-bit patch for the 32-bit Oracle Client home.

4. Download the Opatch 6880880 as mentioned in the README file of the downloaded patch.

5. Check the version of the patch in the existing home

C:\test\NT_193000_client_home\jdk\bin>opatch version
OPatch Version: 12.2.0.1.15
OPatch succeeded.

6. In the README file, need the latest OPatch 12.2.0.1.47 or later to apply as mentioned.

7. Upgrade the opatch utility in the Oracle client home by replacing it with the downloaded version. Simply unzip the opatch utility and swap out the old folder with the new one in the Oracle client home location.

8. After replacing the Opatch folder with latest version Opatch. Verify the result

C:\test\NT_193000_client_home\jdk\bin>opatch version
OPatch Version: 12.2.0.1.47
OPatch succeeded.

9. Check the patch inventory if any patch is already on Oracle Client Home.

C:\test\NT_193000_client_home\jdk\bin>opatch lsinventory
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation. All rights reserved.
Oracle Home : C:\test\NT_193000_client_home
Central Inventory : C:\Program Files (x86)\Oracle\Inventory
from :
OPatch version : 12.2.0.1.47
OUI version : 12.2.0.7.0
Log file location : C:\test\NT_193000_client_home\cfgtoollogs\opatch\opatch2025-09-15_07-36-04AM_1.log
Lsinventory Output file location : C:\test\NT_193000_client_home\cfgtoollogs\opatch\lsinv\lsinventory2025-09-15_07-36-04AM.txt
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: oracleserver01.localhost.in
ARU platform id: 912
ARU platform description:: Microsoft Windows (32-bit)
Installed Top-level Products (1):
Oracle Client 19c 19.0.0.0.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.

10. Unzip the download patch in a folder.

11. Go to folder of patch directory.

C:\test\p37962957_190000_WINNT>cd 37962957
C:\test\p37962957_190000_WINNT\37962957>

12. Apply the Oracle patch on Oracle Client home.

C:\test\p37962957_190000_WINNT\37962957>opatch apply
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation. All rights reserved.
Oracle Home : C:\test\NT_193000_client_home
Central Inventory : C:\Program Files (x86)\Oracle\Inventory
from :
OPatch version : 12.2.0.1.47
OUI version : 12.2.0.7.0
Log file location : C:\test\NT_193000_client_home\cfgtoollogs\opatch\opatch2025-09-15_07-38-52AM_1.log
Verifying environment and performing prerequisite checks...
--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...
Oracle Interim Patch Installer version 12.2.0.1.47
Copyright (c) 2025, Oracle Corporation. All rights reserved.
Oracle Home : C:\test\NT_193000_client_home
Central Inventory : C:\Program Files (x86)\Oracle\Inventory
from :
OPatch version : 12.2.0.1.47
OUI version : 12.2.0.7.0
Log file location : C:\test\NT_193000_client_home\cfgtoollogs\opatch\opatch2025-09-15_07-40-34AM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 37962957
Do you want to proceed? [y|n]
Y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = 'C:\test\NT_193000_client_home')
Is the local system ready for patching? [y|n]
Y
User Responded with: Y
Backing up files...
Applying interim patch '37962957' to OH 'C:\test\NT_193000_client_home'
ApplySession: Optional component(s) [ oracle.network.listener, 19.0.0.0.0 ] , [ oracle.network.cman, 19.0.0.0.0 ] , [ oracle.ctx, 19.0.0.0.0 ] , [ oracle.rhp.crs, 19.0.0.0.0 ] , [ oracle.rdbms.scheduler, 19.0.0.0.0 ] not present in the Oracle Home or a higher version is found.
Patching component oracle.has.common.cvu, 19.0.0.0.0...
Patching component oracle.has.rsf, 19.0.0.0.0...
Patching component oracle.ons, 19.0.0.0.0...
Patching component oracle.rdbms.plsql, 19.0.0.0.0...
Patching component oracle.rdbms.util, 19.0.0.0.0...
Patching component oracle.sqlplus.ic, 19.0.0.0.0...
Patching component oracle.sqlj.sqljruntime, 19.0.0.0.0...
Patching component oracle.sqlplus, 19.0.0.0.0...
Patching component oracle.dbjava.jdbc, 19.0.0.0.0...
Patching component oracle.odbc.ic, 19.0.0.0.0...
Patching component oracle.rdbms.rman, 19.0.0.0.0...
Patching component oracle.dbjava.ucp, 19.0.0.0.0...
Patching component oracle.ldap.rsf, 19.0.0.0.0...
Patching component oracle.precomp.common.core, 19.0.0.0.0...
Patching component oracle.oracore.rsf, 19.0.0.0.0...
Patching component oracle.rdbms.ic, 19.0.0.0.0...
Patching component oracle.ntoledb.odp_net_2, 19.0.0.0.0...
Patching component oracle.xdk.parser.java, 19.0.0.0.0...
Patching component oracle.network.client, 19.0.0.0.0...
Patching component oracle.perlint, 5.14.4.0.0...
Patching component oracle.assistants.deconfig, 19.0.0.0.0...
Patching component oracle.ldap.owm, 19.0.0.0.0...
Patching component oracle.duma, 19.0.0.0.0...
Patching component oracle.precomp.lang, 19.0.0.0.0...
Patching component oracle.ntoledb, 19.0.0.0.0...
Patching component oracle.rdbms.rsf, 19.0.0.0.0...
Patching component oracle.rdbms.install.common, 19.0.0.0.0...
Patching component oracle.ldap.security.osdt, 19.0.0.0.0...
Patching component oracle.rdbms.rsf.ic, 19.0.0.0.0...
Patching component oracle.wwg.plsql, 19.0.0.0.0...
Patching component oracle.precomp.rsf, 19.0.0.0.0...
Patching component oracle.ntoledbolap, 19.0.0.0.0...
Patching component oracle.assistants.acf, 19.0.0.0.0...
Patching component oracle.precomp.common, 19.0.0.0.0...
Patching component oracle.network.rsf, 19.0.0.0.0...
Patching component oracle.install.deinstalltool, 19.0.0.0.0...
Patching component oracle.rdbms.oci, 19.0.0.0.0...
Patching component oracle.rsf, 19.0.0.0.0...
Patching component oracle.nlsrtl.rsf, 19.0.0.0.0...
Patching component oracle.rdbms.install.plugins, 19.0.0.0.0...
Patching component oracle.javavm.client, 19.0.0.0.0...
Patching component oracle.rdbms.deconfig, 19.0.0.0.0...
Patching component oracle.dbjava.ic, 19.0.0.0.0...
Patching component oracle.aspnet_2, 19.0.0.0.0...
Patching component oracle.usm.deconfig, 19.0.0.0.0...
Patching component oracle.dbdev, 19.0.0.0.0...
Patching component oracle.ons.ic, 19.0.0.0.0...
Patching component oracle.xdk, 19.0.0.0.0...
Patching component oracle.has.common, 19.0.0.0.0...
Patching component oracle.xdk.rsf, 19.0.0.0.0...
Patching component oracle.ldap.client, 19.0.0.0.0...
Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...
Patching component oracle.swd.oui.core.min, 12.2.0.7.0...
Patching component oracle.xdk.xquery, 19.0.0.0.0...
Patching component oracle.jdk, 1.8.0.201.0...
Patch 37962957 successfully applied.
Log file location: C:\test\NT_193000_client_home\cfgtoollogs\opatch\opatch2025-09-15_07-40-34AM_1.log
OPatch succeeded.

Test that java of software is updated after patching:

C:\test\NT_193000_client_home\jdk\bin>java -version
java version "1.8.0_451"
Java(TM) SE Runtime Environment (build 1.8.0_451-b10)
Java HotSpot(TM) Client VM (build 25.451-b10, mixed mode)
C:\test\NT_193000_client_home\jdk\bin>tnsping
TNS Ping Utility for 32-bit Windows: Version 19.0.0.0.0 - Production on 15-SEP-2025 09:06:06
Copyright (c) 1997, 2025, Oracle. All rights reserved.
TNS-03502: Insufficient arguments. Usage: tnsping <address> [<count>]