{"id":"CVE-2020-7457","published":"2020-07-09T13:46:41Z","modified":"2024-08-04T09:25:49Z","title":"In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and…","vendor":null,"product":null,"tier":"tail","description":{"text":"In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 11.3-RELEASE before p11, missing synchronization in the IPV6_2292PKTOPTIONS socket option set handler contained a race condition allowing a malicious application to modify memory after being freed, possibly resulting in code execution.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.33106,"percentile":0.98402,"provenance":"source"},"cwes":[],"references":[{"url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-20:20.ipv6.asc","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20200724-0002/","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/158695/FreeBSD-ip6_setpktopt-Use-After-Free-Privilege-Escalation.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.68},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"metasploit":[{"name":"FreeBSD ip6_setpktopt Use-After-Free Privilege Escalation","module":"exploit/freebsd/local/ip6_setpktopt_uaf_priv_esc","type":"exploit","disclosureDate":"2020-07-07","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/local/ip6_setpktopt_uaf_priv_esc.rb"}],"first":{"date":"2020-07-07","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/local/ip6_setpktopt_uaf_priv_esc.rb"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"FreeBSD","versions":["FreeBSD 12.1-RELEASE before p7, 11.4-RELEASE before p1, 11.3-RELEASE before p11"]}],"summary":{"text":"The flaw is a race condition in FreeBSD's kernel IPv6 socket option handling, specifically in the set handler for the IPV6_2292PKTOPTIONS option, caused by missing synchronization. It affects FreeBSD 12.1-STABLE, 12.1-RELEASE, 11.4-STABLE, 11.4-RELEASE, and 11.3-RELEASE in the releases and revisions listed in the title. A malicious local application that exploits the race can modify memory after it has been freed, which may allow code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:56Z"},"euvd":{"id":"EUVD-2020-28583","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/158695/FreeBSD-ip6_setpktopt-Use-After-Free-Privilege-Escalation.html"]}