<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Cwe | FirewallSync</title><link>https://firewallsync.com/tags/cwe/</link><description>Practical cybersecurity writing for engineering teams that ship fast.</description><language>en-us</language><image><url>https://firewallsync.com/icon-512.png</url><title>FirewallSync</title><link>https://firewallsync.com/</link></image><lastBuildDate>Sun, 15 Nov 2026 04:50:00 +0000</lastBuildDate><atom:link href="https://firewallsync.com/tags/cwe/index.xml" rel="self" type="application/rss+xml"/><item><title>CVE problemTypes and cweId: Getting CWE From CVE JSON</title><link>https://firewallsync.com/posts/cve-problemtypes-cweid-cwe-from-cve-json/</link><guid>https://firewallsync.com/posts/cve-problemtypes-cweid-cwe-from-cve-json/</guid><pubDate>Sun, 15 Nov 2026 04:50:00 +0000</pubDate><dc:creator>Craig Leslie</dc:creator><category>AppSec &amp; APIs</category><description>The CWE for a CVE lives in problemTypes[].descriptions[].cweId, but a count across the November 15, 2026 cvelistV5 snapshot shows 24% of 2026 CVE records have no CNA cweId. Where the gaps come from, what CISA-ADP fills in (often CWE-284), and a parser that handles all four cases.</description><enclosure url="https://firewallsync.com/posts/cve-problemtypes-cweid-cwe-from-cve-json/cover_hu11811165115856360047.jpg" type="image/jpeg" length="0"/><media:content url="https://firewallsync.com/posts/cve-problemtypes-cweid-cwe-from-cve-json/cover_hu11811165115856360047.jpg" medium="image" type="image/jpeg" width="1200" height="630"/><content:encoded><![CDATA[<p><img src="https://firewallsync.com/posts/cve-problemtypes-cweid-cwe-from-cve-json/cover_hu11811165115856360047.jpg" alt="Rows of wooden library card catalogue drawers with metal label holders, receding into soft focus" width="1200" height="630"></p><p><strong>Short answer:</strong> the CWE for a CVE is in <code>containers.cna.problemTypes[].descriptions[].cweId</code>. That field is optional, and a lot of records do not have it. Of the 97,709 CVE records published in 2026 in the cvelistV5 snapshot of November 15, 2026, <strong>24.1% have no CNA <code>cweId</code></strong>: 13,044 carry only text and 10,476 have no <code>problemTypes</code> at all. CISA-ADP fills 15,650 of those gaps, most often with CWE-284, a mapping CWE itself discourages. If you build CWE metrics from CVE JSON, read three places in a fixed order and keep track of which one answered.</p>
<p>This is a field-level guide for engineers building weakness dashboards, SAST/CVE correlation or CWE Top 25-style reports from raw CVE data. Where it fits in the larger triage flow is covered in the <a href="/posts/vulnerability-prioritization-workflow-cve-record-to-patch-ticket/">vulnerability prioritization workflow</a>. How ADP containers work in general is in <a href="/posts/cve-adp-containers-cisa-adp-cve-program-supplier-sadp/">CVE ADP containers: CISA-ADP, CVE Program and supplier ADPs</a>.</p>
<h2 id="the-problemtypes-structure">The problemTypes structure</h2>
<p>The <a href="https://github.com/CVEProject/cve-schema/blob/main/schema/CVE_Record_Format.json">CVE Record Format schema</a> (v5.2.0 in the repository) defines <code>problemTypes</code> as an array with at least one item. Each item has a required <code>descriptions</code> array, and each description object looks like this:</p>
<table>
  <thead>
      <tr>
          <th>Property</th>
          <th>Required</th>
          <th>Schema constraint</th>
          <th>What it holds</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><code>lang</code></td>
          <td>yes</td>
          <td>language tag</td>
          <td><code>en</code>, <code>en-US</code></td>
      </tr>
      <tr>
          <td><code>description</code></td>
          <td>yes</td>
          <td>string, 1-4096 chars</td>
          <td>&ldquo;Text description of problemType, or title from CWE or OWASP.&rdquo;</td>
      </tr>
      <tr>
          <td><code>cweId</code></td>
          <td>no</td>
          <td><code>^CWE-[1-9][0-9]*$</code>, 5-9 chars</td>
          <td>&ldquo;CWE ID of the CWE that best describes this problemType entry.&rdquo;</td>
      </tr>
      <tr>
          <td><code>type</code></td>
          <td>no</td>
          <td>free string, 1-128 chars</td>
          <td>&ldquo;Problemtype source, text, OWASP, CWE, etc.,&rdquo;</td>
      </tr>
      <tr>
          <td><code>references</code></td>
          <td>no</td>
          <td>references array</td>
          <td>supporting links</td>
      </tr>
  </tbody>
</table>
<p>A well-formed CNA entry:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span><span style="color:#e6db74">&#34;problemTypes&#34;</span><span style="color:#960050;background-color:#1e0010">:</span> [
</span></span><span style="display:flex;"><span>  { <span style="color:#f92672">&#34;descriptions&#34;</span>: [
</span></span><span style="display:flex;"><span>      { <span style="color:#f92672">&#34;lang&#34;</span>: <span style="color:#e6db74">&#34;en&#34;</span>, <span style="color:#f92672">&#34;type&#34;</span>: <span style="color:#e6db74">&#34;CWE&#34;</span>, <span style="color:#f92672">&#34;cweId&#34;</span>: <span style="color:#e6db74">&#34;CWE-352&#34;</span>,
</span></span><span style="display:flex;"><span>        <span style="color:#f92672">&#34;description&#34;</span>: <span style="color:#e6db74">&#34;CWE-352 Cross-Site Request Forgery (CSRF)&#34;</span> } ] }
</span></span><span style="display:flex;"><span>]
</span></span></code></pre></div><p>Two schema details cause most parser bugs:</p>
<ul>
<li><strong><code>problemTypes</code> is not required for a CNA.</strong> The <code>cnaPublishedContainer</code> required list is <code>providerMetadata</code>, <code>descriptions</code>, <code>affected</code> and <code>references</code>. The schema&rsquo;s description text says the field &ldquo;Must contain: At least one entry&rdquo;, but validation will not enforce that.</li>
<li><strong><code>type</code> is free text.</strong> In the full corpus the most common values are <code>CWE</code> (198,469 descriptions) and <code>text</code> (183,625), then a missing <code>type</code> (19,161), <code>Impact</code> (2,778) and lower-case <code>cwe</code> (1,586), plus a tail of one-off values such as &ldquo;RCE (Remote Code Execution)&rdquo;. <code>type: &quot;CWE&quot;</code> does not guarantee a <code>cweId</code> is present.</li>
</ul>
<p>The program rules match the schema&rsquo;s looseness. <a href="https://www.cve.org/Resources/Roles/Cnas/CNA_Rules_v4.1.0.pdf">CNA Operational Rules 4.1.0</a> (effective May 14, 2025), rule 5.1.7, say a CNA &ldquo;MUST identify the type of Vulnerability&rdquo; and that the record &ldquo;SHOULD use the Common Weakness Enumeration (CWE)&rdquo;. A text label satisfies the MUST.</p>
<h2 id="how-often-the-cna-supplies-a-cweid">How often the CNA supplies a cweId</h2>
<p>We streamed the <code>2026-11-15_all_CVEs_at_midnight</code> release zip from cvelistV5 and counted every record in state <code>PUBLISHED</code>, grouped by the year of <code>cveMetadata.datePublished</code>. Each record lands in exactly one CNA bucket.</p>
<table>
  <thead>
      <tr>
          <th>Publication year</th>
          <th>Published records</th>
          <th>CNA cweId</th>
          <th>CNA text only</th>
          <th>No problemTypes</th>
          <th>No cweId anywhere (CNA or CISA-ADP)</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>2024</td>
          <td>39,924</td>
          <td>25,623 (64.2%)</td>
          <td>9,054 (22.7%)</td>
          <td>5,247 (13.1%)</td>
          <td>5,366 (13.4%)</td>
      </tr>
      <tr>
          <td>2025</td>
          <td>48,150</td>
          <td>34,764 (72.2%)</td>
          <td>6,982 (14.5%)</td>
          <td>6,404 (13.3%)</td>
          <td>5,626 (11.7%)</td>
      </tr>
      <tr>
          <td>2026 (to Nov 15)</td>
          <td>97,709</td>
          <td>74,189 (75.9%)</td>
          <td>13,044 (13.3%)</td>
          <td>10,476 (10.7%)</td>
          <td>7,870 (8.1%)</td>
      </tr>
  </tbody>
</table>
<p>CNA coverage is improving year on year, but roughly one in four 2026 records still needs a fallback. Most records with a CNA <code>cweId</code> have exactly one: across all years, 157,531 of 177,478 (88.8%) list a single distinct CWE and 19,947 list two or more. Treat <code>cweId</code> as a set, not a scalar.</p>
<h2 id="where-the-gaps-come-from">Where the gaps come from</h2>
<p>The gaps are not random. They follow individual CNAs&rsquo; publishing habits, which matters because a dashboard filtered to one vendor can show zero CWE data for that vendor without anything being wrong with your parser.</p>
<table>
  <thead>
      <tr>
          <th>CNA (<code>assignerShortName</code>)</th>
          <th>2026 records</th>
          <th>Pattern</th>
          <th>Example</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td><code>Linux</code></td>
          <td>8,262</td>
          <td>no <code>problemTypes</code> in any 2026 record</td>
          <td>CVE-2026-74687</td>
      </tr>
      <tr>
          <td><code>oracle</code></td>
          <td>4,154</td>
          <td>all text only (risk sentence such as &ldquo;Easily exploitable vulnerability allows &hellip;&rdquo;)</td>
          <td>CVE-2026-82997</td>
      </tr>
      <tr>
          <td><code>mitre</code></td>
          <td>3,773</td>
          <td>3,027 text-only, description <code>n/a</code></td>
          <td>CVE-2026-104586</td>
      </tr>
      <tr>
          <td><code>WPScan</code></td>
          <td>2,314</td>
          <td>CWE named in text with <code>type: &quot;CWE&quot;</code>, no <code>cweId</code> (2,312 records)</td>
          <td>CVE-2026-82126</td>
      </tr>
      <tr>
          <td><code>apple</code></td>
          <td>1,196</td>
          <td>all text only</td>
          <td>CVE-2026-86917</td>
      </tr>
      <tr>
          <td><code>Chrome</code></td>
          <td>3,972</td>
          <td>705 text-only (labels such as &ldquo;Inappropriate implementation&rdquo;)</td>
          <td>CVE-2026-106484</td>
      </tr>
      <tr>
          <td><code>mozilla</code></td>
          <td>968</td>
          <td>no <code>problemTypes</code> in any 2026 record</td>
          <td></td>
      </tr>
  </tbody>
</table>
<p>The WPScan pattern deserves its own handling. Its entries look like this:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-json" data-lang="json"><span style="display:flex;"><span>{ <span style="color:#f92672">&#34;description&#34;</span>: <span style="color:#e6db74">&#34;CWE-284 Improper Access Control&#34;</span>, <span style="color:#f92672">&#34;lang&#34;</span>: <span style="color:#e6db74">&#34;en&#34;</span>, <span style="color:#f92672">&#34;type&#34;</span>: <span style="color:#e6db74">&#34;CWE&#34;</span> }
</span></span></code></pre></div><p>A parser that only reads <code>cweId</code> drops these. In 2026, 3,063 records name a CWE ID only in CNA text, and 2,559 description objects have <code>type</code> <code>CWE</code> or <code>cwe</code> with no <code>cweId</code>, 2,359 of them from WPScan. CISA&rsquo;s own <a href="https://github.com/cisagov/vulnrichment">Vulnrichment README</a> uses a WPScan record, CVE-2024-3477, as its example of CISA adding a CWE; the CNA text in that record already says &ldquo;CWE-352 Cross-Site Request Forgery (CSRF)&rdquo;.</p>
<h2 id="what-cisa-adp-adds">What CISA-ADP adds</h2>
<p>The <a href="https://github.com/cisagov/vulnrichment">Vulnrichment README</a> says that once CVEs are SSVC-scored, &ldquo;some higher-risk CVEs will also receive enrichment of CWE and/or CVSS data points, where possible&rdquo;, that CISA populates the ADP container only for CVEs &ldquo;that do not already have these fields populated by the originating CNA&rdquo;, and that &ldquo;At no point will CISA overwrite the originating CNA&rsquo;s data&rdquo;. If a CNA later adds the data, &ldquo;the CISA ADP will drop its own assessments&rdquo;. When both exist, it says the CNA&rsquo;s data &ldquo;should take precedence&rdquo;.</p>
<p>In 2026 records:</p>
<ul>
<li>CISA-ADP carries a <code>cweId</code> in 16,066 records. In 15,650 of them the CNA had none.</li>
<li>In 416 records both containers carry a <code>cweId</code>; in 101 they differ. Per the README, prefer the CNA value.</li>
<li>Of the 3,063 records where the CNA named a CWE only in text, CISA-ADP has a <code>cweId</code> in 2,591, and in 2,544 it is the same ID the text already named.</li>
<li>The only other ADP supplying <code>cweId</code> across the corpus is <code>redhat-SADP</code> (1,124 records). CISA-ADP has 44,152.</li>
</ul>
<p>The most frequent CWEs CISA-ADP adds when the CNA gave none, 2026 records:</p>
<table>
  <thead>
      <tr>
          <th>CWE</th>
          <th>Records</th>
          <th>CWE mapping note</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>CWE-284 Improper Access Control</td>
          <td>3,334</td>
          <td>Pillar; usage DISCOURAGED</td>
      </tr>
      <tr>
          <td>CWE-200 Exposure of Sensitive Information</td>
          <td>975</td>
          <td></td>
      </tr>
      <tr>
          <td>CWE-79 Cross-site Scripting</td>
          <td>829</td>
          <td></td>
      </tr>
      <tr>
          <td>CWE-269 Improper Privilege Management</td>
          <td>717</td>
          <td></td>
      </tr>
      <tr>
          <td>CWE-416 Use After Free</td>
          <td>696</td>
          <td></td>
      </tr>
  </tbody>
</table>
<p>CWE-284&rsquo;s own <a href="https://cwe.mitre.org/data/definitions/284">definition page</a> (CWE 5.0) lists vulnerability mapping usage as &ldquo;DISCOURAGED&rdquo;, says the ID &ldquo;should not be used to map to real-world vulnerabilities&rdquo;, and calls it &ldquo;extremely high-level, a Pillar&rdquo; that is &ldquo;not useful for trend analysis&rdquo;. Most of those 3,334 (2,624) are Oracle records whose CNA entry is text only. CVE-2026-82997 is one, where CISA-ADP adds CWE-284 to a CNA entry that reads &ldquo;Easily exploitable vulnerability allows low privileged attacker with network access via T3, IIOP to compromise Service Delivery Platform.&rdquo; The pillar choice reflects how little the CNA text says, so treat these as &ldquo;access-control-ish, details unknown&rdquo;, not as evidence that access control is your top weakness class.</p>
<h2 id="a-parser-that-handles-all-four-cases">A parser that handles all four cases</h2>
<p>This Python 3 function (tested with Python 3.13 against the five records listed below, fetched from <code>raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/...</code>) returns the CWE set and where it came from:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-python" data-lang="python"><span style="display:flex;"><span><span style="color:#f92672">import</span> json<span style="color:#f92672">,</span> re<span style="color:#f92672">,</span> sys
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>CWE_RE <span style="color:#f92672">=</span> re<span style="color:#f92672">.</span>compile(<span style="color:#e6db74">r</span><span style="color:#e6db74">&#34;\bCWE-[1-9][0-9]*\b&#34;</span>)
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">def</span> <span style="color:#a6e22e">cwe_ids</span>(record):
</span></span><span style="display:flex;"><span>    <span style="color:#e6db74">&#34;&#34;&#34;Return (ids, source) for one CVE JSON 5.x record.
</span></span></span><span style="display:flex;"><span><span style="color:#e6db74">    source: &#39;cna&#39;, &#39;cna-text&#39;, &#39;cisa-adp&#39; or &#39;none&#39;.&#34;&#34;&#34;</span>
</span></span><span style="display:flex;"><span>    c <span style="color:#f92672">=</span> record[<span style="color:#e6db74">&#34;containers&#34;</span>]
</span></span><span style="display:flex;"><span>    texts, ids <span style="color:#f92672">=</span> [], set()
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> pt <span style="color:#f92672">in</span> c[<span style="color:#e6db74">&#34;cna&#34;</span>]<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;problemTypes&#34;</span>, []):
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">for</span> d <span style="color:#f92672">in</span> pt<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;descriptions&#34;</span>, []):
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">if</span> d<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;cweId&#34;</span>):
</span></span><span style="display:flex;"><span>                ids<span style="color:#f92672">.</span>add(d[<span style="color:#e6db74">&#34;cweId&#34;</span>])
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">else</span>:
</span></span><span style="display:flex;"><span>                texts<span style="color:#f92672">.</span>append(d<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;description&#34;</span>, <span style="color:#e6db74">&#34;&#34;</span>))
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">if</span> ids:
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">return</span> sorted(ids), <span style="color:#e6db74">&#34;cna&#34;</span>
</span></span><span style="display:flex;"><span>    found <span style="color:#f92672">=</span> {m <span style="color:#66d9ef">for</span> t <span style="color:#f92672">in</span> texts <span style="color:#66d9ef">for</span> m <span style="color:#f92672">in</span> CWE_RE<span style="color:#f92672">.</span>findall(t)}
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">if</span> found:
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">return</span> sorted(found), <span style="color:#e6db74">&#34;cna-text&#34;</span>      <span style="color:#75715e"># CWE named in prose only</span>
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> adp <span style="color:#f92672">in</span> c<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;adp&#34;</span>, []):
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">if</span> adp[<span style="color:#e6db74">&#34;providerMetadata&#34;</span>]<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;shortName&#34;</span>) <span style="color:#f92672">!=</span> <span style="color:#e6db74">&#34;CISA-ADP&#34;</span>:
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">continue</span>
</span></span><span style="display:flex;"><span>        <span style="color:#66d9ef">for</span> pt <span style="color:#f92672">in</span> adp<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;problemTypes&#34;</span>, []):
</span></span><span style="display:flex;"><span>            <span style="color:#66d9ef">for</span> d <span style="color:#f92672">in</span> pt<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;descriptions&#34;</span>, []):
</span></span><span style="display:flex;"><span>                <span style="color:#66d9ef">if</span> d<span style="color:#f92672">.</span>get(<span style="color:#e6db74">&#34;cweId&#34;</span>):
</span></span><span style="display:flex;"><span>                    ids<span style="color:#f92672">.</span>add(d[<span style="color:#e6db74">&#34;cweId&#34;</span>])
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">return</span> (sorted(ids), <span style="color:#e6db74">&#34;cisa-adp&#34;</span>) <span style="color:#66d9ef">if</span> ids <span style="color:#66d9ef">else</span> ([], <span style="color:#e6db74">&#34;none&#34;</span>)
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">if</span> __name__ <span style="color:#f92672">==</span> <span style="color:#e6db74">&#34;__main__&#34;</span>:
</span></span><span style="display:flex;"><span>    <span style="color:#66d9ef">for</span> path <span style="color:#f92672">in</span> sys<span style="color:#f92672">.</span>argv[<span style="color:#ae81ff">1</span>:]:
</span></span><span style="display:flex;"><span>        r <span style="color:#f92672">=</span> json<span style="color:#f92672">.</span>load(open(path))
</span></span><span style="display:flex;"><span>        print(r[<span style="color:#e6db74">&#34;cveMetadata&#34;</span>][<span style="color:#e6db74">&#34;cveId&#34;</span>], <span style="color:#f92672">*</span>cwe_ids(r))
</span></span></code></pre></div><p>Output on the November 15, 2026 versions of those records:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-text" data-lang="text"><span style="display:flex;"><span>CVE-2024-2905 [&#39;CWE-732&#39;] cna
</span></span><span style="display:flex;"><span>CVE-2024-3477 [&#39;CWE-352&#39;] cna-text
</span></span><span style="display:flex;"><span>CVE-2026-74687 [] none
</span></span><span style="display:flex;"><span>CVE-2026-82126 [&#39;CWE-284&#39;] cna-text
</span></span><span style="display:flex;"><span>CVE-2026-82997 [&#39;CWE-284&#39;] cisa-adp
</span></span></code></pre></div><p>Design choices, and their limits:</p>
<ul>
<li><strong>CNA text before CISA-ADP.</strong> The CNA is the authoritative source under the README&rsquo;s precedence rule, and in 2,544 of 2,591 overlapping cases the two agree anyway. Swap the order if you only trust structured fields.</li>
<li><strong>The regex can over-match.</strong> A description such as &ldquo;similar to CWE-79&rdquo; would be captured. In the corpus the prose-only CWE strings are overwhelmingly titles in the form &ldquo;CWE-NNN Name&rdquo;, but log <code>cna-text</code> results separately.</li>
<li><strong>Keep the source column.</strong> Store <code>source</code> with each row. It lets you report &ldquo;CNA-mapped&rdquo; and &ldquo;enriched&rdquo; weaknesses separately and lets you drop discouraged pillars from trend charts without losing the records.</li>
<li><strong>Re-read on updates.</strong> CISA-ADP values can disappear when a CNA adds its own. If you sync incrementally with <a href="/posts/cvelistv5-delta-json-deltalog-incremental-cve-sync/">cvelistV5 delta.json and deltaLog.json</a>, re-run the extractor on every updated record rather than caching the first answer.</li>
</ul>
<h2 id="common-mistakes">Common mistakes</h2>
<ul>
<li><strong>Reading <code>problemTypes[0].descriptions[0].cweId</code> only.</strong> 11.2% of records with CNA CWE data list more than one distinct CWE, and some put a text entry first.</li>
<li><strong>Assuming <code>type</code> tells you what you have.</strong> Lower-case <code>cwe</code>, missing <code>type</code> and <code>Impact</code> all occur.</li>
<li><strong>Treating &ldquo;no CWE&rdquo; as &ldquo;unknown vulnerability class&rdquo; for every vendor equally.</strong> Linux kernel and Mozilla records will always be in that bucket until those CNAs change practice.</li>
<li><strong>Merging CISA-ADP CWE-284 into a Top-N chart without a label.</strong> It becomes a top-three entry by volume in 2026 for reasons unrelated to the underlying bugs.</li>
<li><strong>Mixing CWE with severity signals.</strong> CWE says what kind of bug it is, not how urgent it is. Severity and exploitation come from <a href="/posts/cve-json-cvss-metrics-cvssv4-0-cvssv3-1-basescore-trap/">CVSS in the record</a>, <a href="/posts/cisa-vulnrichment-how-to-read-ssvc-values-in-a-cve-record-and-turn-them-into-a-patch-decision/">CISA&rsquo;s SSVC values</a> and KEV.</li>
</ul>
<h2 id="how-mitres-top-25-deals-with-the-same-data">How MITRE&rsquo;s Top 25 deals with the same data</h2>
<p>The <a href="https://cwe.mitre.org/top25/archive/2025/2025_methodology.html">2025 CWE Top 25 methodology</a> used 39,080 CVE records published between June 1, 2024 and June 1, 2025, including mappings &ldquo;added by CISA Vulnrichment after publication&rdquo;. About 9,468 (24%) were flagged for re-mapping review, for example where the CWE was too abstract or commonly misused. If you build an internal ranking from raw CVE data you get the unreviewed version of that dataset, so expect pillars and class-level CWEs to rank higher than they do in the published list.</p>
<h2 id="limits-of-this-article">Limits of this article</h2>
<ul>
<li>Counts come from one snapshot (the <code>cve_2026-11-15_0000Z</code> release) and change daily as records are published, updated and enriched.</li>
<li>Years are grouped by <code>datePublished</code>, not by CVE ID year.</li>
<li>We did not validate whether each CWE is the correct mapping for its vulnerability, only where it is recorded.</li>
<li>CWE usage notes are quoted from CWE 5.0 for CWE-284 only; check the definition page of any other CWE before excluding it.</li>
</ul>
<h2 id="sources-and-verification">Sources and verification</h2>
<table>
  <thead>
      <tr>
          <th>Important claim</th>
          <th>Source</th>
          <th>Status</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>problemTypes structure, cweId pattern, CNA required fields</td>
          <td><a href="https://github.com/CVEProject/cve-schema/blob/main/schema/CVE_Record_Format.json">CVE Record Format schema</a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>CNA MUST identify vulnerability type; SHOULD use CWE (rule 5.1.7)</td>
          <td><a href="https://www.cve.org/Resources/Roles/Cnas/CNA_Rules_v4.1.0.pdf">CNA Operational Rules 4.1.0</a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>CNA/ADP coverage counts, CNA patterns, CISA-ADP gap-fill counts</td>
          <td>cvelistV5 release <code>cve_2026-11-15_0000Z</code>, counted with Python</td>
          <td>Verified (our count)</td>
      </tr>
      <tr>
          <td>CISA-ADP adds CWE for some CVEs, never overwrites CNA, drops on CNA update, CNA precedence</td>
          <td><a href="https://github.com/cisagov/vulnrichment">cisagov/vulnrichment README</a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>CWE-284 is a Pillar with mapping usage DISCOURAGED</td>
          <td><a href="https://cwe.mitre.org/data/definitions/284">CWE-284 definition</a></td>
          <td>Verified</td>
      </tr>
      <tr>
          <td>Top 25 2025 dataset size, window and re-mapping share</td>
          <td><a href="https://cwe.mitre.org/top25/archive/2025/2025_methodology.html">2025 CWE Top 25 methodology</a></td>
          <td>Verified</td>
      </tr>
  </tbody>
</table>
]]></content:encoded></item></channel></rss>