{"id":"CVE-2022-50050","aliases":["CVE-2022-50050"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: Intel: hda: 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: Intel: hda: 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: Intel: hda: 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 a scnprintf(), una versión más segura, para disimular este posible problema.","source":"nvd"}],"published":"2025-06-18T11:01:50.642Z","modified":"2026-06-17T05:22:38.533Z","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":"29c8e4398f02adacd429c7847dacc8aea5a0c2f1","fixed":"6ee1310f4d148dbf04c4159b88afd0b941018903","status":"affected"},{"type":"git","introduced":"29c8e4398f02adacd429c7847dacc8aea5a0c2f1","fixed":"f7915c5614a7ece117ec390f21a410531eac48de","status":"affected"},{"type":"git","introduced":"29c8e4398f02adacd429c7847dacc8aea5a0c2f1","fixed":"94c1ceb043c1a002de9649bb630c8e8347645982","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","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.10","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/6ee1310f4d148dbf04c4159b88afd0b941018903","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7915c5614a7ece117ec390f21a410531eac48de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94c1ceb043c1a002de9649bb630c8e8347645982","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50050","url":"https://www.cve.org/CVERecord?id=CVE-2022-50050","licence":"CVE Terms of Use","modified":"2026-05-11T19:11:52.830Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50050","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50050","licence":"Public domain","modified":"2026-06-17T05:22:38.533Z"}],"updatedAt":"2026-11-25T22:58:21.028Z","epss":{"score":0.00323,"percentile":0.17729,"date":"2026-11-30T12:00:22.000Z"}}