CVE-2022-36227
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 2.45% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 84.3% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-08.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-11-22 00:00Z3 YR AGO
- Last updated
- 2026-10-08 21:03Z20 DAYS AGO
- Reserved
- 2022-07-18
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-476NULL Pointer DereferenceBase
- Data version
- 5.2
- Document digest
- baa31a74a9b8e326e962a763eb0fdafa61e3a6ff42d243f61c69c03431e4be7e
05 Affected products
06 References
- github.comhttps://github.com/libarchive/libarchive/issues/1754
- bugs.gentoo.orghttps://bugs.gentoo.org/882521
- github.comhttps://github.com/libarchive/libarchive/blob/v3.0.0a/libarchive/archive_write.c#L215
- lists.fedoraproject.orgFEDORA-2022-e15be0091fhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V67OO2UUQAUJS3IK4JZPF6F3LUCBU6IS/
- lists.debian.org[debian-lts-announce] 20230130 [SECURITY] [DLA 3294-1] libarchive security updatehttps://lists.debian.org/debian-lts-announce/2023/01/msg00034.html
- security.gentoo.orgGLSA-202309-14https://security.gentoo.org/glsa/202309-14
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/11/msg00007.html
07 Fixed in
AlmaLinux 8
- bsdtar Fixed in 3.3.3-5.el8
- libarchive Fixed in 3.3.3-5.el8
- libarchive-devel Fixed in 3.3.3-5.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- bsdtar Fixed in 3.5.3-4.el9
- libarchive Fixed in 3.5.3-4.el9
- libarchive-devel Fixed in 3.5.3-4.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- bsdtar Fixed in 3.3.3-5.el8
- libarchive Fixed in 3.3.3-5.el8
- libarchive-devel Fixed in 3.3.3-5.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- bsdtar Fixed in 3.5.3-4.el9
- libarchive Fixed in 3.5.3-4.el9
- libarchive-devel Fixed in 3.5.3-4.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libarchive Fixed in 3.6.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libarchive Fixed in 3.6.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libarchive Fixed in 3.6.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libarchive Fixed in 3.4.0-2ubuntu1.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- libarchive Fixed in 3.6.0-1ubuntu1.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- libarchive Fixed in 3.1.2-7ubuntu2.8+esm3Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libarchive Fixed in 3.1.2-11ubuntu0.16.04.8+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- libarchive Fixed in 3.2.2-3.1ubuntu0.7+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.