Skip to main content

OpenWrt CVE-2025-62525

HIGH
Improper Input Validation (CWE-20)
2025-10-22 security-advisories@github.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local foothold in sandboxed service
  2. Delivery
    Open ltq-ptm DSL net device
  3. Exploit
    Invoke vulnerable PTM ioctl handler
  4. Execution
    Read/write arbitrary kernel memory
  5. Impact
    Escape ujail sandbox and control kernel

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Requires local code execution on an OpenWrt device (prior to 24.10.4) built on the lantiq target with a Lantiq/Intel/MaxLinear xrx200, danube, or amazon SoC, with the DSL line operating in PTM mode (typical of VDSL) so the ltq-ptm driver is loaded and its ioctl interface reachable. The attacker then calls the ltq-ptm ioctls, which lacked a capability check and dereferenced caller-controlled pointers. Limiting factors: no remote vector (local access needed, AV:L); the flaw does not affect the VRX518 DSL driver or ATM mode (most ADSL lines), narrowing exposure; and the low-privilege foothold is the practical precondition - this is primarily valuable as a ujail/sandbox-escape primitive for an already-present attacker. No workarounds exist other than upgrading to 24.10.4.

Impact

All signals agree this is a locally-exploitable kernel memory corruption flaw rather than a remote threat: the CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:C) requires local access with some (low) privilege and low complexity, and the scope change (S:C) with C:H/I:H/A:H reflects that arbitrary kernel read/write lets a confined process break out of its boundary - consistent with the described ujail sandbox escape. The 8.8 base score is driven by that scope change plus triple-high impact, not by remote reachability. No EPSS score, no CISA KEV listing, and no public exploit were provided, so there is no evidence of active or widespread exploitation; this reads as a locally-triggered privilege-escalation/sandbox-escape primitive of interest to an attacker who already has a foothold on the device, not an internet-facing mass-exploitation risk. The real-world priority is further bounded by a narrow affected footprint (only OpenWrt on Lantiq xrx200/danube/amazon SoCs with DSL in PTM mode). Net: a genuinely serious local escalation flaw worth patching on affected hardware, but low urgency for fleet-wide emergency response given AV:L, absent exploitation signals, and limited device scope. Note the input tag 'Information Disclosure' understates impact - the flaw permits arbitrary kernel write, not just read.

Exploit ScenarioDerived

An attacker who has already compromised a sandboxed (ujail) service on an OpenWrt VDSL router built on a Lantiq/Intel xrx200, danube, or amazon SoC invokes the ltq-ptm driver's ioctls, which (prior to 24.10.4) dereferenced user-supplied pointers without a capability check, to read and write arbitrary kernel memory. This lets them escape the sandbox and gain full kernel-level control of the device. No public exploit was identified at the time of analysis; the source commit confirming the missing CAP_NET_ADMIN check and unsafe user-pointer handling is available but is a fix, not a weaponized PoC.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Arbitrary kernel memory read/write in OpenWrt builds prior to 24.10.4 on Lantiq xrx200, danube, and amazon SoCs allows local low-privileged users to corrupt or disclose kernel memory through ltq-ptm ioctls, enabling escape from a ujail sandbox or similar confinement. Only images for the lantiq target with those SoCs and DSL operating in PTM mode load the affected ltq-ptm driver; the VRX518 DSL driver and ATM-mode setups are unaffected. No public exploit was identified at time of analysis, but the issue is a locally exploitable sandbox-escape primitive requiring prior local code execution.

RemediationAI

Upgrade to OpenWrt 24.10.4 or later; this is the vendor-released patch and the advisory states there are no workarounds. The fixes are documented in commits https://github.com/openwrt/openwrt/commit/2a76abc5442e3f74d95b4caa9bb57e5488fc132e and https://github.com/openwrt/openwrt/commit/e001b31163a77683ee741d169f794cfa50926f37, with the vendor advisory at https://openwrt.org/advisory/2025-10-22-2. If immediate upgrade is not possible, reduce exposure by preventing untrusted or unnecessary sandboxed services from running on affected PTM-mode devices and limiting local code execution, but this does not remove the kernel attack surface; disabling ltq-ptm would break PTM DSL connectivity and is not a supported workaround.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The ltq-ptm driver is a vendor-derived kernel module in OpenWrt's lantiq target that drives the PTM DSL datapath on xrx200, danube, and amazon SoCs from Lantiq/Intel/MaxLinear. Its ioctl handlers processed caller-supplied structures and pointers without a capability check and without safe user/kernel copying, a CWE-20 improper input validation failure that lets a local process read or write arbitrary kernel memory. The CPE cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:* covers OpenWrt before 24.10.4, and the fixing commits add CAP_NET_ADMIN enforcement plus copy_to_user/copy_from_user handling in ifxmips_ptm_adsl.c. The CVSS scope change (S:C) reflects that kernel compromise from a confined service can break the ujail boundary; the VRX518 driver and ATM mode are outside the affected path.

Know when Openwrt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Local ioctl access from a low-privilege/sandboxed process (AV:L/PR:L/AC:L); arbitrary kernel read/write escaping the sandbox is a scope change (S:C) with total C/I/A impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionNVD

OpenWrt Project is a Linux operating system targeting embedded devices. Prior to version 24.10.4, local users could read and write arbitrary kernel memory using the ioctls of the ltq-ptm driver which is used to drive the datapath of the DSL line. This only effects the lantiq target supporting xrx200, danube and amazon SoCs from Lantiq/Intel/MaxLinear with the DSL in PTM mode. The DSL driver for the VRX518 is not affected. ATM mode is also not affected. Most VDSL lines use PTM mode and most ADSL lines use ATM mode. OpenWrt is normally running as a single user system, but some services are sandboxed. This vulnerability could allow attackers to escape a ujail sandbox or other contains. This is fixed in OpenWrt 24.10.4. There are no workarounds.

Executive ViewAI

Why It Matters

OpenWrt-based Lantiq DSL gateways running builds before 24.10.4 can allow a locally compromised workload to break out of its confinement and affect the device kernel. This matters to leadership because compromised gateways can undermine network trust, expose sensitive traffic, and force emergency patching or replacement across affected sites. No public exploit was identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche Lantiq xrx200/danube/amazon DSL SoCs in PTM mode on OpenWrt
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*
CVE-2024-20017 CRITICAL POC
9.8 Mar 04

In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS

CVE-2026-61876 CRITICAL POC
9.4 Jul 12

Stored cross-site scripting in OpenWrt's LuCI web interface lets an adjacent-network attacker inject executable HTML/Jav

CVE-2020-7982 HIGH POC
8.1 Mar 16

An issue was discovered in OpenWrt 18.06.0 to 18.06.6 and 19.07.0, and LEDE 17.01.0 to 17.01.7. Rated high severity (CVS

CVE-2019-15513 HIGH POC
7.5 Aug 23

An issue was discovered in OpenWrt libuci (aka Library for the Unified Configuration Interface) before 15.05.1 as used o

CVE-2018-19630 MEDIUM POC
6.1 Nov 28

cgi_handle_request in uhttpd in OpenWrt through 18.06.1 and LEDE through 17.01 has unauthenticated reflected XSS via the

CVE-2025-20654 CRITICAL
9.8 Apr 07

In wlan service, there is a possible out of bounds write due to an incorrect bounds check. Rated critical severity (CVSS

CVE-2019-5102 MEDIUM POC
5.9 Nov 18

An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1

CVE-2019-5101 MEDIUM POC
5.9 Nov 18

An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1

CVE-2025-20674 CRITICAL
9.8 Jun 02

Remote privilege escalation in Android WLAN AP driver via packet injection.

CVE-2025-20683 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20682 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20681 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy