CVE-2022-36227Libarchive
Critical 9.8 No auth needed
Follow: this CVE · Libarchive · Libarchive We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.4% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Nov 22, 2022
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-476
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference. NOTE: the discoverer cites this CWE-476 remark but third parties dispute the code-execution impact: "In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution."
What to do
- Apply the vendor's security update for Libarchive.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libarchive | libarchive | ≥ 3.0.0 < 3.6.2 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 37 |
| splunk | universal_forwarder | ≥ 8.2.0 < 8.2.12 |
| splunk | universal_forwarder | ≥ 9.0.0 < 9.0.6 |
| splunk | universal_forwarder | 9.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.gentoo.org Issue Tracking Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- lists.debian.org