Read the docs
TI-2022-16604 Aliases CVE-2022-36227GHSA-gpgf-w78r-4pvj

In libarchive before 3.6.2, the software does not check for an error after calling calloc…

Priority MEDIUM 54CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 7 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-476.

Summary

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."

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02457 84th percentileScored 2026-11-07
Fix Partial Red Hat: 3 advisoriesRed Hat: 7 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*3.0.0 to before 3.6.2Vulnerablelibarchive
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*37VulnerableFedoraproject
cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:*8.2.0 to before 8.2.12; 9.0.0 to before 9.0.6VulnerableSplunk
cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:*9.1.0VulnerableSplunk
  • cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* Versions 3.0.0 to before 3.6.2 Vulnerable ·libarchive
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
  • cpe:2.3:a:splunk:universal_forwarder:*:*:*:*:*:*:*:* Versions 8.2.0 to before 8.2.12; 9.0.0 to before 9.0.6 Vulnerable ·Splunk
  • cpe:2.3:a:splunk:universal_forwarder:9.1.0:*:*:*:*:*:*:* Versions 9.1.0 Vulnerable ·Splunk

Remediation

Red Hat 3 advisories

  • RHSA-2024:0146 Released 2024-01-10 · Red Hat rating Low
    libarchive security update
    • Red Hat CodeReady Linux Builder EUS (v.8.6) libarchive-devel-3.3.3-4.el8_6
    • Red Hat Enterprise Linux BaseOS EUS (v.8.6) bsdtar-3.3.3-4.el8_6, libarchive-3.3.3-4.el8_6
  • RHSA-2023:3018 Released 2023-05-16 · Red Hat rating Low
    libarchive security update
    • Red Hat Enterprise Linux BaseOS (v. 8) bsdtar-3.3.3-5.el8, libarchive-3.3.3-5.el8
    • Red Hat Enterprise Linux CRB (v. 8) libarchive-devel-3.3.3-5.el8
  • RHSA-2023:2532 Released 2023-05-09 · Red Hat rating Low
    libarchive security update
    • Red Hat Enterprise Linux AppStream (v. 9) bsdtar-3.5.3-4.el9
    • Red Hat Enterprise Linux BaseOS (v. 9) libarchive-3.5.3-4.el9
    • Red Hat Enterprise Linux CRB (v. 9) libarchive-devel-3.5.3-4.el9

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat CodeReady Linux Builder EUS (v.8.6)Fixed RHSA-2024:0146
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2023:2532
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2023:3018
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2023:2532
Red Hat Enterprise Linux BaseOS EUS (v.8.6)Fixed RHSA-2024:0146
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2023:3018
Red Hat Enterprise Linux CRB (v. 9)Fixed RHSA-2023:2532

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-36227
  2. 2026-10-03 Alias added: GHSA-gpgf-w78r-4pvj
  3. 2026-10-08 CISA SSVC decision points changed

References

Sources