# CVE-2025-70102: Null dereference in n/a

> A NULL pointer dereference in dhcpcd allows attackers to cause a denial of service by sending malformed configuration options.

- **Severity:** Medium 6.3 (`CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 15 Jun 2026
- **Updated:** 16 Jun 2026
- **Also known as:** DEBIAN-CVE-2025-70102, GHSA-9g28-83m6-mvg3, SUSE-SU-2026:22542-1, SUSE-SU-2026:22561-1, UBUNTU-CVE-2025-70102, openSUSE-SU-2026:21220-1

## What is CVE-2025-70102?

CVE-2025-70102 is a medium-severity vulnerability in n/a, published on 15 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A NULL pointer dereference occurs in Roy Marples NetworkConfiguration/dhcpcd 10.3.0 while parsing configuration options. In parse_option() (src/if-options.c:1886), the code performs a member access on a NULL pointer of type 'struct dhcp_opt' when an unexpected/invalid option token or parsing state causes the lookup to yield NULL. The instrumented fuzzing build reports 'runtime error: member access within null pointer of type struct dhcp_opt' and aborts.

Weakness: CWE-476 (NULL Pointer Dereference)

## Which versions are affected by CVE-2025-70102?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `dhcpcd` | SUSE:Linux Enterprise Server 16.0 | All versions | 10.3.2-160000.1.2 |
| `dhcpcd` | SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 10.3.2-160000.1.2 |
| `dhcpcd` | SUSE:Linux Micro 6.2 | All versions | 10.3.2-160000.1.2 |
| `dhcpcd` | openSUSE:Leap 16.0 | All versions | 10.3.2-160000.1.2 |

## How do I fix CVE-2025-70102?

Apply the vendor's patch.

## Is CVE-2025-70102 being exploited?

There is no known exploitation of CVE-2025-70102 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-70102 and fix it if it is affected.

What it is: CVE-2025-70102 is a medium-severity vulnerability in n/a, published on 15 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2025-70102 in the wild and no public exploit code.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-70102/ (Markdown: https://insights.sbomify.com/CVE-2025-70102/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-70102
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-70102
- OSV: https://osv.dev/vulnerability/CVE-2025-70102

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-70102/
Summaries are generated and may contain mistakes; the official description above is the record.
