CVE catalog

CVE-2020-21674

libarchive affected and fixed versions

[CVE catalog]

Heap-based buffer overflow in archive_string_append_from_wcs() (archive_string.c) in libarchive-3.4.1dev allows remote attackers to cause a denial of service (out-of-bounds write in heap memory resulting into a crash) via a crafted archive file. NOTE: this only affects users who downloaded the development code from GitHub. Users of the product's official releases are unaffected.

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.08% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
DebiantrixielibarchiveNot reportedNot affectedDistribution reports not affected[CVE-2020-21674]
Debiantrixielibarchive3.7.4-4+deb13u1Not affected[CVE-2020-21674]
DebiansidlibarchiveNot reportedNot affectedDistribution reports not affected[CVE-2020-21674]
Debiansidlibarchive3.8.10-2Not affected[CVE-2020-21674]
DebianforkylibarchiveNot reportedNot affectedDistribution reports not affected[CVE-2020-21674]
Debianforkylibarchive3.8.9-1Not affected[CVE-2020-21674]
Debianbookworm-securitylibarchive3.6.2-1+deb12u5Not affected[CVE-2020-21674]
DebianbookwormlibarchiveNot reportedNot affectedDistribution reports not affected[CVE-2020-21674]
Debianbookwormlibarchive3.6.2-1+deb12u4Not affected[CVE-2020-21674]
UnknownRelease not reportedlibarchiveNot reportedUnknownSource applicability is not establishedProvider not reported
Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedlibarchiveNot reportedUnknownSource applicability is not establishedProvider not reported
DebianbookwormlibarchiveNot reportedNot affectedDistribution reports not affected[CVE-2020-21674]
Debianbookwormlibarchive3.6.2-1+deb12u4Not affected[CVE-2020-21674]
Debianbookworm-securitylibarchive3.6.2-1+deb12u5Not affected[CVE-2020-21674]
DebianforkylibarchiveNot reportedNot affectedDistribution reports not affected[CVE-2020-21674]
Debianforkylibarchive3.8.9-1Not affected[CVE-2020-21674]
DebiansidlibarchiveNot reportedNot affectedDistribution reports not affected[CVE-2020-21674]
Debiansidlibarchive3.8.10-2Not affected[CVE-2020-21674]
DebiantrixielibarchiveNot reportedNot affectedDistribution reports not affected[CVE-2020-21674]
Debiantrixielibarchive3.7.4-4+deb13u1Not affected[CVE-2020-21674]
Original provider fields
{
  "package_releases": [
    {
      "name": "libarchive",
      "status": "not affected",
      "release": "sid",
      "version": "3.8.10-2"
    },
    {
      "name": "libarchive",
      "status": "not affected",
      "release": "forky",
      "version": "3.8.9-1"
    },
    {
      "name": "libarchive",
      "status": "not affected",
      "release": "trixie",
      "version": "3.7.4-4+deb13u1"
    },
    {
      "name": "libarchive",
      "status": "not affected",
      "release": "bookworm",
      "version": "3.6.2-1+deb12u4"
    },
    {
      "name": "libarchive",
      "status": "not affected",
      "release": "bookworm-security",
      "version": "3.6.2-1+deb12u5"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "libarchive",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "libarchive",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "libarchive",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "libarchive",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": "0"
    }
  ],
  "distribution_packages": [
    {
      "name": "libarchive",
      "fixed_version": "0",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libarchive13]Unknown

    Source package: [libarchive]

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

      Not affected

      dsa · libarchive · debian · bookworm

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Not affected

      dsa · libarchive · debian · bookworm

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

      Not affected

      dsa · libarchive · debian · bookworm

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

      Not affected

      dsa · libarchive · debian · bookworm

  • Source package: [libarchive]

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

      Not affected

      dsa · libarchive · debian · bookworm

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Not affected

      dsa · libarchive · debian · bookworm

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

      Not affected

      dsa · libarchive · debian · bookworm

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

      Not affected

      dsa · libarchive · debian · bookworm

  • Source package: [libarchive]

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

      Not affected

      dsa · libarchive · debian · bookworm

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Not affected

      dsa · libarchive · debian · bookworm

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

      Not affected

      dsa · libarchive · debian · bookworm

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

      Not affected

      dsa · libarchive · debian · bookworm

Observed:

References