{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-23078","id":"CVE-2026-23078","title":"ALSA: scarlett2: Fix buffer overflow in config retrieval","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: scarlett2: Fix buffer overflow in config retrieval\n\nThe scarlett2_usb_get_config() function has a logic error in the\nendianness conversion code that can cause buffer overflows when\ncount > 1.\n\nThe code checks `if (size == 2)` where `size` is the total buffer size in\nbytes, then loops `count` times treating each element as u","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: scarlett2: Fix buffer overflow in config retrieval\n\nThe scarlett2_usb_get_config() function has a logic error in the\nendianness conversion code that can cause buffer overflows when\ncount > 1.\n\nThe code checks `if (size == 2)` where `size` is the total buffer size in\nbytes, then loops `count` times treating each element as u16 (2 bytes).\nThis causes the loop to access `count * 2` bytes when the buffer only\nhas `size` bytes allocated.\n\nFix by checking the element size (config_item->size) instead of the\ntotal buffer size. This ensures the endianness conversion matches the\nactual element type.","published":"2026-02-04T16:08:03.283Z","updated":"2026-11-07T02:30:23.126642325Z","reserved":"2026-01-13T15:37:45.959Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ac34df733d2dfe3b553897a1e9e1a44414f09834","lessThan":"d5e80d1f97ae55bcea1426f551e4419245b41b9c","status":"affected","versionType":"git"},{"version":"ac34df733d2dfe3b553897a1e9e1a44414f09834","lessThan":"51049f6e3f05d70660e2458ad3bb302a3721b751","status":"affected","versionType":"git"},{"version":"ac34df733d2dfe3b553897a1e9e1a44414f09834","lessThan":"91a756d22f0482eac5bedb113c8922f90b254449","status":"affected","versionType":"git"},{"version":"ac34df733d2dfe3b553897a1e9e1a44414f09834","lessThan":"27049f50be9f5ae3a62d272128ce0b381cb26a24","status":"affected","versionType":"git"},{"version":"ac34df733d2dfe3b553897a1e9e1a44414f09834","lessThan":"31a3eba5c265a763260976674a22851e83128f6d","status":"affected","versionType":"git"},{"version":"ac34df733d2dfe3b553897a1e9e1a44414f09834","lessThan":"6f5c69f72e50d51be3a8c028ae7eda42c82902cb","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","lessThan":"5.14","status":"unaffected","versionType":"semver"},{"version":"5.15.199","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.162","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.122","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.68","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.8","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d5e80d1f97ae55bcea1426f551e4419245b41b9c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/51049f6e3f05d70660e2458ad3bb302a3721b751","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/91a756d22f0482eac5bedb113c8922f90b254449","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/27049f50be9f5ae3a62d272128ce0b381cb26a24","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/31a3eba5c265a763260976674a22851e83128f6d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6f5c69f72e50d51be3a8c028ae7eda42c82902cb","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23078.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23078","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00171,"epssPercentile":0.0666,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-23078","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23078","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-23078","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-23078","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}