CVE-2025-7616 gmg137 snap7-rs Public API pthread_cond_destroy memory corruption

Medium 5.1 Published Updated

Memory corruption in snap7-rs public API allows attackers to execute arbitrary code or cause denial of service.

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-7616?

CVE-2025-7616 is a medium-severity memory corruption vulnerability in gmg137 snap7-rs, published on 14 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in gmg137 snap7-rs up to 1.142.1. Affected by this issue is the function pthread_cond_destroy of the component Public API. The manipulation leads to memory corruption. The exploit has been disclosed to the public and may be used.

Weakness: CWE-119

Which versions are affected by CVE-2025-7616?

It affects 1 product.

Products include Gmg137 Snap7-Rs.

How do I fix CVE-2025-7616?

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

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

Sources

Also known as GHSA-2m7m-j3mq-9g6p.

Is CVE-2025-7616 in your software?

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

Check your SBOMs for free