1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"captures": {
"compact_too_large": {
"blob_cbor_plus_200": 62522,
"blob_payload_bytes": 63156,
"blob_payload_json_sha256": "b7cb5bb98f83e24fd3be155f9360ea009ce993e0f68a04e0c167406adaa7b9bb",
"canonical_json_sha256": "de0ef26fb28aeccf250f78b11d2af1fa44107a16161743a6be558ab3e83331d4",
"cbor_sha256": "1adaeac36e5fd2a0c9a1477d2d715e2f7eebe5524347059f9d9f7dea4132c7c6",
"cid": "bafyreia23lvmg3s72kqmtikhpuwxcxrpp3v6kusdi4cz7hm7pxvecmwhyy",
"compact_record": null,
"cve_id": "CVE-2025-65535",
"gzip_bytes": 845,
"gzip_sha256": "f73463992793bd031fcf17a0875da451fde8fce0ce0cf39409f6e01c4559320b",
"input": "inputs/compact_too_large.json",
"mode": "skip",
"normal_or_compact_cbor_bytes": 63051,
"prepared_record_bytes": 62522,
"raw_json_bytes": 63148,
"raw_json_chars": 63148,
"raw_size_branch": "cbor_size_check",
"reason": "compact_too_large",
"rkey": "CVE-2025-65535"
},
"non_ascii": {
"blob_cbor_plus_200": null,
"blob_payload_bytes": null,
"blob_payload_json_sha256": null,
"canonical_json_sha256": "87b1bbecce8440056d699ef1251e52e84b13fab3eec4303bb002d87d13b49911",
"cbor_sha256": "503ec6cff02e17e5ca17c7e8a154348998abea98e97d560e3d089d6537b743f9",
"cid": "bafyreicqh3dm74boc7s4uf6h5cqvinejtcv6vghjpvla4piitvstpn2d7e",
"compact_record": null,
"cve_id": "CVE-2025-2001",
"gzip_bytes": null,
"gzip_sha256": null,
"input": "inputs/non_ascii.json",
"mode": "normal",
"normal_or_compact_cbor_bytes": 1492,
"prepared_record_bytes": 2040,
"raw_json_bytes": 2040,
"raw_json_chars": 2040,
"raw_size_branch": "normal_fast_path",
"reason": null,
"rkey": "CVE-2025-2001"
},
"oversized": {
"blob_cbor_plus_200": 529,
"blob_payload_bytes": 139270,
"blob_payload_json_sha256": "6be583bd82348de536f7408d472ae17c3a830e3250dea8953d541786e5c0e65e",
"canonical_json_sha256": "1adfbc80de8988a8986810b34987bfa9159370e1633974a94d57e7ba77ce5085",
"cbor_sha256": "35837dba4435fad0b79cfc6ca07e0fd8ba7b76061f88b9c2951b252f2a5f2f25",
"cid": "bafyreibvqn63urbv7lilphh4nsqh4d6yxj5xmbq7rc44ffi3euxsuxzpeu",
"compact_record": {
"$type": "com.nahdig.cve.nvdV2",
"createdAt": "2026-11-11T00:00:00.000Z",
"dataBytes": 139270,
"dataEncoding": "gzip",
"dataSha256": "6be583bd82348de536f7408d472ae17c3a830e3250dea8953d541786e5c0e65e",
"id": "CVE-2025-9999",
"lastModified": "2026-11-01T08:30:00.000Z",
"published": "2025-10-01T12:00:00.000Z",
"sourceIdentifier": "security@example.invalid",
"vulnStatus": "Analyzed"
},
"cve_id": "CVE-2025-9999",
"gzip_bytes": 3095,
"gzip_sha256": "a1c3f23790fbeede02c2ca39581e4b7bc8310312748cca2b7be8b48a1f9fdf8e",
"input": "inputs/oversized.json",
"mode": "blob",
"normal_or_compact_cbor_bytes": 329,
"prepared_record_bytes": 529,
"raw_json_bytes": 139262,
"raw_json_chars": 139262,
"raw_size_branch": "cbor_size_check",
"reason": null,
"rkey": "CVE-2025-9999"
},
"small": {
"blob_cbor_plus_200": null,
"blob_payload_bytes": null,
"blob_payload_json_sha256": null,
"canonical_json_sha256": "7a693e1688dbf49fd0d8c6544a8a3d7594fb94f107f7f7abbeaab911c9c586b7",
"cbor_sha256": "0f067afd85814690b4f90fbb63a99b6f2f1e6b8809f71d22f6021deba13a7447",
"cid": "bafyreiapaz5p3bmbi2ilj6ipxnr2tg3pf4pgxcaj64osf5qcdxv2cotui4",
"compact_record": null,
"cve_id": "CVE-2024-3094",
"gzip_bytes": null,
"gzip_sha256": null,
"input": "inputs/small.json",
"mode": "normal",
"normal_or_compact_cbor_bytes": 1119,
"prepared_record_bytes": 1218,
"raw_json_bytes": 1218,
"raw_json_chars": 1218,
"raw_size_branch": "normal_fast_path",
"reason": null,
"rkey": "CVE-2024-3094"
},
"threshold_over": {
"blob_cbor_plus_200": null,
"blob_payload_bytes": null,
"blob_payload_json_sha256": null,
"canonical_json_sha256": "feed8eb91ee09ea1d7da2d78168f6a0db225b0e1ebba5cdba0d78257bc025e0d",
"cbor_sha256": "067dd4dbbb4ae4184b6affc4e662cb3b6dfd25045d9ed40ee484420a424939ef",
"cid": "bafyreiagpxknxo2k4qmew2x7yttgfsz3nx6skbc5t3ka5zeeiifeesjz54",
"compact_record": null,
"cve_id": "CVE-2025-49152",
"gzip_bytes": null,
"gzip_sha256": null,
"input": "inputs/threshold_over.json",
"mode": "normal",
"normal_or_compact_cbor_bytes": 49054,
"prepared_record_bytes": 49054,
"raw_json_bytes": 49152,
"raw_json_chars": 49152,
"raw_size_branch": "cbor_size_check",
"reason": null,
"rkey": "CVE-2025-49152"
},
"threshold_under": {
"blob_cbor_plus_200": null,
"blob_payload_bytes": null,
"blob_payload_json_sha256": null,
"canonical_json_sha256": "2710a257a825b99d765a12669d28903916da6e3e2089898601e68ba6d7262f71",
"cbor_sha256": "44798efb94a4b676787782328f41918fd5e4a69455acc54eb7acbb72d0115272",
"cid": "bafyreicepghpxffewz3hq54cgkhudemp2xsknfcvvtcu5n5mxnznaeksoi",
"compact_record": null,
"cve_id": "CVE-2025-49151",
"gzip_bytes": null,
"gzip_sha256": null,
"input": "inputs/threshold_under.json",
"mode": "normal",
"normal_or_compact_cbor_bytes": 49053,
"prepared_record_bytes": 49151,
"raw_json_bytes": 49151,
"raw_json_chars": 49151,
"raw_size_branch": "normal_fast_path",
"reason": null,
"rkey": "CVE-2025-49151"
}
},
"constants": {
"BLOB_MAX": 5242880,
"BLOB_MIME": "application/gzip",
"BLOB_REF_OVERHEAD": 200,
"COMPACT_INDEX_FIELDS": [
"id",
"sourceIdentifier",
"published",
"lastModified",
"vulnStatus"
],
"JSON_ENCODE_THRESHOLD": 49152,
"RECORD_MAX": 65536,
"RECORD_TARGET": 61440,
"RECORD_TYPE": "com.nahdig.cve.nvdV2"
},
"frozen_created_at": "2026-11-11T00:00:00.000Z",
"hash_methods": {
"canonical_json_sha256": "sha256 of canonical UTF-8 JSON (recursively sorted keys, compact separators, non-ASCII preserved); record is the normal record for mode=normal and mode=skip, and the compact record for mode=blob. createdAt is frozen to frozen_created_at for reproducibility.",
"cbor": "DAG-CBOR encoded length of the record; record is the normal record or, for mode=blob, the compact record",
"cid": "CIDv1 dag-cbor (0x71), sha2-256 multihash, base32, over the canonical DAG-CBOR bytes",
"gzip": "sha256 of gzip(canonical JSON bytes, level 9, mtime 0)",
"raw_json": "compact ASCII JSON as stored in cves.data; raw_json_chars counts characters (the prepare_row size branch), raw_json_bytes is UTF-8 length"
},
"notes": [
"compact_record is prepare_row output before blob upload: it has no dataBlob member. The blob ref is attached at publish time and blob_cbor_plus_200 = compact CBOR + the 200-byte ref reservation.",
"gzip_sha256 records the reference encoder's bytes. Gzip implementations may differ byte-for-byte; compare decompressed payload bytes plus dataSha256/dataBytes first.",
"raw_json uses ASCII escaping; canonical_json and the gzip payload use UTF-8.",
"CIDs use DAG-CBOR codec 0x71 and sha2-256 multihash with canonical key ordering."
],
"schema_version": 1
}