it depends on the kind of ester you have....methyl esters hardly would be affected by cat. hydrogenation which would reduce your nitrile...in case of benzylesters this would give in turn the corresponding aldehyde....
Catalytic hydrogenation; good selectivity for nitriles can be achieved with Raney Cobalt. See Org. Biomol. Chem., 2014, 12, 7433 for a recent review on that reagent.
You can kindly go through the patent where you will find selective reduction of nitrile in presence of ester/ or you can try with Raney nickel in methanol ammonia (10-12% ammonia) solution under 65-70 psi Hydrogen pressure.