CVE-2025-23157

In the Linux kernel, the following vulnerability has been resolved: media: venus: hfi_parser: add check to avoid out of bound access There is a possibility that init_codecs is invoked multiple times during manipulated payload from video firmware. In such case, if codecs_count can get incremented to value more than MAX_CODEC_NUM, there can be OOB access. Reset the count so that it always starts from beginning.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

05 Nov 2025, 17:56

Type Values Removed Values Added
First Time Debian debian Linux
Linux
Debian
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CWE CWE-125
References () https://git.kernel.org/stable/c/172bf5a9ef70a399bb227809db78442dc01d9e48 - () https://git.kernel.org/stable/c/172bf5a9ef70a399bb227809db78442dc01d9e48 - Patch
References () https://git.kernel.org/stable/c/1ad6aa1464b8a5ce5c194458315021e8d216108e - () https://git.kernel.org/stable/c/1ad6aa1464b8a5ce5c194458315021e8d216108e - Patch
References () https://git.kernel.org/stable/c/26bbedd06d85770581fda5d78e78539bb088fad1 - () https://git.kernel.org/stable/c/26bbedd06d85770581fda5d78e78539bb088fad1 - Patch
References () https://git.kernel.org/stable/c/2b8b9ea4e26a501eb220ea189e42b4527e65bdfa - () https://git.kernel.org/stable/c/2b8b9ea4e26a501eb220ea189e42b4527e65bdfa - Patch
References () https://git.kernel.org/stable/c/53e376178ceacca3ef1795038b22fc9ef45ff1d3 - () https://git.kernel.org/stable/c/53e376178ceacca3ef1795038b22fc9ef45ff1d3 - Patch
References () https://git.kernel.org/stable/c/b2541e29d82da8a0df728aadec3e0a8db55d517b - () https://git.kernel.org/stable/c/b2541e29d82da8a0df728aadec3e0a8db55d517b - Patch
References () https://git.kernel.org/stable/c/cb5be9039f91979f8a2fac29f529f746d7848f3e - () https://git.kernel.org/stable/c/cb5be9039f91979f8a2fac29f529f746d7848f3e - Patch
References () https://git.kernel.org/stable/c/d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45 - () https://git.kernel.org/stable/c/d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45 - Patch
References () https://git.kernel.org/stable/c/e5133a0b25463674903fdc0528e0a29b7267130e - () https://git.kernel.org/stable/c/e5133a0b25463674903fdc0528e0a29b7267130e - Patch
References () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html - () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html - Mailing List
References () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html - () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html - Mailing List
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

03 Nov 2025, 20:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html -
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html -

02 May 2025, 13:53

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: venus: hfi_parser: añadir comprobación para evitar accesos fuera de los límites. Existe la posibilidad de que init_codecs se invoque varias veces durante la manipulación de la carga útil del firmware de vídeo. En tal caso, si codecs_count se incrementa a un valor superior a MAX_CODEC_NUM, puede haber accesos fuera de los límites. Restablezca el contador para que siempre comience desde el principio.

02 May 2025, 07:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/1ad6aa1464b8a5ce5c194458315021e8d216108e -
  • () https://git.kernel.org/stable/c/2b8b9ea4e26a501eb220ea189e42b4527e65bdfa -
  • () https://git.kernel.org/stable/c/e5133a0b25463674903fdc0528e0a29b7267130e -

01 May 2025, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-01 13:15

Updated : 2025-11-05 17:56


NVD link : CVE-2025-23157

Mitre link : CVE-2025-23157

CVE.ORG link : CVE-2025-23157


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read