Being panicked by the gun attack, a sexagenarian man who witnessed the incident died of cardiac arrest.
The deceased were identified as Bachnu Marma, 50, president of ward-7 unit of Baghmara union AL, and Bakhrai Marma, 63, of the area.
Shahidul Islam, officer-in-charge of Sadar Police Station, said some unidentified men opened fire indiscriminately at Jamcharipara Bazar around 7:30pm.
The incident left Bachnu dead and five other people injured.
Out of panic, Bakhrai Marma suffered a cardiac arrest and died on the spot.
The injured were taken to Sadar Hospital. Currently, they are undergoing treatment under the supervision of Bangladesh Army, the OC added.
Kya Aung Pru, chairman of the local union parishad, said the incident sparked panic among the locals.