{"schemaVersion":3,"id":"CVE-2022-40540","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.","dates":{"published":"2023-03-07T04:43:57.980Z","modified":"2024-08-03T12:21:46.284Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00166,"percentile":0.05553,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00166},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00166,"percentile":0.05553}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00166,"percentile":0.05553}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"qualcomm, inc.","product":"snapdragon","name":"Snapdragon","label":"snapdragon","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"SD 8 Gen1 5G","noFixRecorded":false,"fixedIn":null},{"text":"SD888 5G","noFixRecorded":false,"fixedIn":null},{"text":"SW5100","noFixRecorded":false,"fixedIn":null},{"text":"SW5100P","noFixRecorded":false,"fixedIn":null},{"text":"WCD9380","noFixRecorded":false,"fixedIn":null},{"text":"WCD9385","noFixRecorded":false,"fixedIn":null},{"text":"WCN3980","noFixRecorded":false,"fixedIn":null},{"text":"WCN3988","noFixRecorded":false,"fixedIn":null},{"text":"WCN6850","noFixRecorded":false,"fixedIn":null},{"text":"WCN6851","noFixRecorded":false,"fixedIn":null},{"text":"WCN6855","noFixRecorded":false,"fixedIn":null},{"text":"WCN6856","noFixRecorded":false,"fixedIn":null},{"text":"WCN7850","noFixRecorded":false,"fixedIn":null},{"text":"WCN7851","noFixRecorded":false,"fixedIn":null},{"text":"WSA8830","noFixRecorded":false,"fixedIn":null},{"text":"WSA8835","noFixRecorded":false,"fixedIn":null}],"versionsText":"SD 8 Gen1 5G | SD888 5G | SW5100 | SW5100P | WCD9380 | WCD9385 | WCN3980 | WCN3988 | WCN6850 | WCN6851 | WCN6855 | WCN6856 | WCN7850 | WCN7851 | WSA8830 | WSA8835","eol":null,"hubHref":"/vendor/qualcomm_inc/snapdragon"},{"vendor":"qualcomm","product":"sd_8_gen1_5g_firmware","name":"sd 8 gen1 5g firmware","label":"sd_8_gen1_5g_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/sd_8_gen1_5g"},{"vendor":"qualcomm","product":"sd888_5g_firmware","name":"sd888 5g firmware","label":"sd888_5g_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/sd888_5g"},{"vendor":"qualcomm","product":"sw5100_firmware","name":"sw5100 firmware","label":"sw5100_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/sw5100"},{"vendor":"qualcomm","product":"sw5100p_firmware","name":"sw5100p firmware","label":"sw5100p_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/sw5100p"},{"vendor":"qualcomm","product":"wcd9380_firmware","name":"wcd9380 firmware","label":"wcd9380_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcd9380"},{"vendor":"qualcomm","product":"wcd9385_firmware","name":"wcd9385 firmware","label":"wcd9385_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcd9385"},{"vendor":"qualcomm","product":"wcn3980_firmware","name":"wcn3980 firmware","label":"wcn3980_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcn3980"},{"vendor":"qualcomm","product":"wcn3988_firmware","name":"wcn3988 firmware","label":"wcn3988_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcn3988"},{"vendor":"qualcomm","product":"wcn6850_firmware","name":"wcn6850 firmware","label":"wcn6850_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcn6850"},{"vendor":"qualcomm","product":"wcn6851_firmware","name":"wcn6851 firmware","label":"wcn6851_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcn6851"},{"vendor":"qualcomm","product":"wcn6855_firmware","name":"wcn6855 firmware","label":"wcn6855_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcn6855"},{"vendor":"qualcomm","product":"wcn6856_firmware","name":"wcn6856 firmware","label":"wcn6856_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcn6856"},{"vendor":"qualcomm","product":"wcn7850_firmware","name":"wcn7850 firmware","label":"wcn7850_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcn7850"},{"vendor":"qualcomm","product":"wcn7851_firmware","name":"wcn7851 firmware","label":"wcn7851_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wcn7851"},{"vendor":"qualcomm","product":"wsa8830_firmware","name":"wsa8830 firmware","label":"wsa8830_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wsa8830"},{"vendor":"qualcomm","product":"wsa8835_firmware","name":"wsa8835 firmware","label":"wsa8835_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/qualcomm/wsa8835"}],"affectedCount":17,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.qualcomm.com/company/product-security/bulletins/march-2023-bulletin","label":"www.qualcomm.com/company/product-security/bulletins/march-2023-bulletin","hostname":"www.qualcomm.com","tags":["Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230616-0001/","label":"security.netapp.com/advisory/ntap-20230616-0001/","hostname":"security.netapp.com","tags":[]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1209597","label":"bugzilla.suse.com/show_bug.cgi?id=1209597","hostname":"bugzilla.suse.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-03-07T04:43:57.980Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T12:21:46.284Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:37:04.995Z","stale":false,"partial":false}}