BreachSpiderVerified, not vibes

CVE-2021-36976 in Apple Watchos and 6 more products

Medium 6.5

libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).

Affects 7 products from 4 vendors. Facts below cite their sources.

CVSS 3.16.5
EPSS2.8%
EPSS percentile87th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apple Watchos < 8.5
Apple Iphone Os < 15.4
Apple Ipados < 15.4
Apple Macos < 12.3
Fedoraproject Fedora 35
Libarchive Libarchive ≥ 3.4.1, ≤ 3.5.2
Splunk Universal Forwarder 9.1.0 ≥ 8.2.0, < 8.2.12 ≥ 9.0.0, < 9.0.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

libarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-36976
BreachSpider IDBS-2021-GLOBAL-076531-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published2021-07-20
Last modified2026-11-02
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-416: Use After Free

Software references memory after it has been freed, leading to corruption, crashes, or code execution.

Analysis AI-written, not human-reviewed

A use-after-free vulnerability exists in libarchive versions 3.4.1 through 3.5.1, which could allow an attacker to execute arbitrary code or cause a denial of service.

The vulnerability is triggered by a use-after-free condition in the copy_string function, which is invoked by do_uncompress_block and process_block. An attacker could exploit this by providing a specially crafted archive file that, when processed by libarchive, leads to the vulnerability being triggered.

Questions

What is CVE-2021-36976?

A use-after-free vulnerability exists in libarchive versions 3.4.1 through 3.5.1, which could allow an attacker to execute arbitrary code or cause a denial of service.

What is the CVSS score for CVE-2021-36976?

CVE-2021-36976 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H. EPSS: 2.8%.

Is CVE-2021-36976 actively exploited?

No confirmed active exploitation of CVE-2021-36976 as of 2026-11-03.

How do I remediate CVE-2021-36976?

Priority: HIGH.

What systems are affected by CVE-2021-36976?

CVE-2021-36976 affects Apple Watchos, Iphone Os, Ipados, Macos; Fedoraproject Fedora; Libarchive Libarchive; Splunk Universal Forwarder.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Watchos","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-02.