CVE-2025-21905

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21905
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21905.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21905
Downstream
Related
Published
2025-04-01T15:40:46.465Z
Modified
2025-11-27T19:35:35.289618Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
wifi: iwlwifi: limit printed string from FW file
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2025/21xxx/CVE-2025-21905.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aee1b6385e29e472ae5592b9652b750a29bf702e
Fixed
38f0d398b6d7640d223db69df022c4a232f24774
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aee1b6385e29e472ae5592b9652b750a29bf702e
Fixed
c0e626f2b2390472afac52dfe72b29daf9ed8e1d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aee1b6385e29e472ae5592b9652b750a29bf702e
Fixed
47616b82f2d42ea2060334746fed9a2988d845c9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aee1b6385e29e472ae5592b9652b750a29bf702e
Fixed
88ed69f924638c7503644e1f8eed1e976f3ffa7a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aee1b6385e29e472ae5592b9652b750a29bf702e
Fixed
b02f8d5a71c8571ccf77f285737c566db73ef5e5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aee1b6385e29e472ae5592b9652b750a29bf702e
Fixed
f265e6031d0bc4fc40c4619cb42466722b46eaa9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aee1b6385e29e472ae5592b9652b750a29bf702e
Fixed
59cdda202829d1d6a095d233386870a59aff986f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aee1b6385e29e472ae5592b9652b750a29bf702e
Fixed
e0dc2c1bef722cbf16ae557690861e5f91208129

Linux / Kernel

Package

Name
Kernel

Affected 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