# CVE-2024-20017: CVE-2024-20017

Status: published. Published: 2024-03-04. Updated: 2026-11-03.

In wlan service, there is a possible out of bounds write due to improper input validation. This could lead to remote code execution with no additional execution privileges needed. User interaction is not needed for exploitation Patch ID: WCNCR00350938; Issue ID: MSV-1132.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- MediaTek, Inc. / MT6890, MT7915, MT7916, MT7981, MT7986: SDK version 7.4.0.1 and before (for MT7915) / SDK version 7.6.7.0 and before (for MT7916, MT7981 and MT7986) / OpenWrt 19.07, 21.02 (affected). Source: CNA: MediaTek
- mediatek / mt6890: ≥ 0; ≤ * (affected, custom). Source: ADP: CISA-ADP
- mediatek / mt7915: ≥ 0; ≤ * (affected, custom). Source: ADP: CISA-ADP
- mediatek / mt7916: ≥ 0; ≤ * (affected, custom). Source: ADP: CISA-ADP
- mediatek / mt7981: ≥ 0; ≤ * (affected, custom). Source: ADP: CISA-ADP
- mediatek / mt7986: ≥ 0; ≤ * (affected, custom). Source: ADP: CISA-ADP

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:mediatek:software_development_kit:*:*:*:*:*:*:*:*",
            "versionEndIncluding": "7.4.0.1",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      },
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:h:mediatek:mt7622:-:*:*:*:*:*:*:*",
            "vulnerable": false
          },
          {
            "criteria": "cpe:2.3:h:mediatek:mt7915:-:*:*:*:*:*:*:*",
            "vulnerable": false
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "AND"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:mediatek:software_development_kit:*:*:*:*:*:*:*:*",
            "versionEndIncluding": "7.6.7.0",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      },
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:h:mediatek:mt7916:-:*:*:*:*:*:*:*",
            "vulnerable": false
          },
          {
            "criteria": "cpe:2.3:h:mediatek:mt7981:-:*:*:*:*:*:*:*",
            "vulnerable": false
          },
          {
            "criteria": "cpe:2.3:h:mediatek:mt7986:-:*:*:*:*:*:*:*",
            "vulnerable": false
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "AND"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:openwrt:openwrt:19.07.0:-:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:openwrt:openwrt:21.02.0:-:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      },
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:h:mediatek:mt6890:-:*:*:*:*:*:*:*",
            "vulnerable": false
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "AND"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: ADP: CISA-ADP

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: NVD: 134c704f-9b21-4f2e-91b3-4a467353bcc0

- CISA KEV: No listing in collected sources

- EPSS: 46.61% as of 2026-11-03; percentile 98.82%

- SSVC: exploitation poc; automatable yes; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-787, CWE-20

## Exploit evidence

- exploit: https://blog.coffinsec.com/0day/2024/08/30/exploiting-CVE-2024-20017-four-different-ways.html (af854a3a-2127-422b-91ae-364da2661108)
- exploit: https://blog.sonicwall.com/en-us/2024/09/critical-exploit-in-mediatek-wi-fi-chipsets-zero-click-vulnerability-cve-2024-20017-threatens-routers-and-smartphones/ (af854a3a-2127-422b-91ae-364da2661108)

## References

- https://corp.mediatek.com/product-security-bulletin/March-2024 (CNA: MediaTek)

- https://blog.sonicwall.com/en-us/2024/09/critical-exploit-in-mediatek-wi-fi-chipsets-zero-click-vulnerability-cve-2024-20017-threatens-routers-and-smartphones/ (ADP: CVE)

- https://news.ycombinator.com/item?id=41605680 (ADP: CVE)

- https://blog.coffinsec.com/0day/2024/08/30/exploiting-CVE-2024-20017-four-different-ways.html (ADP: CVE)

- https://corp.mediatek.com/product-security-bulletin/March-2024 (ADP: CVE; x_transferred)

- https://corp.mediatek.com/product-security-bulletin/March-2024 (security@mediatek.com; Vendor Advisory)

- https://blog.coffinsec.com/0day/2024/08/30/exploiting-CVE-2024-20017-four-different-ways.html (af854a3a-2127-422b-91ae-364da2661108; Exploit, Technical Description, Third Party Advisory)

- https://blog.sonicwall.com/en-us/2024/09/critical-exploit-in-mediatek-wi-fi-chipsets-zero-click-vulnerability-cve-2024-20017-threatens-routers-and-smartphones/ (af854a3a-2127-422b-91ae-364da2661108; Exploit, Third Party Advisory)

- https://corp.mediatek.com/product-security-bulletin/March-2024 (af854a3a-2127-422b-91ae-364da2661108; Vendor Advisory)

- https://news.ycombinator.com/item?id=41605680 (af854a3a-2127-422b-91ae-364da2661108; Third Party Advisory)

## Provenance

- CNA: MediaTek: https://www.cve.org/CVERecord?id=CVE-2024-20017; retrieved 2026-11-04; source updated 2026-11-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-20017; retrieved 2026-11-04; source updated 2026-11-03

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-20017; retrieved 2026-11-03; source updated Not reported

Revision: b03e5672f2028f2c7c8f0e579889b44b0d4704f768c03b667d29dc33210ab719

Canonical: https://y2.dev/cve/CVE-2024-20017

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.