# CVE-2025-21735: NFC: nci: Add bounds checking in nci_hci_create_pipe()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2025-02-27T02:12:12.202Z
- Modified: 2026-10-15T02:17:31.457Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

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

NFC: nci: Add bounds checking in nci_hci_create_pipe()

The "pipe" variable is a u8 which comes from the network.  If it's more
than 127, then it results in memory corruption in the caller,
nci_hci_connect_gate().

(As written by CVE List.)

## Affected

- Linux Linux: from a1b0b9415817c14d207921582f269d03f848b69f before bd249109d266f1d52548c46634a15b71656e0d44; from a1b0b9415817c14d207921582f269d03f848b69f before 674e17c5933779a8bf5c15d596fdfcb5ccdebbc2; from a1b0b9415817c14d207921582f269d03f848b69f before 10b3f947b609713e04022101f492d288a014ddfa; from a1b0b9415817c14d207921582f269d03f848b69f before d5a461c315e5ff92657f84d8ba50caa5abf5c22a; from a1b0b9415817c14d207921582f269d03f848b69f before 172cdfc3a5ea20289c58fb73dadc6fd4a8784a4e; from a1b0b9415817c14d207921582f269d03f848b69f before 2ae4bade5a64d126bd18eb66bd419005c5550218; from a1b0b9415817c14d207921582f269d03f848b69f before 59c7ed20217c0939862fbf8145bc49d5b3a13f4f; from a1b0b9415817c14d207921582f269d03f848b69f before 110b43ef05342d5a11284cc8b21582b698b4ef1c; 4.4 (not affected: before 4.4; from 5.4.291 up to 5.4.*; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.78 up to 6.6.*; from 6.12.14 up to 6.12.*; from 6.13.3 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 4.4 before 6.1.129; from 6.2 before 6.6.78; from 6.7 before 6.12.14; from 6.13 before 6.13.3

## Every score

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

## References

- <https://git.kernel.org/stable/c/bd249109d266f1d52548c46634a15b71656e0d44>
- <https://git.kernel.org/stable/c/674e17c5933779a8bf5c15d596fdfcb5ccdebbc2>
- <https://git.kernel.org/stable/c/10b3f947b609713e04022101f492d288a014ddfa>
- <https://git.kernel.org/stable/c/d5a461c315e5ff92657f84d8ba50caa5abf5c22a> (patch)
- <https://git.kernel.org/stable/c/172cdfc3a5ea20289c58fb73dadc6fd4a8784a4e> (patch)
- <https://git.kernel.org/stable/c/2ae4bade5a64d126bd18eb66bd419005c5550218> (patch)
- <https://git.kernel.org/stable/c/59c7ed20217c0939862fbf8145bc49d5b3a13f4f> (patch)
- <https://git.kernel.org/stable/c/110b43ef05342d5a11284cc8b21582b698b4ef1c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

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

---

Page: https://cve.day/CVE-2025-21735 · Whole record: https://cve.day/CVE-2025-21735.json · Rebuilt by cve.day 2026-11-25T22:58:54.512Z
