CVE-2024-38439
Netatalk 3.2.0 has an off-by-one error and resultant heap-based buffer overflow because of...
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.
- Record
CVE-2024-38439- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List
9.8
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.
- Record
CVE-2024-38439- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2024-37331
9.8
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.
- Record
EUVD-2024-37331- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-pcmr-ff73-xcj5
9.8
Netatalk 3.2.0 has an off-by-one error and resultant heap-based buffer overflow because of...
Netatalk 3.2.0 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c.
- Record
GHSA-pcmr-ff73-xcj5- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-38439
9.8
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.
- Record
ALPINE-CVE-2024-38439- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
9.8
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.
- Record
CVE-2024-38439- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2024-38439
9.8
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.
- Record
DEBIAN-CVE-2024-38439- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-38439
9.8
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.
- Record
UBUNTU-CVE-2024-38439- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2024-0259 No score
Updated netatalk packages fix security vulnerabilities
Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. (CVE-2024-38439) 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=<optimized out>, ibuf=0x62d000010424 "", ibuflen=0xffffffffffff0015, rbuf=<optimized out>, rbuflen=<optimized out>) ... afp_over_dsi(obj=0x5555556154c0 <obj>).'. (CVE-2024-38440) Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[len] to '\0' in FPMapName in afp_mapname in etc/afpd/directory.c. (CVE-2024-38441)
- Record
MGASA-2024-0259- Updated
- 2026-11-02
OSVSUSE-SU-2024:2301-1 No score
Security update for netatalk
This update for netatalk fixes the following issues:
- CVE-2024-38439: Fixed a heap buffer overflow because of setting ibuf[PASSWDLEN] to \0 in FPLoginExt in login in etc/uams/uams_pam.c (bsc#1226430).
- CVE-2024-38440: Fixed a heap buffer overflow because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c (bsc#1226429).
- CVE-2024-38441: Fixed a heap buffer overflow because of setting ibuf[len] to \0 in FPMapName in afp_mapname in etc/afp/directory.c (bsc#1226431).
- Record
SUSE-SU-2024:2301-1- Updated
- 2026-11-02
OSVUSN-7347-1 No score
netatalk vulnerabilities
It was discovered that Netatalk did not properly manage memory under certain circumstances. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2024-38439, CVE-2024-38440, CVE-2024-38441)
- Record
USN-7347-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
netatalkAlpine:v3.20 |
2.0.0 up to 3.1.19-r0 | 3.1.19-r0 |
netatalkAlpine:v3.21 |
2.0.0 up to 3.1.19-r0 | 3.1.19-r0 |
netatalkAlpine:v3.22 |
2.0.0 up to 3.1.19-r0 | 3.1.19-r0 |
netatalkAlpine:v3.23 |
2.0.0 up to 3.1.19-r0 | 3.1.19-r0 |
netatalkAlpine:v3.24 |
2.0.0 up to 3.1.19-r0 | 3.1.19-r0 |
netatalkDebian:13 |
before 3.1.18~ds-2 | 3.1.18~ds-2 |
netatalkDebian:14 |
before 3.1.18~ds-2 | 3.1.18~ds-2 |
netatalkDebian:11 From an advisory covering 4 CVEs |
before 3.1.12~ds-8+deb11u2, plus listed versions 3.1.12~ds-83.1.12~ds-8+deb11u1 |
3.1.12~ds-8+deb11u2 |
netatalkMageia:9 From an advisory covering 3 CVEs |
before 3.1.14-2.4.mga9 | 3.1.14-2.4.mga9 |
netatalkSUSE:Linux Enterprise Software Development Kit 12 SP5 From an advisory covering 3 CVEs |
before 3.1.18-3.25.1 | 3.1.18-3.25.1 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
netatalkSUSE:Linux Enterprise Workstation Extension 12 SP5 From an advisory covering 3 CVEs |
before 3.1.18-3.25.1 | 3.1.18-3.25.1 |
netatalkUbuntu:Pro:14.04:LTS |
before 2.2.2-1ubuntu2.2+esm2, plus listed versions 2.2.2-1ubuntu12.2.2-1ubuntu22.2.2-1ubuntu2.22.2.2-1ubuntu2.2+esm1 |
2.2.2-1ubuntu2.2+esm2 |
netatalkUbuntu:Pro:16.04:LTS |
before 2.2.5-1ubuntu0.2+esm2, plus listed versions 2.2.5-12.2.5-1ubuntu0.22.2.5-1ubuntu0.2+esm1 |
2.2.5-1ubuntu0.2+esm2 |
netatalkUbuntu:Pro:18.04:LTS |
before 2.2.6-1ubuntu0.18.04.2+esm2, plus listed versions 2.2.6-12.2.6-1ubuntu0.18.04.22.2.6-1ubuntu0.18.04.2+esm1 |
2.2.6-1ubuntu0.18.04.2+esm2 |
netatalkUbuntu:20.04:LTS |
before 3.1.12~ds-4ubuntu0.20.04.4, plus listed versions 3.1.12~ds-33.1.12~ds-43.1.12~ds-4ubuntu0.20.04.13.1.12~ds-4ubuntu0.20.04.3 |
3.1.12~ds-4ubuntu0.20.04.4 |
netatalkUbuntu:22.04:LTS |
before 3.1.12~ds-9ubuntu0.22.04.4, plus listed versions 3.1.12~ds-93.1.12~ds-9build13.1.12~ds-9ubuntu0.22.04.13.1.12~ds-9ubuntu0.22.04.3 |
3.1.12~ds-9ubuntu0.22.04.4 |
netatalkUbuntu:Pro:24.04:LTS |
before 3.1.18~ds-1ubuntu0.1~esm1, plus listed versions 3.1.15~ds-1ubuntu13.1.18~ds-13.1.18~ds-1build23.1.18~ds-1build4 |
3.1.18~ds-1ubuntu0.1~esm1 |
netatalkUbuntu:Pro:14.04:LTS From an advisory covering 3 CVEs |
before 2.2.2-1ubuntu2.2+esm2, plus listed versions 2.2.2-1ubuntu12.2.2-1ubuntu22.2.2-1ubuntu2.22.2.2-1ubuntu2.2+esm1 |
2.2.2-1ubuntu2.2+esm2 |
netatalkUbuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 2.2.5-1ubuntu0.2+esm2, plus listed versions 2.2.5-12.2.5-1ubuntu0.22.2.5-1ubuntu0.2+esm1 |
2.2.5-1ubuntu0.2+esm2 |
netatalkUbuntu:Pro:18.04:LTS From an advisory covering 3 CVEs |
before 2.2.6-1ubuntu0.18.04.2+esm2, plus listed versions 2.2.6-12.2.6-1ubuntu0.18.04.22.2.6-1ubuntu0.18.04.2+esm1 |
2.2.6-1ubuntu0.18.04.2+esm2 |
netatalkUbuntu:20.04:LTS From an advisory covering 3 CVEs |
before 3.1.12~ds-4ubuntu0.20.04.4, plus listed versions 3.1.12~ds-33.1.12~ds-43.1.12~ds-4ubuntu0.20.04.13.1.12~ds-4ubuntu0.20.04.3 |
3.1.12~ds-4ubuntu0.20.04.4 |
netatalkUbuntu:22.04:LTS From an advisory covering 3 CVEs |
before 3.1.12~ds-9ubuntu0.22.04.4, plus listed versions 3.1.12~ds-93.1.12~ds-9build13.1.12~ds-9ubuntu0.22.04.13.1.12~ds-9ubuntu0.22.04.3 |
3.1.12~ds-9ubuntu0.22.04.4 |
netatalkUbuntu:Pro:24.04:LTS From an advisory covering 3 CVEs |
before 3.1.18~ds-1ubuntu0.1~esm1, plus listed versions 3.1.15~ds-1ubuntu13.1.18~ds-13.1.18~ds-1build23.1.18~ds-1build4 |
3.1.18~ds-1ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-38439 is a critical vulnerability (CVSS 9.8) in Netatalk, published June 16, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.93%, the 60th percentile. Fixed in netatalk 3.1.19-r0.
References
github.com/Netatalk/netatalk/issues/1096
github.com/Netatalk/netatalk/blob/90d91a9ac9a7d6132ab7620d31c8c23400949206/etc/uams/uams_pam.c
github.com/Netatalk/netatalk/security/advisories/GHSA-8r68-857c-4rqc
netatalk.io/security/CVE-2024-38439
lists.debian.org/debian-lts-announce/2024/11/msg00026.html
nvd.nist.gov/vuln/detail/CVE-2024-38439
Show 20 moreShow less
github.com/advisories/GHSA-pcmr-ff73-xcj5
security.alpinelinux.org/vuln/CVE-2024-38439
github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38439.json
security-tracker.debian.org/tracker/CVE-2024-38439
advisories.mageia.org/MGASA-2024-0259.html
bugs.mageia.org/show_bug.cgi?id=33381
lists.fedoraproject.org/archives/list/[email protected]/message/UM3M423DHSUBERDIYCFHYY6XF2CAAMA2
suse.com/support/update/announcement/2024/suse-su-20242301-1
bugzilla.suse.com/1226429
bugzilla.suse.com/1226430
bugzilla.suse.com/1226431
suse.com/security/cve/CVE-2024-38439
suse.com/security/cve/CVE-2024-38440
suse.com/security/cve/CVE-2024-38441
ubuntu.com/security/CVE-2024-38439
cve.org/CVERecord?id=CVE-2024-38439
github.com/Netatalk/netatalk/pull/1158
ubuntu.com/security/notices/USN-7347-1
ubuntu.com/security/CVE-2024-38440
ubuntu.com/security/CVE-2024-38441