# CVE-2025-21905: wifi: iwlwifi: limit printed string from FW file

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-04-01T15:40:46.465Z
- Modified: 2026-06-17T08:44:34.570Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

wifi: iwlwifi: limit printed string from FW file

There's no guarantee here that the file is always with a
NUL-termination, so reading the string may read beyond the
end of the TLV. If that's the last TLV in the file, it can
perhaps even read beyond the end of the file buffer.

Fix that by limiting the print format to the size of the
buffer we have.

(As written by CVE List.)

## Affected

- Linux Linux: from aee1b6385e29e472ae5592b9652b750a29bf702e before 38f0d398b6d7640d223db69df022c4a232f24774; from aee1b6385e29e472ae5592b9652b750a29bf702e before c0e626f2b2390472afac52dfe72b29daf9ed8e1d; from aee1b6385e29e472ae5592b9652b750a29bf702e before 47616b82f2d42ea2060334746fed9a2988d845c9; from aee1b6385e29e472ae5592b9652b750a29bf702e before 88ed69f924638c7503644e1f8eed1e976f3ffa7a; from aee1b6385e29e472ae5592b9652b750a29bf702e before b02f8d5a71c8571ccf77f285737c566db73ef5e5; from aee1b6385e29e472ae5592b9652b750a29bf702e before f265e6031d0bc4fc40c4619cb42466722b46eaa9; from aee1b6385e29e472ae5592b9652b750a29bf702e before 59cdda202829d1d6a095d233386870a59aff986f; from aee1b6385e29e472ae5592b9652b750a29bf702e before e0dc2c1bef722cbf16ae557690861e5f91208129; 5.2 (not affected: before 5.2; 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.131 up to 6.1.*; from 6.6.83 up to 6.6.*; from 6.12.19 up to 6.12.*; from 6.13.7 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.2 before 5.4.291; from 5.5 before 5.10.235; from 5.11 before 5.15.179; from 5.16 before 6.1.131; from 6.2 before 6.6.83; from 6.7 before 6.12.19; from 6.13 before 6.13.7; 6.14

## Every score

- CISA-ADP: 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 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/38f0d398b6d7640d223db69df022c4a232f24774> (patch)
- <https://git.kernel.org/stable/c/c0e626f2b2390472afac52dfe72b29daf9ed8e1d> (patch)
- <https://git.kernel.org/stable/c/47616b82f2d42ea2060334746fed9a2988d845c9> (patch)
- <https://git.kernel.org/stable/c/88ed69f924638c7503644e1f8eed1e976f3ffa7a> (patch)
- <https://git.kernel.org/stable/c/b02f8d5a71c8571ccf77f285737c566db73ef5e5> (patch)
- <https://git.kernel.org/stable/c/f265e6031d0bc4fc40c4619cb42466722b46eaa9> (patch)
- <https://git.kernel.org/stable/c/59cdda202829d1d6a095d233386870a59aff986f> (patch)
- <https://git.kernel.org/stable/c/e0dc2c1bef722cbf16ae557690861e5f91208129> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Sources

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

---

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