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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-08-22T16:00:45.953Z
- Modified: 2026-10-15T22:18:47.683Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before 66d41268ede1e1b6e71ba28be923397ff0b2b9c3; from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before e021a1eee196887536a6630c5492c23a4c78d452; from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before b10cfa2de13d28ddd03210eb234422b7ec92725a; from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before e18939176e657a3a20bfbed357b8c55a9f82aba3; from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before 58004aa21e79addaf41667bfe65e93ec51653f18; from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before 7c1ae471da69c09242834e956218ea6a42dd405a; from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before 58007fc7b94fb2702000045ff401eb7f5bde7828; from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before df13c9c6ce1d55c31d1bd49db65a7fbbd86aab13; from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before bf58e667af7d96c8eb9411f926a0a0955f41ce21; 3.3 (not affected: before 3.3; from 5.4.297 up to 5.4.*; from 5.10.241 up to 5.10.*; from 5.15.190 up to 5.15.*; from 6.1.148 up to 6.1.*; from 6.6.102 up to 6.6.*; from 6.12.42 up to 6.12.*; from 6.15.10 up to 6.15.*; from 6.16.1 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 3.3 before 5.4.297; from 5.5 before 5.10.241; from 5.11 before 5.15.190; from 5.16 before 6.1.148; from 6.2 before 6.6.102; from 6.7 before 6.12.42; from 6.13 before 6.15.10; from 6.16 before 6.16.1
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <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> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38639](https://www.cve.org/CVERecord?id=CVE-2025-38639), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38639](https://nvd.nist.gov/vuln/detail/CVE-2025-38639), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-38639 · Whole record: https://cve.day/CVE-2025-38639.json · Rebuilt by cve.day 2026-11-25T22:59:03.535Z
