We analyze the existence and stability of nonlinear localized waves in a pe
riodic medium described by the Kronig-Penney model with a nonlinear defect.
We demonstrate the existence of a novel type of stable nonlinear band-gap
localized state, and also reveal a generic physical mechanism of the oscill
atory wave instabilities associated with the band-gap resonances.