{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7616 exists.","fix":"No fix has been published for CVE-2025-7616 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-7616 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7616 exists.\n\nAffected product: gmg137 snap7-rs. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-7616/ (Markdown: https://insights.sbomify.com/CVE-2025-7616/index.md)","id":"CVE-2025-7616","markdown":"https://insights.sbomify.com/CVE-2025-7616/index.md","name":"CVE-2025-7616","record":{"aliases":["GHSA-2m7m-j3mq-9g6p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Rust S7 communication library","requires_auth":"low_privilege","summary":"Memory corruption in snap7-rs public API allows attackers to execute arbitrary code or cause denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"snap7-rs","vendor":"gmg137"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"gmg137 snap7-rs Public API pthread_cond_destroy memory corruption","id":"CVE-2025-7616","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"A stored Cross-Site Scripting (XSS) vulnerability exists in the File Explorer and Text Editor of ADM","id":"CVE-2025-7618"},"packages":[],"prev":{"headline":"TOTOLINK T6 HTTP POST Request cstecgi.cgi clearPairCfg command injection","id":"CVE-2025-7615"},"products":["snap7-rs"],"published":"2025-07-14","related":[{"cvss_score":6.9,"headline":"gmg137 snap7-rs client.rs download heap-based overflow","id":"CVE-2025-15247","kev_date_added":null,"published":"2025-12-30"},{"cvss_score":6.9,"headline":"gmg137 snap7-rs s7_micro_client.cpp opWriteArea heap-based overflow","id":"CVE-2025-14672","kev_date_added":null,"published":"2025-12-14"},{"cvss_score":6.9,"headline":"gmg137 snap7-rs client.rs as_ct_write heap-based overflow","id":"CVE-2025-14673","kev_date_added":null,"published":"2025-12-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-15","vendors":["gmg137"]},"summary":"Memory corruption in snap7-rs public API allows attackers to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2025-7616/"}