CVE-2025-15247 gmg137 snap7-rs client.rs download heap-based overflow

Medium 6.9 Published Updated

A heap-based buffer overflow in the snap7-rs library allows remote attackers to execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-15247?

CVE-2025-15247 is a medium-severity memory corruption vulnerability in gmg137 snap7-rs, published on 30 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was identified in gmg137 snap7-rs up to 153d3e8c16decd7271e2a5b2e3da4d6f68589424. Affected by this issue is the function snap7_rs::client::S7Client::download of the file client.rs. Such manipulation leads to heap-based buffer overflow. The attack can be executed remotely. The exploit is publicly available and might be used. This product implements a rolling release for ongoing delivery, which means version information for affected or updated releases is unavailable. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2025-15247?

It affects 1 product.

Products include Gmg137 Snap7-Rs.

How do I fix CVE-2025-15247?

No fix has been published for CVE-2025-15247 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-15247 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-15247 exists.

Sources

Also known as GHSA-xh4m-g9pq-wh25.

Is CVE-2025-15247 in your software?

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

Check your SBOMs for free