CVE-2025-6093 uYanki board-stm32f103rc-berial heartrate1_hal.c heartrate1_i2c_hal_write stack-based overflow

Medium 5.1 Published Updated

A stack-based buffer overflow in the I2C write function allows attackers to execute arbitrary code or cause denial of service on the device.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6093?

CVE-2025-6093 is a medium-severity memory corruption vulnerability in uYanki board-stm32f103rc-berial, published on 15 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability classified as critical was found in uYanki board-stm32f103rc-berial up to 84daed541609cb7b46854cc6672a275d1007e295. This vulnerability affects the function heartrate1_i2c_hal_write of the file 7.Example/hal/i2c/max30100/Manual/demo2/2/heartrate1_hal.c. The manipulation of the argument num leads to stack-based buffer overflow. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available.

Weakness: CWE-121, CWE-119

Which versions are affected by CVE-2025-6093?

How do I fix CVE-2025-6093?

No fix has been published for CVE-2025-6093 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-6093 being exploited?

There is no known exploitation of CVE-2025-6093 in the wild and no public exploit code.

Sources

Also known as GHSA-6gj4-wp95-h55h.

Is CVE-2025-6093 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free