{"id":"UBUNTU-CVE-2026-39824","details":"NewNTUnicodeString does not check for string length overflow. When provided with a string that overflows the maximum size of a NTUnicodeString (a 16-bit number of bytes), it returns a truncated string rather than an error.","modified":"2026-06-23T00:30:08.385586710Z","published":"2026-05-22T20:16:00Z","upstream":["CVE-2026-39824"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-39824"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-39824"},{"type":"REPORT","url":"https://groups.google.com/g/golang-announce/c/6MMI8Lj-Atg"},{"type":"REPORT","url":"https://github.com/golang/go/issues/78916"},{"type":"REPORT","url":"https://go.dev/cl/770080"},{"type":"REPORT","url":"https://go.dev/issue/78916"},{"type":"REPORT","url":"https://pkg.go.dev/vuln/GO-2026-5024"}],"affected":[{"package":{"name":"golang-golang-x-sys","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/golang-golang-x-sys?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20150612-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0~git20150612-1","binary_name":"golang-golang-x-sys-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"google-guest-agent","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/google-guest-agent?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20201217.02-0ubuntu1~16.04.0","20230426.00-0ubuntu2~16.04.3","20231004.02-0ubuntu1~16.04.1","20231004.02-0ubuntu1~16.04.2","20240716.00-0ubuntu1~16.04.0","20240716.00-0ubuntu1~16.04.0+esm1","20240716.00-0ubuntu1~16.04.0+esm2","20240716.00-0ubuntu1~16.04.0+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"20240716.00-0ubuntu1~16.04.0+esm3","binary_name":"google-guest-agent"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"golang-golang-x-sys","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-golang-x-sys?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170727.0.35ef448-1","0.0~git20170727.0.35ef448-2","0.0~git20180308.349b81f-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-sys-dev","binary_version":"0.0~git20180308.349b81f-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"google-guest-agent","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/google-guest-agent?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20201217.02-0ubuntu1~18.04.0","20210414.00-0ubuntu1~18.04.0","20210629.00-0ubuntu1~18.04.1","20220622.00-0ubuntu2~18.04.0","20220622.00-0ubuntu2~18.04.1","20230426.00-0ubuntu2~18.04.0","20231004.02-0ubuntu1~18.04.2","20231004.02-0ubuntu1~18.04.3","20240716.00-0ubuntu1~18.04.0","20241011.01-0ubuntu1~18.04.0","20241011.01-0ubuntu1~18.04.0+esm1","20241011.01-0ubuntu1~18.04.0+esm2","20241011.01-0ubuntu1~18.04.0+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"google-guest-agent","binary_version":"20241011.01-0ubuntu1~18.04.0+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"google-guest-agent","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/google-guest-agent?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20201217.02-0ubuntu1~20.04.0","20210414.00-0ubuntu1~20.04.0","20210629.00-0ubuntu1~20.04.0","20220622.00-0ubuntu2~20.04.0","20220622.00-0ubuntu2~20.04.2","20230426.00-0ubuntu2~20.04.0","20231004.02-0ubuntu1~20.04.1","20231004.02-0ubuntu1~20.04.2","20231004.02-0ubuntu1~20.04.3","20231004.02-0ubuntu1~20.04.4","20240716.00-0ubuntu1~20.04.0","20241011.01-0ubuntu1~20.04.1","20250116.00-0ubuntu1~20.04.0","20250116.00-0ubuntu1~20.04.0+esm1","20250116.00-0ubuntu1~20.04.0+esm2","20250116.00-0ubuntu1~20.04.0+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"20250116.00-0ubuntu1~20.04.0+esm3","binary_name":"google-guest-agent"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"golang-golang-x-sys","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-golang-x-sys?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20190726.fc99dfb-1ubuntu1","0.0~git20190726.fc99dfb-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-sys-dev","binary_version":"0.0~git20190726.fc99dfb-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"golang-golang-x-sys","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-golang-x-sys?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20210124.22da62e-1","0.0~git20210806.e5e7981-1","0.0~git20211117.dee7805-1","0.0~git20211216.1d35b9e-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.0~git20211216.1d35b9e-1","binary_name":"golang-golang-x-sys-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"google-guest-agent","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/google-guest-agent?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20210629.00-0ubuntu1","20210629.00-0ubuntu2","20220104.00-0ubuntu1","20220104.00-0ubuntu2","20220622.00-0ubuntu2~22.04.0","20220622.00-0ubuntu2~22.04.1","20230426.00-0ubuntu2~22.04.0","20231004.02-0ubuntu1~22.04.1","20231004.02-0ubuntu1~22.04.2","20231004.02-0ubuntu1~22.04.3","20231004.02-0ubuntu1~22.04.4","20231004.02-0ubuntu1~22.04.5","20240716.00-0ubuntu1~22.04.0","20241011.01-0ubuntu1~22.04.0","20250116.00-0ubuntu1~22.04.0","20250116.00-0ubuntu1~22.04.1","20250116.00-0ubuntu1~22.04.2","20250116.00-0ubuntu1~22.04.3"],"ecosystem_specific":{"binaries":[{"binary_version":"20250116.00-0ubuntu1~22.04.3","binary_name":"google-guest-agent"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"golang-golang-x-sys","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-golang-x-sys?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.0-1","0.13.0-1","0.15.0-1","0.16.0-1","0.17.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-sys-dev","binary_version":"0.17.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"google-guest-agent","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/google-guest-agent?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20230426.00-0ubuntu3","20231004.02-0ubuntu1","20231004.02-0ubuntu3","20240213.00-0ubuntu1","20240213.00-0ubuntu2","20240213.00-0ubuntu3","20240213.00-0ubuntu3.1","20240213.00-0ubuntu3.2","20240716.00-0ubuntu1~24.04.0","20240716.00-0ubuntu1~24.04.1","20241011.01-0ubuntu1~24.04.0","20250116.00-0ubuntu1~24.04.0","20250116.00-0ubuntu1~24.04.1","20250116.00-0ubuntu1~24.04.2","20250116.00-0ubuntu1~24.04.3","20250116.00-0ubuntu1~24.04.4"],"ecosystem_specific":{"binaries":[{"binary_name":"google-guest-agent","binary_version":"20250116.00-0ubuntu1~24.04.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"golang-golang-x-sys","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-golang-x-sys?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-sys-dev","binary_version":"0.22.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"google-guest-agent","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/google-guest-agent?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20250116.00-0ubuntu2","20250506.01-0ubuntu1","20250506.01-0ubuntu1.1","20250506.01-0ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_name":"google-guest-agent","binary_version":"20250506.01-0ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"golang-golang-x-sys","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-golang-x-sys?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.22.0-1","0.38.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-golang-x-sys-dev","binary_version":"0.38.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}},{"package":{"name":"google-guest-agent","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/google-guest-agent?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["20250506.01-0ubuntu1","20250506.01-0ubuntu2","20250506.01-0ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"google-guest-agent","binary_version":"20250506.01-0ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39824.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}