---
id: CVE-2022-25064
title: >-
  TP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain a remote code
  execution (RCE) vulnerability via the function oal_wan6_setIpAddr.
summary: >-
  TP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain a remote code
  execution (RCE) vulnerability via the function oal_wan6_setIpAddr.
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: tp-link
product: tl-wr840n_firmware
affected:
  - tl-wr840n_firmware = 6.20_180709
published: '2022-02-25'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-25064'
references:
  - url: >-
      https://east-trowel-102.notion.site/CVE-2021-XXXX-rce-via-crafted-payload-in-an-ipv6-address-input-field-hidden-EN-98e24b6f841043fba17ec4627c34f5d1
    label: cve@mitre.org
  - url: 'http://router.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://tp-link.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://east-trowel-102.notion.site/CVE-2021-XXXX-rce-via-crafted-payload-in-an-ipv6-address-input-field-hidden-EN-98e24b6f841043fba17ec4627c34f5d1
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - exploit-available
epss: 0.36473
epssPercentile: 0.98437
ingestedAt: '2026-07-06T02:09:23.248Z'
exploits:
  github: 2
  githubRepos:
    - 'https://github.com/exploitwritter/CVE-2022-25064'
    - 'https://github.com/Mr-xn/CVE-2022-25064'
  checkedAt: '2026-09-25T08:20:40.306Z'
exploitAvailable: true
---

## Overview

TP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain a remote code execution (RCE) vulnerability via the function oal_wan6_setIpAddr.

## Affected

- `tl-wr840n_firmware = 6.20_180709`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
