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

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-26)
- **CWE:** CWE-191
- **Published:** 2026-04-13T13:21:04.638Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 96fc16370b0bceb289c7e0479bd0540b81e257aa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 798d613afb64b01a203f448fb0f43c37c6afe79d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6e568835ea54a3e1d08e310e34f95d434e739477; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1734bd85c5e0a7a801295b729efb56b009cb8fc3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e2d1bcef78d21247fe8fef13bc7ed95885df2b5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8c92969c197b91c134be27dc3afb64ab468853a9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f953f11ccf4afe6feb635c08145f4240d9a6b544; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a1822cb524e89b4cd2cf0b82e484a2335496a6d9
- Anyone running Linux 2.6.12

## 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()\`.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 96fc16370b0bceb289c7e0479bd0540b81e257aa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 798d613afb64b01a203f448fb0f43c37c6afe79d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6e568835ea54a3e1d08e310e34f95d434e739477; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1734bd85c5e0a7a801295b729efb56b009cb8fc3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e2d1bcef78d21247fe8fef13bc7ed95885df2b5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8c92969c197b91c134be27dc3afb64ab468853a9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f953f11ccf4afe6feb635c08145f4240d9a6b544; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a1822cb524e89b4cd2cf0b82e484a2335496a6d9 (cvelist)
- Linux: 2.6.12 (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-2026-31417. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31417.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 96fc16370b0bceb289c7e0479bd0540b81e257aa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 798d613afb64b01a203f448fb0f43c37c6afe79d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6e568835ea54a3e1d08e310e34f95d434e739477; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 96fc16370b0bceb289c7e0479bd0540b81e257aa, Linux 798d613afb64b01a203f448fb0f43c37c6afe79d, Linux 6e568835ea54a3e1d08e310e34f95d434e739477, Linux 1734bd85c5e0a7a801295b729efb56b009cb8fc3, Linux 4e2d1bcef78d21247fe8fef13bc7ed95885df2b5, Linux 8c92969c197b91c134be27dc3afb64ab468853a9

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-2026-31417 being exploited?

There is no confirmed exploitation: CVE-2026-31417 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31417?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-31417?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 96fc16370b0bceb289c7e0479bd0540b81e257aa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 798d613afb64b01a203f448fb0f43c37c6afe79d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6e568835ea54a3e1d08e310e34f95d434e739477; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1734bd85c5e0a7a801295b729efb56b009cb8fc3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e2d1bcef78d21247fe8fef13bc7ed95885df2b5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8c92969c197b91c134be27dc3afb64ab468853a9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f953f11ccf4afe6feb635c08145f4240d9a6b544; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a1822cb524e89b4cd2cf0b82e484a2335496a6d9; Linux 2.6.12.

### Is there a fix for CVE-2026-31417?

Yes. Fixed in Linux 96fc16370b0bceb289c7e0479bd0540b81e257aa, Linux 798d613afb64b01a203f448fb0f43c37c6afe79d, Linux 6e568835ea54a3e1d08e310e34f95d434e739477, Linux 1734bd85c5e0a7a801295b729efb56b009cb8fc3, Linux 4e2d1bcef78d21247fe8fef13bc7ed95885df2b5, Linux 8c92969c197b91c134be27dc3afb64ab468853a9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-31417?

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/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>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.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-2026-31417>

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