{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40215 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-40215 is a medium-severity use after free vulnerability in OpenVPN, published on 8 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40215 and fix it if it is affected.\n\nWhat it is: CVE-2026-40215 is a medium-severity use after free vulnerability in OpenVPN, published on 8 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40215 in the wild and no public exploit code.\n\nAffected product: OpenVPN. 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-2026-40215/ (Markdown: https://insights.sbomify.com/CVE-2026-40215/index.md)","id":"CVE-2026-40215","markdown":"https://insights.sbomify.com/CVE-2026-40215/index.md","name":"CVE-2026-40215","record":{"aliases":["ALPINE-CVE-2026-40215","DEBIAN-CVE-2026-40215","GHSA-3mmv-h5fc-pvwj","OESA-2026-2625","UBUNTU-CVE-2026-40215"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenVPN server","requires_auth":"low_privilege","summary":"Remote attackers can crash the OpenVPN server or leak heap memory via a race condition during TLS session promotion.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"OpenVPN","cpe":[{"product":"openvpn","vendor":"openvpn"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:L/SI:N/SA:L","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"A race condition in OpenVPN 2.6.0 through 2.6.19 and 2.7_alpha1 through 2.7.1 allows remote attackers to potentially cause a server crash or leak heap memory via a use-after-free triggered during TLS session promotion.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Use after free in OpenVPN","id":"CVE-2026-40215","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"LiteLLM has a sandbox escape in custom-code guardrail","id":"CVE-2026-40217"},"packages":[],"prev":{"headline":"OpenStack Cyborg's Accelerator Request (ARQ) API does not enforce project ownership at any layer","id":"CVE-2026-40214"},"products":["OpenVPN"],"published":"2026-06-08","related":[{"cvss_score":9.1,"headline":"Memory corruption in OpenVPN","id":"CVE-2025-12106","kev_date_added":null,"published":"2025-12-01"},{"cvss_score":9.1,"headline":"Information disclosure in OpenVPN","id":"CVE-2024-5594","kev_date_added":null,"published":"2025-01-06"},{"cvss_score":9.1,"headline":"Cross-site request forgery in n/a","id":"CVE-2018-7544","kev_date_added":null,"published":"2018-03-16"},{"cvss_score":9,"headline":"Code injection in n/a","id":"CVE-2006-1629","kev_date_added":null,"published":"2006-04-06"},{"cvss_score":8.8,"headline":"Privilege escalation in OpenVPN","id":"CVE-2024-4877","kev_date_added":null,"published":"2025-04-03"},{"cvss_score":7.8,"headline":"Code injection in OpenVPN-GUI","id":"CVE-2021-3606","kev_date_added":null,"published":"2021-07-02"},{"cvss_score":7.8,"headline":"Use after free in n/a","id":"CVE-2018-9336","kev_date_added":null,"published":"2018-05-01"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-16","vendors":["OpenVPN"]},"summary":"Remote attackers can crash the OpenVPN server or leak heap memory via a race condition during TLS session promotion.","url":"https://insights.sbomify.com/CVE-2026-40215/"}