Integer Overflow or Wraparound Affecting openharmony/kernel_liteos_a package, versions [4.1.0,5.0.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENHARMONYKERNELLITEOSA-9670769
  • published8 Apr 2025
  • disclosed7 Apr 2025
  • creditUnknown

Introduced: 7 Apr 2025

NewCVE-2025-22851  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade openharmony/kernel_liteos_a to version 5.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound in pre-installed apps. An attacker can execute arbitrary code by exploiting this overflow condition. This is only exploitable if the attacker has local access to the device.

CVSS Base Scores

version 4.0
version 3.1