# CVE-2025-38639: netfilter: xt\_nfacct: don't assume acct name is null-terminated

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 12, 2026-12-02)
- **Published:** 2025-08-22T16:00:45.953Z
- **Modified:** 2026-10-15T22:18:47.683Z

## Who should check

- Anyone running Linux \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 66d41268ede1e1b6e71ba28be923397ff0b2b9c3; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< e021a1eee196887536a6630c5492c23a4c78d452; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< b10cfa2de13d28ddd03210eb234422b7ec92725a; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< e18939176e657a3a20bfbed357b8c55a9f82aba3; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 58004aa21e79addaf41667bfe65e93ec51653f18; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 7c1ae471da69c09242834e956218ea6a42dd405a; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 58007fc7b94fb2702000045ff401eb7f5bde7828; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< df13c9c6ce1d55c31d1bd49db65a7fbbd86aab13; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< bf58e667af7d96c8eb9411f926a0a0955f41ce21
- Anyone running Linux 3.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: xt\_nfacct: don't assume acct name is null-terminated

BUG: KASAN: slab-out-of-bounds in .. lib/vsprintf.c:721
Read of size 1 at addr ffff88801eac95c8 by task syz-executor183/5851
\[..\]
 string+0x231/0x2b0 lib/vsprintf.c:721
 vsnprintf+0x739/0xf00 lib/vsprintf.c:2874
 \[..\]
 nfacct\_mt\_checkentry+0xd2/0xe0 net/netfilter/xt\_nfacct.c:41
 xt\_check\_match+0x3d1/0xab0 net/netfilter/x\_tables.c:523

nfnl\_acct\_find\_get() handles non-null input, but the error
printk relied on its presence.

## Affected and fixed versions

- Linux: \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 66d41268ede1e1b6e71ba28be923397ff0b2b9c3; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< e021a1eee196887536a6630c5492c23a4c78d452; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< b10cfa2de13d28ddd03210eb234422b7ec92725a; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< e18939176e657a3a20bfbed357b8c55a9f82aba3; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 58004aa21e79addaf41667bfe65e93ec51653f18; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 7c1ae471da69c09242834e956218ea6a42dd405a; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 58007fc7b94fb2702000045ff401eb7f5bde7828; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< df13c9c6ce1d55c31d1bd49db65a7fbbd86aab13; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< bf58e667af7d96c8eb9411f926a0a0955f41ce21 (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38639. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38639.md
Affected: Linux >= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, < 66d41268ede1e1b6e71ba28be923397ff0b2b9c3; >= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, < e021a1eee196887536a6630c5492c23a4c78d452; >= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, < b10cfa2de13d28ddd03210eb234422b7ec92725a; >= ceb98d03eac5704820f2ac1…
Fixed in: Linux 66d41268ede1e1b6e71ba28be923397ff0b2b9c3, Linux 58004aa21e79addaf41667bfe65e93ec51653f18, Linux 7c1ae471da69c09242834e956218ea6a42dd405a, Linux 58007fc7b94fb2702000045ff401eb7f5bde7828

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38639 being exploited?

There is no confirmed exploitation: CVE-2025-38639 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-12-02).

### How serious is CVE-2025-38639?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 66d41268ede1e1b6e71ba28be923397ff0b2b9c3; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< e021a1eee196887536a6630c5492c23a4c78d452; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< b10cfa2de13d28ddd03210eb234422b7ec92725a; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< e18939176e657a3a20bfbed357b8c55a9f82aba3; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 58004aa21e79addaf41667bfe65e93ec51653f18; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 7c1ae471da69c09242834e956218ea6a42dd405a; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< 58007fc7b94fb2702000045ff401eb7f5bde7828; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< df13c9c6ce1d55c31d1bd49db65a7fbbd86aab13; \>= ceb98d03eac5704820f2ac1f370c9ff385e3a9f5, \< bf58e667af7d96c8eb9411f926a0a0955f41ce21; Linux 3.3.

### Is there a fix for CVE-2025-38639?

Yes. Fixed in Linux 66d41268ede1e1b6e71ba28be923397ff0b2b9c3, Linux 58004aa21e79addaf41667bfe65e93ec51653f18, Linux 7c1ae471da69c09242834e956218ea6a42dd405a, Linux 58007fc7b94fb2702000045ff401eb7f5bde7828. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38639?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/66d41268ede1e1b6e71ba28be923397ff0b2b9c3>
- patch: <https://git.kernel.org/stable/c/e021a1eee196887536a6630c5492c23a4c78d452>
- patch: <https://git.kernel.org/stable/c/b10cfa2de13d28ddd03210eb234422b7ec92725a>
- patch: <https://git.kernel.org/stable/c/e18939176e657a3a20bfbed357b8c55a9f82aba3>
- patch: <https://git.kernel.org/stable/c/58004aa21e79addaf41667bfe65e93ec51653f18>
- patch: <https://git.kernel.org/stable/c/7c1ae471da69c09242834e956218ea6a42dd405a>
- patch: <https://git.kernel.org/stable/c/58007fc7b94fb2702000045ff401eb7f5bde7828>
- patch: <https://git.kernel.org/stable/c/df13c9c6ce1d55c31d1bd49db65a7fbbd86aab13>
- patch: <https://git.kernel.org/stable/c/bf58e667af7d96c8eb9411f926a0a0955f41ce21>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38639>

HTML: <https://flawdb.com/CVE-2025-38639> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38639>
