{"schemaVersion":3,"id":"CVE-2020-24863","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A memory corruption vulnerability was found in the kernel function kern_getfsstat in MidnightBSD before 1.2.7 and 1.3 through 2020-08-19, and FreeBSD through 11.4, that allows an attacker to trigger an invalid free and crash the system via a crafted size value in conjunction with an invalid mode.","dates":{"published":"2020-09-03T14:34:32.000Z","modified":"2024-08-04T15:19:09.428Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.9,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00533,"percentile":0.43905,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00533},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00533,"percentile":0.43905}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00533,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00533,"percentile":0.43905}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_MIDNIGHTBSD_SRC","name":"Src","source":"github","url":"https://github.com/MidnightBSD/src/blob/1691c07ff4f27b97220a5d65e217341e477f4014/sys/kern/vfs_syscalls.c","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_AD4D07814EB19F5B","name":"Exploit Reference (midnightbsd.org)","source":"reference","url":"http://www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:01.txt","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"freebsd","product":"freebsd","name":"freebsd","label":"freebsd","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 11.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 11.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"freebsd","label":"FreeBSD","category":"os"}},"hubHref":"/vendor/freebsd/freebsd"},{"vendor":"midnightbsd","product":"midnightbsd","name":"midnightbsd","label":"midnightbsd","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< 1.2.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.3, ≤ 2020-08-19","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.7 | ≥ 1.3, ≤ 2020-08-19","eol":null,"hubHref":"/vendor/midnightbsd/midnightbsd"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.midnightbsd.org/notes/","label":"www.midnightbsd.org/notes/","hostname":"www.midnightbsd.org","tags":["X Refsource MISC","Release Notes","Vendor Advisory"]},{"url":"https://github.com/MidnightBSD/src/blob/1691c07ff4f27b97220a5d65e217341e477f4014/sys/kern/vfs_syscalls.c","label":"github.com/MidnightBSD/src/blob/1691c07ff4f27b97220a5d65e217341e477f4014/sys/kern/vfs_syscalls.c","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"http://www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:01.txt","label":"www.midnightbsd.org/security/adv/MIDNIGHTBSD-SA-20:01.txt","hostname":"www.midnightbsd.org","tags":["X Refsource CONFIRM","Exploit","Vendor Advisory"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-EN-20:18.getfsstat.asc","label":"www.freebsd.org/security/advisories/FreeBSD-EN-20:18.getfsstat.asc","hostname":"www.freebsd.org","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-09-03T14:34:32.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T15:19:09.428Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:33:58.873Z","stale":false,"partial":false}}