CWE-226 在释放前未清除敏感信息 类弱点 28 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-226 属于资源管理漏洞,指产品在释放内存或文件等资源供复用前,未清除其中包含的敏感信息。攻击者通常利用此缺陷,通过读取被重新分配的资源来窃取前用户的机密数据,如密码或密钥。开发者应避免此类风险,在资源释放或状态转换前,务必执行彻底的数据清零操作,确保敏感信息不被残留,从而防止信息泄露。
During the transition from A to B, the device does not scrub the memory.For transition from state A to state B, remove information which should not be available once the transition is complete.cleartext_buffer = get_secret();... cleartext_buffer = realloc(cleartext_buffer, 1024); ... scrub_memory(cleartext_buffer, 1024);CWE-226(在释放前未清除敏感信息) 是常见的弱点类别,本平台收录该类弱点关联的 28 条 CVE 漏洞。