A semiconductor device comprising a semiconductor body with a semiconductor element and a surface on which is present a capacitor with a lower electrode, an oxidic ferroelectric dielectric, and an upper electrode which does not cover any portion of an edge of the oxidic ferroelectric dielectric, an insulating layer with superimposed metal conductor tracks being provided on the semiconductor body, characterized in that a coating layer which is substantially imperviable to hydrogen is provided at the entire area of said edge, said coating layer comprising a hydrogen-absorbing layer which comprises palladium.