# CVE-2026-31417: net/x25: Fix overflow when accumulating packets

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-04-13T13:21:04.638Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-191
- Assigned by: Linux

## Description

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

net/x25: Fix overflow when accumulating packets

Add a check to ensure that `x25_sock.fraglen` does not overflow.

The `fraglen` also needs to be resetted when purging `fragment_queue` in
`x25_clear_queues()`.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 96fc16370b0bceb289c7e0479bd0540b81e257aa; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 798d613afb64b01a203f448fb0f43c37c6afe79d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6e568835ea54a3e1d08e310e34f95d434e739477; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1734bd85c5e0a7a801295b729efb56b009cb8fc3; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4e2d1bcef78d21247fe8fef13bc7ed95885df2b5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8c92969c197b91c134be27dc3afb64ab468853a9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f953f11ccf4afe6feb635c08145f4240d9a6b544; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a1822cb524e89b4cd2cf0b82e484a2335496a6d9; 2.6.12 (not affected: before 2.6.12; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.134 up to 6.6.*; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 2.6.12.1 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.168; from 6.2 before 6.6.134; from 6.7 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 2.6.12; 7.0

## References

- <https://git.kernel.org/stable/c/96fc16370b0bceb289c7e0479bd0540b81e257aa> (patch)
- <https://git.kernel.org/stable/c/798d613afb64b01a203f448fb0f43c37c6afe79d> (patch)
- <https://git.kernel.org/stable/c/6e568835ea54a3e1d08e310e34f95d434e739477> (patch)
- <https://git.kernel.org/stable/c/1734bd85c5e0a7a801295b729efb56b009cb8fc3> (patch)
- <https://git.kernel.org/stable/c/4e2d1bcef78d21247fe8fef13bc7ed95885df2b5> (patch)
- <https://git.kernel.org/stable/c/8c92969c197b91c134be27dc3afb64ab468853a9> (patch)
- <https://git.kernel.org/stable/c/f953f11ccf4afe6feb635c08145f4240d9a6b544> (patch)
- <https://git.kernel.org/stable/c/a1822cb524e89b4cd2cf0b82e484a2335496a6d9> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

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

---

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