The San Bernardino County Sheriff's Department said the two law enforcement officers were being airlifted to a hospital with unknown injuries.
The shootout occurred after deputies who were searching for Christopher Dorner in the Big Bear area responded to a report of a stolen vehicle in the area about 12:20 p.m.
The people whose vehicle was stolen described the suspect as looking very similar to Dorner.
Police located the vehicle, and the suspect ran into the forest and barricaded himself inside a cabin. A short time later there was an exchange of gunfire between law enforcement and the suspect.
It's not clear which agency the two wounded agents belong to, State Fish and Wildlife Assistant Chief Dan Sforza told KCAL.
It's also believed Dorner previously committed a residential burglary of a cabin where a couple was tied up, an officer told The Associated Press.
The officer requested anonymity because the officer was not authorized to speak publicly about the ongoing investigation.
One of the people was able to get away and make a call.