Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-23157

HIGH 7.8EPSS 18%

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

Mitigation

  • Upgrade Linux to 172bf5a9ef70a399bb227809db78442dc01d9e48 or later.

Who should check

  • Anyone running Linux >= 1a73374a04e555103e5369429a30999114001dda, < e5133a0b25463674903fdc0528e0a29b7267130e; >= 1a73374a04e555103e5369429a30999114001dda, < 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa; >= 1a73374a04e555103e5369429a30999114001dda, < 1ad6aa1464b8a5ce5c194458315021e8d216108e; >= 1a73374a04e555103e5369429a30999114001dda, < 26bbedd06d85770581fda5d78e78539bb088fad1; >= 1a73374a04e555103e5369429a30999114001dda, < d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45; >= 1a73374a04e555103e5369429a30999114001dda, < 53e376178ceacca3ef1795038b22fc9ef45ff1d3; >= 1a73374a04e555103e5369429a30999114001dda, < b2541e29d82da8a0df728aadec3e0a8db55d517b; >= 1a73374a04e555103e5369429a30999114001dda, < cb5be9039f91979f8a2fac29f529f746d7848f3e; >= 1a73374a04e555103e5369429a30999114001dda, < 172bf5a9ef70a399bb227809db78442dc01d9e48
  • Anyone running Linux 4.19

Vulnerability facts

Affected
Linux >= 1a73374a04e555103e5369429a30999114001dda, < e5133a0b25463674903fdc0528e0a29b7267130e; >= 1a73374a04e555103e5369429a30999114001dda, < 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa; >= 1a73374a04e555103e5369429a30999114001dda, < 1ad6aa1464b8a5ce5c194458315021e8d216108e; >= 1a73374a04e555103e5369429a30999114001dda, < 26bbedd06d85770581fda5d78e78539bb088fad1; >= 1a73374a04e555103e5369429a30999114001dda, < d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45; >= 1a73374a04e555103e5369429a30999114001dda, < 53e376178ceacca3ef1795038b22fc9ef45ff1d3; >= 1a73374a04e555103e5369429a30999114001dda, < b2541e29d82da8a0df728aadec3e0a8db55d517b; >= 1a73374a04e555103e5369429a30999114001dda, < cb5be9039f91979f8a2fac29f529f746d7848f3e; >= 1a73374a04e555103e5369429a30999114001dda, < 172bf5a9ef70a399bb227809db78442dc01d9e48; Linux 4.19
Fixed in
Linux 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa, Linux 1ad6aa1464b8a5ce5c194458315021e8d216108e, Linux 26bbedd06d85770581fda5d78e78539bb088fad1, Linux 53e376178ceacca3ef1795038b22fc9ef45ff1d3, Linux 172bf5a9ef70a399bb227809db78442dc01d9e48
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-125
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 1a73374a04e555103e5369429a30999114001dda, < e5133a0b25463674903fdc0528e0a29b7267130e; >= 1a73374a04e555103e5369429a30999114001dda, < 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa; >= 1a73374a04e555103e5369429a30999114001dda, < 1ad6aa1464b8a5ce5c194458315021e8d216108e; >= 1a73374a04e555103e5369429a30999114001dda, < 26bbedd06d85770581fda5d78e78539bb088fad1; >= 1a73374a04e555103e5369429a30999114001dda, < d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45; >= 1a73374a04e555103e5369429a30999114001dda, < 53e376178ceacca3ef1795038b22fc9ef45ff1d3; >= 1a73374a04e555103e5369429a30999114001dda, < b2541e29d82da8a0df728aadec3e0a8db55d517b; >= 1a73374a04e555103e5369429a30999114001dda, < cb5be9039f91979f8a2fac29f529f746d7848f3e; >= 1a73374a04e555103e5369429a30999114001dda, < 172bf5a9ef70a399bb227809db78442dc01d9e48—cvelist
Linux4.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-23157. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-23157.md
Affected: Linux >= 1a73374a04e555103e5369429a30999114001dda, < e5133a0b25463674903fdc0528e0a29b7267130e; >= 1a73374a04e555103e5369429a30999114001dda, < 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa; >= 1a73374a04e555103e5369429a30999114001dda, < 1ad6aa1464b8a5ce5c194458315021e8d216108e; >= 1a73374a04e555103e53694…
Fixed in: Linux 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa, Linux 1ad6aa1464b8a5ce5c194458315021e8d216108e, Linux 26bbedd06d85770581fda5d78e78539bb088fad1, Linux 53e376178ceacca3ef1795038b22fc9ef45ff1d3, Linux 172bf5a9ef70a399bb227809db78442dc01d9e48

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-23157 being exploited?

There is no confirmed exploitation: CVE-2025-23157 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-23157?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-23157?

Linux >= 1a73374a04e555103e5369429a30999114001dda, < e5133a0b25463674903fdc0528e0a29b7267130e; >= 1a73374a04e555103e5369429a30999114001dda, < 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa; >= 1a73374a04e555103e5369429a30999114001dda, < 1ad6aa1464b8a5ce5c194458315021e8d216108e; >= 1a73374a04e555103e5369429a30999114001dda, < 26bbedd06d85770581fda5d78e78539bb088fad1; >= 1a73374a04e555103e5369429a30999114001dda, < d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45; >= 1a73374a04e555103e5369429a30999114001dda, < 53e376178ceacca3ef1795038b22fc9ef45ff1d3; >= 1a73374a04e555103e5369429a30999114001dda, < b2541e29d82da8a0df728aadec3e0a8db55d517b; >= 1a73374a04e555103e5369429a30999114001dda, < cb5be9039f91979f8a2fac29f529f746d7848f3e; >= 1a73374a04e555103e5369429a30999114001dda, < 172bf5a9ef70a399bb227809db78442dc01d9e48; Linux 4.19.

Is there a fix for CVE-2025-23157?

Yes. Fixed in Linux 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa, Linux 1ad6aa1464b8a5ce5c194458315021e8d216108e, Linux 26bbedd06d85770581fda5d78e78539bb088fad1, Linux 53e376178ceacca3ef1795038b22fc9ef45ff1d3, Linux 172bf5a9ef70a399bb227809db78442dc01d9e48. Upgrade Linux to 172bf5a9ef70a399bb227809db78442dc01d9e48 or later.

How do I check if I'm affected by CVE-2025-23157?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors