{"schemaVersion":3,"id":"CVE-2021-25487","aliases":[],"status":"published","duplicateOf":null,"title":"Samsung Mobile Devices Out-of-Bounds Read Vulnerability","description":"Lack of boundary checking of a buffer in set_skb_priv() of modem interface driver prior to SMR Oct-2021 Release 1 allows OOB read and it results in arbitrary code execution by dereference of invalid function pointer.","dates":{"published":"2021-10-06T17:10:26.000Z","modified":"2025-10-21T23:25:30.525Z","reserved":null,"kevAdded":["2023-06-29T00:00:00.000Z"],"kevDue":["2023-07-20T00:00:00.000Z"]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/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":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","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},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00635,"percentile":0.49462,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00635},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00635,"percentile":0.49462}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00635,"percentile":0.49462}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2023-06-29T00:00:00.000Z","dueDate":"2023-07-20T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions or discontinue use of the product if updates are unavailable","name":"Samsung Mobile Devices Out-of-Bounds Read Vulnerability","description":"Samsung mobile devices contain an out-of-bounds read vulnerability within the modem interface driver due to a lack of boundary checking of a buffer in set_skb_priv(), leading to remote code execution by dereference of an invalid function pointer.","notes":[{"type":"url","href":"https://security.samsungmobile.com/securityUpdate.smsb?year=2021&month=10","label":"security.samsungmobile.com/securityUpdate.smsb?year=2021&month=10"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2021-25487","label":"nvd.nist.gov/vuln/detail/CVE-2021-25487"}],"vendor":"Samsung","product":"Mobile Devices","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2023-06-29T00:00:00.000Z","dueDate":"2023-07-20T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions or discontinue use of the product if updates are unavailable","name":"Samsung Mobile Devices Out-of-Bounds Read Vulnerability","description":"Samsung mobile devices contain an out-of-bounds read vulnerability within the modem interface driver due to a lack of boundary checking of a buffer in set_skb_priv(), leading to remote code execution by dereference of an invalid function pointer.","notes":[{"type":"url","href":"https://security.samsungmobile.com/securityUpdate.smsb?year=2021&month=10","label":"security.samsungmobile.com/securityUpdate.smsb?year=2021&month=10"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2021-25487","label":"nvd.nist.gov/vuln/detail/CVE-2021-25487"}],"vendor":"Samsung","product":"Mobile Devices","ransomware":false,"ransomwareUse":"Unknown","exploitationType":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-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"samsung mobile","product":"samsung mobile devices","name":"Samsung Mobile Devices","label":"samsung mobile devices","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ O(8.1), P(9.0), Q(10.0), R(11.0), < SMR Oct-2021 Release 1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ O(8.1), P(9.0), Q(10.0), R(11.0), < SMR Oct-2021 Release 1","eol":null,"hubHref":"/vendor/samsung_mobile/samsung_mobile_devices"},{"vendor":"samsung","product":"android","name":"android","label":"android","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-apr-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-aug-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-feb-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-jan-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-jul-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-jun-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-mar-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-may-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"9.0:smr-sep-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-apr-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-aug-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-feb-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-jan-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-jul-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-jun-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-mar-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-may-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"10.0:smr-sep-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-apr-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-aug-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-feb-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-jan-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-jul-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-jun-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-mar-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-may-2021-r1","noFixRecorded":false,"fixedIn":null},{"text":"11.0:smr-sep-2021-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.1 | 9.0:smr-apr-2021-r1 | 9.0:smr-aug-2021-r1 | 9.0:smr-feb-2021-r1 | 9.0:smr-jan-2021-r1 | 9.0:smr-jul-2021-r1 | 9.0:smr-jun-2021-r1 | 9.0:smr-mar-2021-r1 | 9.0:smr-may-2021-r1 | 9.0:smr-sep-2021-r1 | 10.0:smr-apr-2021-r1 | 10.0:smr-aug-2021-r1 | 10.0:smr-feb-2021-r1 | 10.0:smr-jan-2021-r1 | 10.0:smr-jul-2021-r1 | 10.0:smr-jun-2021-r1 | 10.0:smr-mar-2021-r1 | 10.0:smr-may-2021-r1 | 10.0:smr-sep-2021-r1 | 11.0:smr-apr-2021-r1 | 11.0:smr-aug-2021-r1 | 11.0:smr-feb-2021-r1 | 11.0:smr-jan-2021-r1 | 11.0:smr-jul-2021-r1 | 11.0:smr-jun-2021-r1 | 11.0:smr-mar-2021-r1 | 11.0:smr-may-2021-r1 | 11.0:smr-sep-2021-r1","eol":null,"hubHref":"/vendor/samsung/android"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.samsungmobile.com/securityUpdate.smsb?year=2021&month=10","label":"security.samsungmobile.com/securityUpdate.smsb?year=2021&month=10","hostname":"security.samsungmobile.com","tags":["X Refsource MISC","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25487","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25487","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-10-06T17:10:26.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2023-06-29T00:00:00.000Z","label":"Added to CISA KEV","detail":"Samsung Mobile Devices Out-of-Bounds Read Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2023-07-20T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions or discontinue use of the product if updates are unavailable","source":"cisa"},{"kind":"modified","date":"2025-10-21T23:25:30.525Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:08:07.116Z","stale":false,"partial":false}}