# CVE-2026-45843: slip: bound decode() reads against the compressed packet length

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- 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.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-05-27T09:24:45.516Z
- Modified: 2026-10-19T20:18:19.250Z
- Weaknesses: CWE-126
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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

slip: bound decode() reads against the compressed packet length

slhc_uncompress() parses a VJ-compressed TCP header by advancing a
pointer through the packet via decode() and pull16(). Neither helper
bounds-checks against isize, and decode() masks its return with
& 0xffff so it can never return the -1 that callers test for -- those
error paths are dead code.

A short compressed frame whose change byte requests optional fields
lets decode() read past the end of the packet. The over-read bytes
are folded into the cached cstate and reflected into subsequent
reconstructed packets.

Make decode() and pull16() take the packet end pointer and return -1
when exhausted. Add a bounds check before the TCP-checksum read.
The existing == -1 tests now do what they were always meant to.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6268f01ae989013671b526c883e92655342c6f6f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9aafba2f49e1fcccc2018816f5836a609c925879; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 335957df4ed60f02a2ec0432fbedbf0cc7241d8b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 37537e42e6df387398bee85cb85070cc80bb1e10; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4cefe32639933d652614b0bd50f818f9af4af78f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0511ecb00e61bf28e2fec4bb41fcce385c3a3b2d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d42bec6e4f6d6d658be365539400b3314b76b2a7; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4c1367a2d7aad643a6f87c6931b13cc1a25e8ca7; 2.6.12 (not affected: before 2.6.12; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.12.1 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.141; from 6.7 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10; 2.6.12

## References

- <https://git.kernel.org/stable/c/6268f01ae989013671b526c883e92655342c6f6f> (patch)
- <https://git.kernel.org/stable/c/9aafba2f49e1fcccc2018816f5836a609c925879> (patch)
- <https://git.kernel.org/stable/c/335957df4ed60f02a2ec0432fbedbf0cc7241d8b> (patch)
- <https://git.kernel.org/stable/c/37537e42e6df387398bee85cb85070cc80bb1e10> (patch)
- <https://git.kernel.org/stable/c/4cefe32639933d652614b0bd50f818f9af4af78f> (patch)
- <https://git.kernel.org/stable/c/0511ecb00e61bf28e2fec4bb41fcce385c3a3b2d> (patch)
- <https://git.kernel.org/stable/c/d42bec6e4f6d6d658be365539400b3314b76b2a7> (patch)
- <https://git.kernel.org/stable/c/4c1367a2d7aad643a6f87c6931b13cc1a25e8ca7> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

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

---

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