{"schema_version":"1.9.0","id":"CVE-2025-21905","published":"2025-04-01T15:40:46.465Z","modified":"2026-08-12T03:51:48.575360464Z","related":["ALSA-2025:11428","ALSA-2025:11850","ALSA-2025:11851","ALSA-2025:11861","SUSE-SU-2025:01614-1","SUSE-SU-2025:01707-1","SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20206-1","SUSE-SU-2025:20270-1","SUSE-SU-2025:20283-1"],"summary":"wifi: iwlwifi: limit printed string from FW file","details":"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":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"aee1b6385e29e472ae5592b9652b750a29bf702e"},{"fixed":"38f0d398b6d7640d223db69df022c4a232f24774"},{"fixed":"c0e626f2b2390472afac52dfe72b29daf9ed8e1d"},{"fixed":"47616b82f2d42ea2060334746fed9a2988d845c9"},{"fixed":"88ed69f924638c7503644e1f8eed1e976f3ffa7a"},{"fixed":"b02f8d5a71c8571ccf77f285737c566db73ef5e5"},{"fixed":"f265e6031d0bc4fc40c4619cb42466722b46eaa9"},{"fixed":"59cdda202829d1d6a095d233386870a59aff986f"},{"fixed":"e0dc2c1bef722cbf16ae557690861e5f91208129"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21905.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.4.291"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.235"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.179"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.131"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.83"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.13.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21905.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/38f0d398b6d7640d223db69df022c4a232f24774"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47616b82f2d42ea2060334746fed9a2988d845c9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/59cdda202829d1d6a095d233386870a59aff986f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88ed69f924638c7503644e1f8eed1e976f3ffa7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b02f8d5a71c8571ccf77f285737c566db73ef5e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0e626f2b2390472afac52dfe72b29daf9ed8e1d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e0dc2c1bef722cbf16ae557690861e5f91208129"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f265e6031d0bc4fc40c4619cb42466722b46eaa9"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21905.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21905"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21905.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}