{"id":"CVE-2022-50051","aliases":["CVE-2022-50051"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: SOF: debug: Fix potential buffer overflow by snprintf()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: debug: Fix potential buffer overflow by snprintf()\n\nsnprintf() returns the would-be-filled size when the string overflows\nthe given buffer size, hence using this value may result in the buffer\noverflow (although it's unrealistic).\n\nThis patch replaces with a safer version, scnprintf() for papering\nover such a potential issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: debug: Fix potential buffer overflow by snprintf()\n\nsnprintf() returns the would-be-filled size when the string overflows\nthe given buffer size, hence using this value may result in the buffer\noverflow (although it's unrealistic).\n\nThis patch replaces with a safer version, scnprintf() for papering\nover such a potential issue.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: SOF: depuración: Corrección de un posible desbordamiento de búfer mediante snprintf(). snprintf() devuelve el tamaño que se espera que se llene cuando la cadena supera el tamaño de búfer especificado; por lo tanto, usar este valor podría provocar un desbordamiento de búfer (aunque esto no es realista). Este parche reemplaza scnprintf(), una versión más segura, para disimular este posible problema.","source":"nvd"}],"published":"2025-06-18T11:01:51.560Z","modified":"2026-11-05T20:17:21.700Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"5b10b62989219aa527ee4fa555d1995a3b70981b","fixed":"b318b9dd2ac67f39d0338ce563879d1f59a0347a","status":"affected"},{"type":"git","introduced":"5b10b62989219aa527ee4fa555d1995a3b70981b","fixed":"a67971a17604ae7de278fb09243432459afc51e1","status":"affected"},{"type":"git","introduced":"5b10b62989219aa527ee4fa555d1995a3b70981b","fixed":"1eb123ce985e6cf302ac6e3f19862d132d86fa8f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.63","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.4","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.11","fixed":"5.15.63"},{"status":"affected","introduced":"5.16","fixed":"5.19.4"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b318b9dd2ac67f39d0338ce563879d1f59a0347a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a67971a17604ae7de278fb09243432459afc51e1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1eb123ce985e6cf302ac6e3f19862d132d86fa8f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:53:28.923Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50051","url":"https://www.cve.org/CVERecord?id=CVE-2022-50051","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:15.019Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50051","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50051","licence":"Public domain","modified":"2026-11-05T20:17:21.700Z"}],"updatedAt":"2026-11-25T22:58:21.029Z","epss":{"score":0.00233,"percentile":0.1517,"date":"2026-12-01T12:00:22.000Z"}}