Every CVE Search/ Get API key

CVE-2024-38439

Netatalk 3.2.0 has an off-by-one error and resultant heap-based buffer overflow because of...

9.8 CriticalFix available

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

0.93%Up 0.9 points since Jun 17, 2024
90%50%10%1%

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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
netatalk
Alpine:v3.20
2.0.0 up to 3.1.19-r0
3.1.19-r0
netatalk
Alpine:v3.21
2.0.0 up to 3.1.19-r0
3.1.19-r0
netatalk
Alpine:v3.22
2.0.0 up to 3.1.19-r0
3.1.19-r0
netatalk
Alpine:v3.23
2.0.0 up to 3.1.19-r0
3.1.19-r0
netatalk
Alpine:v3.24
2.0.0 up to 3.1.19-r0
3.1.19-r0
netatalk
Debian:13
before 3.1.18~ds-2
3.1.18~ds-2
netatalk
Debian:14
before 3.1.18~ds-2
3.1.18~ds-2
netatalk
Debian: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
netatalk
Mageia:9
From an advisory covering 3 CVEs
before 3.1.14-2.4.mga9
3.1.14-2.4.mga9
netatalk
SUSE: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
Affected packages
PackageAffectedFixed
netatalk
SUSE: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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
netatalk
Ubuntu: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

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
first indexedCVE 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

Show 20 moreShow less
MoveEnter Open