CVE-2024-38440

Exp

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>).' 2.4.1 and 3.1.19 are also fixed versions.

Published: 2024-06-16 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-38440 is rated High Exploit Risk (64.2/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.88%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-38440

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-38440

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.70% 0.88% +0.18%
2 2026-04-21 0.92% 0.70% -0.21%
3 2026-04-20 0.92%

Full EPSS history (17 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-38440

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-38440

OS Trackers for CVE-2024-38440

vendor priority summary link
alpine CVE-2024-38440: 1 source package rows (netatalk); 4 state rows across 4 repos (3.20-community, 3.21-community, 3.22-community, edge-community); fixed 4, open 0. https://security.alpinelinux.org/vuln/CVE-2024-38440
debian not yet assigned CVE-2024-38440 not yet assigned priority: Debian including 1 source packages (netatalk), 4 status rows across 4 suites (bullseye, forky, sid, trixie): resolved 4. https://security-tracker.debian.org/tracker/CVE-2024-38440
suse high CVE-2024-38440 severity important: SUSE including 3 source package names (libatalk0-3.1.18-3.25.1, netatalk-3.1.18-3.25.1, netatalk-devel-3.1.18-3.25.1), 6 product×package rows across 2 product lines (SUSE Linux Enterprise Software Development Kit 12 SP5, SUSE Linux Enterprise Workstation Extension 12 SP5): Fixed 6. https://www.suse.com/security/cve/CVE-2024-38440/
ubuntu medium CVE-2024-38440 medium priority: Ubuntu including 1 source packages (netatalk), 11 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 7, not-affected 3, ignored 1. https://ubuntu.com/security/CVE-2024-38440

Affected software / configurations for CVE-2024-38440

Vendor Product Version Raw CPE
netatalk netatalk >= 2.0.0, < 2.4.1 cpe:2.3:a:netatalk:netatalk:*:*:*:*:*:*:*:*
netatalk netatalk >= 3.0, < 3.1.19 cpe:2.3:a:netatalk:netatalk:*:*:*:*:*:*:*:*
netatalk netatalk 3.2.0 cpe:2.3:a:netatalk:netatalk:3.2.0:*:*:*:*:*:*:*

References for CVE-2024-38440

cvelogic Threat Intelligence