{"id":"CVE-2024-38440","aliases":["ALPINE-CVE-2024-38440","DEBIAN-CVE-2024-38440","DLA-3968-1","EUVD-2024-37332","GHSA-52mm-rqxx-gfq6","GHSA-mxx4-9fhm-r3w5","MGASA-2024-0259","SUSE-SU-2024:2301-1","UBUNTU-CVE-2024-38440","USN-7347-1"],"status":"published","title":"Netatalk 3.2.0 has an off-by-one error and resultant heap-based buffer overflow because of...","description":"Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\", ibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized out\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).' 2.4.1 and 3.1.19 are also fixed versions.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.0088,"percentile":0.59367,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-193"],"published":"2024-06-16T00:00:00Z","modified":"2026-11-03T06:32:45Z","fixes":[{"ecosystem":"Alpine:v3.20","package":"netatalk","fixed_in":["3.1.19-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"netatalk","fixed_in":["3.1.19-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"netatalk","fixed_in":["3.1.19-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"netatalk","fixed_in":["3.1.19-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"netatalk","fixed_in":["3.1.19-r0"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"netatalk","fixed_in":["3.1.18~ds-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"netatalk","fixed_in":["3.1.18~ds-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"netatalk","fixed_in":["2.2.2-1ubuntu2.2+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"netatalk","fixed_in":["2.2.5-1ubuntu0.2+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"netatalk","fixed_in":["2.2.6-1ubuntu0.18.04.2+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"netatalk","fixed_in":["3.1.12~ds-4ubuntu0.20.04.4"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"netatalk","fixed_in":["3.1.12~ds-9ubuntu0.22.04.4"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"netatalk","fixed_in":["3.1.18~ds-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.20","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"3.1.19-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"3.1.19-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"3.1.19-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"3.1.19-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"3.1.19-r0"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.18~ds-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.18~ds-2"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.12~ds-8+deb11u2"}]}],"versions":["3.1.12~ds-8","3.1.12~ds-8+deb11u1"],"bundled":4},{"source":"osv","ecosystem":"Mageia:9","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.14-2.4.mga9"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.18-3.25.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP5","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.18-3.25.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2-1ubuntu2.2+esm2"}]}],"versions":["2.2.2-1ubuntu1","2.2.2-1ubuntu2","2.2.2-1ubuntu2.2","2.2.2-1ubuntu2.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.5-1ubuntu0.2+esm2"}]}],"versions":["2.2.5-1","2.2.5-1ubuntu0.2","2.2.5-1ubuntu0.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.6-1ubuntu0.18.04.2+esm2"}]}],"versions":["2.2.6-1","2.2.6-1ubuntu0.18.04.2","2.2.6-1ubuntu0.18.04.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.12~ds-4ubuntu0.20.04.4"}]}],"versions":["3.1.12~ds-3","3.1.12~ds-4","3.1.12~ds-4ubuntu0.20.04.1","3.1.12~ds-4ubuntu0.20.04.3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.12~ds-9ubuntu0.22.04.4"}]}],"versions":["3.1.12~ds-9","3.1.12~ds-9build1","3.1.12~ds-9ubuntu0.22.04.1","3.1.12~ds-9ubuntu0.22.04.3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.18~ds-1ubuntu0.1~esm1"}]}],"versions":["3.1.15~ds-1ubuntu1","3.1.18~ds-1","3.1.18~ds-1build2","3.1.18~ds-1build4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2-1ubuntu2.2+esm2"}]}],"versions":["2.2.2-1ubuntu1","2.2.2-1ubuntu2","2.2.2-1ubuntu2.2","2.2.2-1ubuntu2.2+esm1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.5-1ubuntu0.2+esm2"}]}],"versions":["2.2.5-1","2.2.5-1ubuntu0.2","2.2.5-1ubuntu0.2+esm1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.6-1ubuntu0.18.04.2+esm2"}]}],"versions":["2.2.6-1","2.2.6-1ubuntu0.18.04.2","2.2.6-1ubuntu0.18.04.2+esm1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.12~ds-4ubuntu0.20.04.4"}]}],"versions":["3.1.12~ds-3","3.1.12~ds-4","3.1.12~ds-4ubuntu0.20.04.1","3.1.12~ds-4ubuntu0.20.04.3"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.12~ds-9ubuntu0.22.04.4"}]}],"versions":["3.1.12~ds-9","3.1.12~ds-9build1","3.1.12~ds-9ubuntu0.22.04.1","3.1.12~ds-9ubuntu0.22.04.3"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.18~ds-1ubuntu0.1~esm1"}]}],"versions":["3.1.15~ds-1ubuntu1","3.1.18~ds-1","3.1.18~ds-1build2","3.1.18~ds-1build4"],"bundled":3}],"products":[{"vendor":"netatalk","product":"netatalk"}],"references":[{"url":"https://github.com/Netatalk/netatalk/issues/1097","tags":["x_transferred","Not Applicable","report"]},{"url":"https://github.com/Netatalk/netatalk/blob/90d91a9ac9a7d6132ab7620d31c8c23400949206/etc/uams/uams_dhx_pam.c#L199-L200","tags":["x_transferred","Product","web"]},{"url":"https://github.com/Netatalk/netatalk/security/advisories/GHSA-mxx4-9fhm-r3w5","tags":["x_transferred","Exploit","Vendor Advisory","advisory"]},{"url":"https://netatalk.io/security/CVE-2024-38440","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00026.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38440","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-52mm-rqxx-gfq6"},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-38440","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38440.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-38440","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0259.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33381","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM3M423DHSUBERDIYCFHYY6XF2CAAMA2/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20242301-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1226429","tags":["report"]},{"url":"https://bugzilla.suse.com/1226430","tags":["report"]},{"url":"https://bugzilla.suse.com/1226431","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2024-38439","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-38440","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-38441","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2024-38440","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-38440","tags":["report"]},{"url":"https://github.com/Netatalk/netatalk/pull/1158","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7347-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-38439","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-38441","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-38440","description":"Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\", ibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized out\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).' 2.4.1 and 3.1.19 are also fixed versions.","status":"published","published":"2024-06-16T00:00:00Z","modified":"2025-11-03T21:55:37.999Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-193"],"updated_at":"2026-11-02T14:34:16.007021Z"}],"euvd":[{"id":"EUVD-2024-37332","description":"Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\", ibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized out\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).' 2.4.1 and 3.1.19 are also fixed versions.","status":"published","published":"2024-06-16T00:00:00Z","modified":"2025-11-03T21:55:37Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T19:49:30.274226Z"}],"ghsa":[{"id":"GHSA-52mm-rqxx-gfq6","title":"Netatalk 3.2.0 has an off-by-one error and resultant heap-based buffer overflow because of...","description":"Netatalk 3.2.0 has an off-by-one error and resultant heap-based buffer overflow because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c.","status":"published","published":"2024-06-16T15:30:44Z","modified":"2025-11-04T00:30:49Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-193"],"updated_at":"2026-11-02T15:04:26.580532Z"}],"nvd":[{"id":"CVE-2024-38440","description":"Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\", ibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized out\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).' 2.4.1 and 3.1.19 are also fixed versions.","status":"published","published":"2024-06-16T13:15:53.147Z","modified":"2026-06-17T07:40:17.143Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-193"],"updated_at":"2026-11-02T14:10:05.620461Z"}],"osv":[{"id":"ALPINE-CVE-2024-38440","description":"Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\", ibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized out\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).' 2.4.1 and 3.1.19 are also fixed versions.","status":"published","published":"2024-06-16T13:15:53.147Z","modified":"2026-11-03T06:32:45.46863427Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:17:02.90744Z"},{"id":"CVE-2024-38440","description":"Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\", ibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized out\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).' 2.4.1 and 3.1.19 are also fixed versions.","status":"published","published":"2024-06-16T00:00:00Z","modified":"2026-10-28T02:30:41.704800858Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:41.133403Z"},{"id":"DEBIAN-CVE-2024-38440","description":"Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\", ibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized out\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).' 2.4.1 and 3.1.19 are also fixed versions.","status":"published","published":"2024-06-16T13:15:53.147Z","modified":"2026-11-02T12:02:42.32266522Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:42.835825Z"},{"id":"UBUNTU-CVE-2024-38440","description":"Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\", ibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized out\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).' 2.4.1 and 3.1.19 are also fixed versions.","status":"published","published":"2024-06-16T13:15:00Z","modified":"2026-03-14T08:53:38.115811Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:54.69008Z"},{"id":"DLA-3968-1","title":"netatalk - security update","status":"published","published":"2024-11-28T00:00:00Z","modified":"2026-03-09T01:19:09.061926Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"MGASA-2024-0259","title":"Updated netatalk packages fix security vulnerabilities","description":"Netatalk before 3.2.1 has an off-by-one error and resultant heap-based\nbuffer overflow because of setting ibuf[PASSWDLEN] to '\\0' in FPLoginExt\nin login in etc/uams/uams_pam.c. (CVE-2024-38439)\nNetatalk before 3.2.1 has an off-by-one error, and resultant heap-based\nbuffer overflow and segmentation violation, because of incorrectly using\nFPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue\n1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a\nsecurity vulnerability. This vulnerability arises due to a lack of\nvalidation for the length field after parsing user-provided data,\nleading to an out-of-bounds heap write of one byte (\\0). Under specific\nconfigurations, this can result in reading metadata of the next heap\nblock, potentially causing a Denial of Service (DoS) under certain heap\nlayouts or with ASAN enabled. ... The vulnerability is located in the\nFPLoginExt operation of Netatalk, in the BN_bin2bn function found in\n/etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf,\nKEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped\n0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov\nBYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ...\nafp_login_ext(obj=\u003coptimized out\u003e, ibuf=0x62d000010424 \"\",\nibuflen=0xffffffffffff0015, rbuf=\u003coptimized out\u003e, rbuflen=\u003coptimized\nout\u003e) ... afp_over_dsi(obj=0x5555556154c0 \u003cobj\u003e).'. (CVE-2024-38440)\nNetatalk before 3.2.1 has an off-by-one error and resultant heap-based\nbuffer overflow because of setting ibuf[len] to '\\0' in FPMapName in\nafp_mapname in etc/afpd/directory.c. (CVE-2024-38441)\n","status":"published","published":"2024-07-10T18:01:45Z","modified":"2026-04-16T04:44:31.918539094Z","updated_at":"2026-11-02T15:49:42.684501Z"},{"id":"SUSE-SU-2024:2301-1","title":"Security update for netatalk","description":"This update for netatalk fixes the following issues:\n\n- CVE-2024-38439: Fixed a heap buffer overflow because of setting\n  ibuf[PASSWDLEN] to \\0 in FPLoginExt in login in etc/uams/uams_pam.c\n  (bsc#1226430).\n- CVE-2024-38440: Fixed a heap buffer overflow because of incorrectly\n  using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c\n  (bsc#1226429).\n- CVE-2024-38441: Fixed a heap buffer overflow because of setting\n  ibuf[len] to \\0 in FPMapName in afp_mapname in etc/afp/directory.c\n  (bsc#1226431).\n","status":"published","published":"2024-07-04T13:17:32Z","modified":"2026-02-04T03:39:10.401271Z","updated_at":"2026-11-02T15:53:55.136363Z"},{"id":"USN-7347-1","title":"netatalk vulnerabilities","description":"It was discovered that Netatalk did not properly manage memory under\ncertain circumstances. A remote attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2024-38439, CVE-2024-38440, CVE-2024-38441)\n","status":"published","published":"2025-03-12T09:32:47Z","modified":"2026-06-25T13:32:08.244123691Z","updated_at":"2026-11-02T16:58:19.988474Z"}]}}
