Certain operation (e.g. chroot())require elevated level of privileges that should be declined after performing the operation. Durable privileges elevation will allow attackers to get access to resources not allowed for them before and cause buffer overflow.
The weakness is introduced during Architecture and Design, Implementaton, Operation stages.
Latest vulnerabilities for CWE-272
Description of CWE-272 on Mitre website