{"id":"CVE-2025-21905","state":"PUBLISHED","title":"wifi: iwlwifi: limit printed string from FW file","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: limit printed string from FW file\n\nThere's no guarantee here that the file is always with a\nNUL-termination, so reading the string may read beyond the\nend of the TLV. If that's the last TLV in the file, it can\nperhaps even read beyond the end of the file buffer.\n\nFix that by limiting the print format to the size of the\nbuffer we have.","publishedAt":"2025-04-01T15:40:46.465Z","updatedAt":"2026-05-11T21:08:47.751Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"38f0d398b6d7640d223db69df022c4a232f24774","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"c0e626f2b2390472afac52dfe72b29daf9ed8e1d","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"47616b82f2d42ea2060334746fed9a2988d845c9","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"88ed69f924638c7503644e1f8eed1e976f3ffa7a","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"b02f8d5a71c8571ccf77f285737c566db73ef5e5","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"f265e6031d0bc4fc40c4619cb42466722b46eaa9","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"59cdda202829d1d6a095d233386870a59aff986f","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"e0dc2c1bef722cbf16ae557690861e5f91208129","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/intel/iwlwifi/iwl-drv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.2","versionType":"semver"},{"version":"5.4.291","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.235","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.179","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.131","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.83","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.19","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.7","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/intel/iwlwifi/iwl-drv.c"]}],"references":["https://git.kernel.org/stable/c/38f0d398b6d7640d223db69df022c4a232f24774","https://git.kernel.org/stable/c/c0e626f2b2390472afac52dfe72b29daf9ed8e1d","https://git.kernel.org/stable/c/47616b82f2d42ea2060334746fed9a2988d845c9","https://git.kernel.org/stable/c/88ed69f924638c7503644e1f8eed1e976f3ffa7a","https://git.kernel.org/stable/c/b02f8d5a71c8571ccf77f285737c566db73ef5e5","https://git.kernel.org/stable/c/f265e6031d0bc4fc40c4619cb42466722b46eaa9","https://git.kernel.org/stable/c/59cdda202829d1d6a095d233386870a59aff986f","https://git.kernel.org/stable/c/e0dc2c1bef722cbf16ae557690861e5f91208129","https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/21xxx/CVE-2025-21905.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-21905","state":"PUBLISHED","datePublished":"2025-04-01T15:40:46.465Z","dateUpdated":"2026-05-11T21:08:47.751Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-29T08:45:45.785Z"},"containers":{"cna":{"title":"wifi: iwlwifi: limit printed string from FW file","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: limit printed string from FW file\n\nThere's no guarantee here that the file is always with a\nNUL-termination, so reading the string may read beyond the\nend of the TLV. If that's the last TLV in the file, it can\nperhaps even read beyond the end of the file buffer.\n\nFix that by limiting the print format to the size of the\nbuffer we have."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"38f0d398b6d7640d223db69df022c4a232f24774","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"c0e626f2b2390472afac52dfe72b29daf9ed8e1d","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"47616b82f2d42ea2060334746fed9a2988d845c9","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"88ed69f924638c7503644e1f8eed1e976f3ffa7a","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"b02f8d5a71c8571ccf77f285737c566db73ef5e5","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"f265e6031d0bc4fc40c4619cb42466722b46eaa9","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"59cdda202829d1d6a095d233386870a59aff986f","versionType":"git"},{"version":"aee1b6385e29e472ae5592b9652b750a29bf702e","status":"affected","lessThan":"e0dc2c1bef722cbf16ae557690861e5f91208129","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/intel/iwlwifi/iwl-drv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.2","versionType":"semver"},{"version":"5.4.291","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.235","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.179","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.131","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.83","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.19","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.7","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/intel/iwlwifi/iwl-drv.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/38f0d398b6d7640d223db69df022c4a232f24774"},{"url":"https://git.kernel.org/stable/c/c0e626f2b2390472afac52dfe72b29daf9ed8e1d"},{"url":"https://git.kernel.org/stable/c/47616b82f2d42ea2060334746fed9a2988d845c9"},{"url":"https://git.kernel.org/stable/c/88ed69f924638c7503644e1f8eed1e976f3ffa7a"},{"url":"https://git.kernel.org/stable/c/b02f8d5a71c8571ccf77f285737c566db73ef5e5"},{"url":"https://git.kernel.org/stable/c/f265e6031d0bc4fc40c4619cb42466722b46eaa9"},{"url":"https://git.kernel.org/stable/c/59cdda202829d1d6a095d233386870a59aff986f"},{"url":"https://git.kernel.org/stable/c/e0dc2c1bef722cbf16ae557690861e5f91208129"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:08:47.751Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.4.291"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.10.235"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.15.179"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.1.131"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.6.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.12.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.13.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.14"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.1,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2025-21905","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:24:24.171530Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","type":"CWE","description":"CWE-125 Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:26:34.820Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:38:51.433Z"}}]}}}