BreachSpiderVerified, not vibes

CVE-2024-38440 in Netatalk

High 7.5

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS1.4%
EPSS percentile73th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Netatalk Netatalk ≥ 2.0.0, < 2.4.1 ≥ 3, < 3.2.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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=<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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-38440
BreachSpider IDBS-2024-GLOBAL-198212-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2024-06-16
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-193: CWE-193

Analysis AI-written, not human-reviewed

Netatalk versions prior to 3.2.1 are vulnerable to a heap-based buffer overflow and segmentation violation due to an off-by-one error in the FPLoginExt function in BN_bin2bn within the uams_dhx_pam.c file. This can lead to potential code execution or denial of service.

An attacker could exploit this vulnerability by sending a specially crafted packet to the Netatalk service, potentially leading to remote code execution or a crash of the service.

Questions

What is CVE-2024-38440?

Netatalk versions prior to 3.2.1 are vulnerable to a heap-based buffer overflow and segmentation violation due to an off-by-one error in the FPLoginExt function in BN_bin2bn within the uams_dhx_pam.c file. This can lead to potential code execution or denial of service.

What is the CVSS score for CVE-2024-38440?

CVE-2024-38440 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.4%.

Is CVE-2024-38440 actively exploited?

No confirmed active exploitation of CVE-2024-38440 as of 2026-09-25.

How do I remediate CVE-2024-38440?

Priority: HIGH. Advisory: https://netatalk.io/security/CVE-2024-38440 PSIRT: [email protected]

What systems are affected by CVE-2024-38440?

CVE-2024-38440 affects Netatalk Netatalk.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Netatalk","product":"Netatalk","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.