WordPerfect dictionary file

application/octet-stream

Safe

Magic Bytes

Offset: 0
43 44 30 30 31

The WordPerfect Dictionary (CBD) file is a proprietary linguistic database format developed by Corel Corporation for use within its office productivity software. This format stores extensive word lists and grammar rules that enable the application’s spell-checking, hyphenation, and thesaurus functionalities during document composition. As a passive binary resource found primarily in legacy WordPerfect environments, the format is considered safe and poses a negligible security risk to modern systems.

Extension

.cbd

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .cbd files in Python

Python
def is_cbd(file_path: str) -> bool:
    """Check if file is a valid CBD by magic bytes."""
    signature = bytes([0x43, 0x44, 0x30, 0x30, 0x31])
    with open(file_path, "rb") as f:
        return f.read(5) == signature

How to validate .cbd files in Node.js

Node.js
function isCBD(buffer: Buffer): boolean {
  const signature = Buffer.from([0x43, 0x44, 0x30, 0x30, 0x31]);
  return buffer.subarray(0, 5).equals(signature);
}
Go
func IsCBD(data []byte) bool {
    signature := []byte{0x43, 0x44, 0x30, 0x30, 0x31}
    if len(data) < 5 {
        return false
    }
    return bytes.Equal(data[:5], signature)
}

API Endpoint

GET /api/v1/cbd
curl https://filesignature.org/api/v1/cbd

Related Formats