Join our Newsletter — 33% off our NHI Course
Governance, Ownership & Risk

Zero fill

← Back to Glossary
By NHI Mgmt Group Updated October 17, 2026 Domain: Governance, Ownership & Risk

Zero fill is the process of overwriting storage or memory with zeros to remove residual data. It is used before reuse or disposal of media, but defenders should verify that it actually touches the relevant blocks, because thin provisioning, wear levelling, and remapped sectors can leave recoverable data behind.

What zero fill actually does

Zero fill overwrites storage or memory with zeros to reduce recoverable residue from prior use. The security value depends on whether the operation truly reaches the underlying blocks or cells, not just the logical address space that the operating system or application can see.

That distinction matters because modern storage layers can preserve old data outside the path the erase command touches. Thin provisioning may leave unmapped areas unchanged, wear levelling may redirect writes elsewhere, and remapped sectors may retain stale content even after a successful-looking overwrite.

Where zero fill is used

Zero fill is commonly used before media reuse, system redeployment, decommissioning, and some forms of buffer initialisation. It is also used as a defensive hygiene step when organisations want to prevent accidental disclosure from residual data left on disks, flash devices, or memory pages.

In practice, zero fill is only one disposal technique. Its effectiveness varies by medium and controller design, so the same action can be acceptable in one environment and incomplete in another. For that reason, teams should treat it as a sanitisation method with technical limits, not as a universal guarantee of destruction.

Why verification is part of the term

With zero fill, the real question is whether the relevant physical locations were actually overwritten. A pass that completes without error may still miss stale data if abstraction layers, spare blocks, caching, or device remapping sit between the command and the underlying media.

Verification therefore belongs to the concept itself. For storage, that may mean confirming the sanitisation method matches the device type and retirement goal. For memory, it may mean ensuring the data path cannot be recovered from a snapshot, dump, or remnant allocation after the fill operation finishes.

Security consequences of incomplete zero fill

Incomplete zero fill can leave recoverable credentials, records, application data, or forensic artefacts behind. That creates confidentiality risk during asset reuse, disposal, repair, or redeployment, especially when the asset leaves direct organisational control.

When zero fill fails to reach the blocks that still contain old information, the failure is usually invisible to the operator. The result is a false sense of sanitisation, followed by later recovery through forensic tools, controller-level remapping, or device-specific data reconstruction techniques.

Risk and Threat Considerations

Zero fill carries a material data remanence risk whenever the sanitisation method is not matched to the media design. The danger is not the overwrite command itself, but the assumption that a logical write guarantees physical erasure on thin-provisioned, remapped, or wear-levelled storage.

Failure mechanism: Abstraction layers and device management features can preserve old bytes outside the exact locations the fill operation updates, leaving recoverable residual data on unused, spare, or remapped areas.

Impact: Sensitive data may survive reuse or disposal and later be exposed through forensic recovery, vendor handling, internal redeployment, or accidental access by an untrusted recipient.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 sets the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5MP-6 — Media SanitizationZero fill is a media sanitization method used to remove residual data before reuse or disposal.
SI-12 — Information Management and RetentionZero fill is used to clear residual information from storage or memory before reuse.
Recommendation — Apply MP-6 to choose a sanitization method that matches the media type and disposal objective. Use SI-12 to define when residual data must be cleared before assets are reassigned or retired.
ISO/IEC 27001:2022A.7.14 — Secure disposal or re-use of equipmentZero fill is directly relevant to securely reusing or disposing of equipment that may retain data.
Recommendation — Use A.7.14 to ensure equipment disposal or reuse includes effective sanitization checks.

Practitioner Guidance

Why practitioners should care: Zero fill should be selected only when the sanitisation method is appropriate for the specific medium and destruction objective. For modern storage, the control question is not simply whether the command ran, but whether the device architecture makes that command a trustworthy wiping method.

What to watch for: Treat thin provisioning, wear levelling, remapped sectors, encryption layers, and controller behaviour as signals that a simple overwrite may be insufficient. When those features are present, choose a disposal approach that is demonstrably aligned to the hardware and the residual-data risk.

Practitioner takeaway: Use zero fill as a deliberate sanitisation step, then confirm that the chosen method is technically capable of eliminating the specific data remnants your environment could still retain.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org