{"id":"CVE-2020-27840","details":"A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings with spaces to instead write a zero-byte into out-of-bounds memory, resulting in a crash. The highest threat from this vulnerability is to system availability.","modified":"2026-04-09T07:07:00.645855Z","published":"2021-05-12T15:15:07.543Z","related":["MGASA-2021-0287","SUSE-SU-2021:0944-1","SUSE-SU-2021:0945-1","SUSE-SU-2021:1440-1","SUSE-SU-2021:1444-1","SUSE-SU-2021:1498-1","SUSE-SU-2021:3187-1","SUSE-SU-2022:0283-1","openSUSE-SU-2021:0469-1","openSUSE-SU-2021:0636-1","openSUSE-SU-2021:3187-1","openSUSE-SU-2022:0283-1","openSUSE-SU-2024:10911-1","openSUSE-SU-2024:11365-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210326-0007/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4884"},{"type":"ADVISORY","url":"https://www.samba.org/samba/security/CVE-2020-27840.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202105-22"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1941400"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/samba-team/samba","events":[{"introduced":"df33344d8eb40221d60c99931690703a11d91bc2"},{"fixed":"bb2f64babf1a2bfb780d0325e859f796d0ce1647"},{"introduced":"3fe82c204f0d88cb6db50b7bd1f798b591a918f8"},{"fixed":"440b75fda7092b88b1986759c40f95ed65c2da24"},{"introduced":"9b49519cae3e967af9ea48dc5fcfb6c145e31db4"},{"fixed":"ed4a04eca53906ab7d69667545b414fa84fe5404"}],"database_specific":{"versions":[{"introduced":"4.0.0"},{"fixed":"4.12.13"},{"introduced":"4.13.0"},{"fixed":"4.13.6"},{"introduced":"4.14.0"},{"fixed":"4.14.1"}]}}],"versions":["samba-4.13.0","samba-4.13.2","samba-4.13.3","samba-4.13.4","samba-4.13.5","samba-4.14.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-27840.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"32"}]},{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}