CVE catalog

CVE-2022-36227

libarchive vulnerabilities

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
Published
Source
[NVD] · [CVE record]
EPSS
2.44% · Oct 25, 2026

A flaw was found in libarchive. A missing check of the return value of the calloc function can cause a NULL pointer dereference in an out-of-memory condition or when a memory allocation limit is reached, resulting in the program linked with libarchive to crash. libarchive: NULL pointer dereference in archive_write.c This vulnerability can only be exploited in an out-of-memory condition or when a memory allocation limit is reached. Additionally, the only known security impact of this issue is a denial of service. Due to these conditions, this flaw was rated as having a low severity. The out-of-memory condition is triggered when all physical memory, including swap space, is being used. Furthermore, depending on the configuration, this event can cause the out-of-memory killer (OOM-Killer) to be activated, terminating the application and preventing the NULL pointer dereference from being exploited. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibarchivesid3.8.10-2fixed
Debianlibarchiveforky3.8.9-1fixed
Debianlibarchivetrixie3.7.4-4+deb13u1fixed
Debianlibarchivebookworm3.6.2-1+deb12u4fixed
Debianlibarchivebookworm-security3.6.2-1+deb12u5fixed
Ubuntulibarchivenoble3.6.2-1fixed
Ubuntulibarchivenoble3.7.2-2ubuntu0.2fixed
Ubuntulibarchive-devnoble3.7.2-2ubuntu0.2fixed
Ubuntulibarchive-toolsnoble3.7.2-2ubuntu0.2fixed
Ubuntulibarchive13t64noble3.7.2-2ubuntu0.2fixed
CpelibarchiveNot reported3.6.2fixed
Cpedebian_linuxNot reportedNot reportedunknown
CpefedoraNot reportedNot reportedunknown
Cpeuniversal_forwarderNot reportedNot reportedunknown
Ubuntulibarchivepro3.2.2-3.1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.2vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.3vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.4vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.5vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.6vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7+esm1fixed
Ubuntulibarchive20.043.4.0-1vulnerable
Ubuntulibarchive20.043.4.0-1build1vulnerable
Ubuntulibarchive20.043.4.0-1ubuntu2vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.1vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.2vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.3fixed
Ubuntulibarchive22.043.4.3-2vulnerable
Ubuntulibarchive22.043.4.3-2build1vulnerable
Ubuntulibarchive22.043.5.2-1vulnerable
Ubuntulibarchive22.043.5.2-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.2fixed
Ubuntulibarchive24.043.6.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-1.1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.1vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.2fixed
Ubuntulibarchivepro3.2.2-3.1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.1vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.2vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.3vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.4vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.5vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.6vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7vulnerable
Ubuntulibarchivepro3.2.2-3.1ubuntu0.7+esm1fixed
Ubuntulibarchive20.043.4.0-1vulnerable
Ubuntulibarchive20.043.4.0-1build1vulnerable
Ubuntulibarchive20.043.4.0-1ubuntu2vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.1vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.2vulnerable
Ubuntulibarchive20.043.4.0-2ubuntu1.3fixed
Ubuntulibarchive22.043.4.3-2vulnerable
Ubuntulibarchive22.043.4.3-2build1vulnerable
Ubuntulibarchive22.043.5.2-1vulnerable
Ubuntulibarchive22.043.5.2-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.2fixed
Suselibarchivelinux enterprise software development kit 12 sp53.3.3-32.8.1fixed
Suselibarchivelinux enterprise server 12 sp53.3.3-32.8.1fixed
Suselibarchivelinux enterprise server for sap applications 12 sp53.3.3-32.8.1fixed
Opensusebsdtartumbleweed3.6.2-1.1fixed
Suselibarchivelinux enterprise micro 5.33.5.1-150400.3.12.1fixed
Suselibarchivelinux enterprise module for basesystem 15 sp43.5.1-150400.3.12.1fixed
Suselibarchivelinux enterprise module for development tools 15 sp43.5.1-150400.3.12.1fixed
Opensuselibarchiveleap micro 5.33.5.1-150400.3.12.1fixed
Opensuselibarchiveleap 15.43.5.1-150400.3.12.1fixed
Suselibarchivelinux enterprise module for basesystem 15 sp33.4.2-150200.4.15.1fixed
Suselibarchivelinux enterprise module for development tools 15 sp33.4.2-150200.4.15.1fixed
Opensuselibarchiveleap 15.33.4.2-150200.4.15.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibarchivesourcesid3.6.2-1not yet assignedNot reported[1024669]
Debianlibarchivesourceforky3.6.2-1not yet assignedNot reported[1024669]
Debianlibarchivesourcetrixie3.6.2-1not yet assignedNot reported[1024669]
Debianlibarchivesourcebookworm3.6.2-1not yet assignedNot reported[1024669]
Ubuntulibarchivedebnoble3.6.2-1Not reportedNot reportedNot reported
Ubuntulibarchivedebnoble3.7.2-2ubuntu0.2Not reportedNot reportedNot reported
Ubuntulibarchive-devdebnoble3.7.2-2ubuntu0.2Not reportedNot reportedNot reported
Ubuntulibarchive-toolsdebnoble3.7.2-2ubuntu0.2Not reportedNot reportedNot reported
Ubuntulibarchive13t64debnoble3.7.2-2ubuntu0.2Not reportedNot reportedNot reported
CpelibarchivecpeNot reported3.6.2Not reportedNVD-CVE-2022-36227Not reported
Ubuntulibarchivedebpro3.2.2-3.1ubuntu0.7+esm1Not reportedUSN-7070-1Not reported
Ubuntulibarchivedeb20.043.4.0-2ubuntu1.3Not reportedUSN-7070-1Not reported
Ubuntulibarchivedeb22.043.6.0-1ubuntu1.2Not reportedUSN-7070-1Not reported
Ubuntulibarchivedeb24.043.7.2-2ubuntu0.2Not reportedUSN-7070-1Not reported
Ubuntulibarchivedebpro3.2.2-3.1ubuntu0.7+esm1Not reportedUBUNTU-CVE-2022-36227Not reported
Ubuntulibarchivedeb20.043.4.0-2ubuntu1.3Not reportedUBUNTU-CVE-2022-36227Not reported
Ubuntulibarchivedeb22.043.6.0-1ubuntu1.2Not reportedUBUNTU-CVE-2022-36227Not reported
Suselibarchiverpmlinux enterprise software development kit 12 sp53.3.3-32.8.1Not reportedSUSE-SU-2022:4296-1Not reported
Suselibarchiverpmlinux enterprise server 12 sp53.3.3-32.8.1Not reportedSUSE-SU-2022:4296-1Not reported
Suselibarchiverpmlinux enterprise server for sap applications 12 sp53.3.3-32.8.1Not reportedSUSE-SU-2022:4296-1Not reported
Opensusebsdtarrpmtumbleweed3.6.2-1.1Not reportedOPENSUSE-SU-2024:12588-1Not reported
Suselibarchiverpmlinux enterprise micro 5.33.5.1-150400.3.12.1Not reportedSUSE-SU-2022:4209-1Not reported
Suselibarchiverpmlinux enterprise module for basesystem 15 sp43.5.1-150400.3.12.1Not reportedSUSE-SU-2022:4209-1Not reported
Suselibarchiverpmlinux enterprise module for development tools 15 sp43.5.1-150400.3.12.1Not reportedSUSE-SU-2022:4209-1Not reported
Opensuselibarchiverpmleap micro 5.33.5.1-150400.3.12.1Not reportedSUSE-SU-2022:4209-1Not reported
Opensuselibarchiverpmleap 15.43.5.1-150400.3.12.1Not reportedSUSE-SU-2022:4209-1Not reported
Suselibarchiverpmlinux enterprise module for basesystem 15 sp33.4.2-150200.4.15.1Not reportedSUSE-SU-2022:4202-1Not reported
Suselibarchiverpmlinux enterprise module for development tools 15 sp33.4.2-150200.4.15.1Not reportedSUSE-SU-2022:4202-1Not reported
Opensuselibarchiverpmleap 15.33.4.2-150200.4.15.1Not reportedSUSE-SU-2022:4202-1Not reported

[Debian bug #1024669]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · bookworm; usn · libarchive · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.6.2-1

      usn · libarchive · debian · 13

[openSUSE Tumbleweed]

  • [bsdtar]Fixed

    Source package: [libarchive]

    Details (1)
    • 3.8.7-1.4 · x86_64 · tumbleweed

      Fixed · Fixed: 3.6.2-1.1

      usn · bsdtar · opensuse · tumbleweed

Observed:

References