CVE-2025-23157

published 1 May 2025 · updated 5 Aug 2026

media: venus: hfi_parser: add check to avoid out of bound access

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 172bf5a9ef70a399bb227809db78442dc01d9e48, Kernel 1ad6aa1464b8a5ce5c194458315021e8d216108e, Kernel 26bbedd06d85770581fda5d78e78539bb088fad1 and 6 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.19, >=1a73374a04e555103e5369429a30999114001dda <172bf5a9ef70a399bb227809db78442dc01d9e48, >=1a73374a04e555103e5369429a30999114001dda <1ad6aa1464b8a5ce5c194458315021e8d216108e, >=1a73374a04e555103e5369429a30999114001dda <26bbedd06d85770581fda5d78e78539bb088fad1, >=1a73374a04e555103e5369429a30999114001dda <2b8b9ea4e26a501eb220ea189e42b4527e65bdfa, >=1a73374a04e555103e5369429a30999114001dda <53e376178ceacca3ef1795038b22fc9ef45ff1d3, >=1a73374a04e555103e5369429a30999114001dda <b2541e29d82da8a0df728aadec3e0a8db55d517b, >=1a73374a04e555103e5369429a30999114001dda <cb5be9039f91979f8a2fac29f529f746d7848f3e, >=1a73374a04e555103e5369429a30999114001dda <d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45, >=1a73374a04e555103e5369429a30999114001dda <e5133a0b25463674903fdc0528e0a29b7267130e172bf5a9ef70a399bb227809db78442dc01d9e48, 1ad6aa1464b8a5ce5c194458315021e8d216108e, 26bbedd06d85770581fda5d78e78539bb088fad1, 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa, 53e376178ceacca3ef1795038b22fc9ef45ff1d3, b2541e29d82da8a0df728aadec3e0a8db55d517b, cb5be9039f91979f8a2fac29f529f746d7848f3e, d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45, e5133a0b25463674903fdc0528e0a29b7267130e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-23157 severity on Zeptric[![CVE-2025-23157](https://zeptric.io/badge/cve/CVE-2025-23157.svg)](https://zeptric.io/cve/CVE-2025-23157)