Firefox · Networking
CVE-2026-16381
Cross Origin in Networking
Overview
Medium
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Changed Functions
| Function | Change | Notes |
|---|---|---|
ifnetwerk/dns/DNSPacket.cpp |
modified |
Files Changed
netwerk/dns/DNSPacket.cpp
Patch
diff --git a/netwerk/dns/DNSPacket.cpp b/netwerk/dns/DNSPacket.cpp
index 2fd99eab098..4578c7692b2 100644
--- a/netwerk/dns/DNSPacket.cpp
+++ b/netwerk/dns/DNSPacket.cpp
@@ -646,6 +646,9 @@ nsresult DNSPacket::DecodeInternal(
aCname.Truncate();
+ // Reset any type record accumulated by a previous decode of this packet.
+ aTypeResult = mozilla::AsVariant(Nothing());
+
if (aLen < 12) {
LOG(("TRR bad incoming DOH, eject!\n"));
return NS_ERROR_ILLEGAL_VALUE;
Loading diff…
References
On This Page