Skip to content
Heist/ feed
Back to feed
HighFix available

libarchive — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-5121

A flaw was found in libarchive. On 32-bit systems, an integer overflow vulnerability exists in the zisofs block pointer allocation logic. A remote attacker can exploit this by providing a specially crafted ISO9660 image, which can lead to a heap buffer overflow. This could potentially allow for arbitrary code execution on the affected system.

Products
libarchive
Affected versions
3.6.2-1, 3.6.2-1+deb12u1, 3.6.2-1+deb12u2, 3.6.2-1+deb12u3, 3.7.4-4, 3.8.4-1, 3.8.5-1, 3.8.6-1
Fixed versions
3.6.2-1+deb12u4, 3.7.4-4+deb13u1, 3.8.7-1
CVEs
CVE-2026-5121
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:16 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-5121

core-osv · Original source

Published 30 Mar 2026, 08:16 UTC

A flaw was found in libarchive. On 32-bit systems, an integer overflow vulnerability exists in the zisofs block pointer allocation logic. A remote attacker can exploit this by providing a specially crafted ISO9660 image, which can lead to a heap buffer overflow. This could potentially allow for arbitrary code execution on the affected system.

osv:DEBIAN-CVE-2026-5121

libarchive

Fixed versions: 3.6.2-1+deb12u4

libarchive

Fixed versions: 3.7.4-4+deb13u1

libarchive

Fixed versions: 3.8.7-1

Complete source record
{
  "id": "14557baaefddfdee4a5d992a78fb83fa4ed1e4b1bf9f6efd4a9ca4d7e2fcba7a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-5121",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-5121",
    "summary": "A flaw was found in libarchive. On 32-bit systems, an integer overflow vulnerability exists in the zisofs block pointer allocation logic. A remote attacker can exploit this by providing a specially crafted ISO9660 image, which can lead to a heap buffer overflow. This could potentially allow for arbitrary code execution on the affected system.",
    "evidence": "osv:DEBIAN-CVE-2026-5121",
    "products": [
      {
        "name": {
          "value": "libarchive",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.6.2-1+deb12u4",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.6.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2-1+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2-1+deb12u2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.6.2-1+deb12u3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libarchive",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.7.4-4+deb13u1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.7.4-4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libarchive",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.8.7-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "3.7.4-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.8.4-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.8.5-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.8.6-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-5121",
      "aliases": [
        "DEBIAN-CVE-2026-5121"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.2-1+deb12u4"
                }
              ]
            }
          ],
          "package": {
            "name": "libarchive",
            "purl": "pkg:deb/debian/libarchive?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "3.6.2-1",
            "3.6.2-1+deb12u1",
            "3.6.2-1+deb12u2",
            "3.6.2-1+deb12u3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5121.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.7.4-4+deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "libarchive",
            "purl": "pkg:deb/debian/libarchive?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "3.7.4-4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5121.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.8.7-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libarchive",
            "purl": "pkg:deb/debian/libarchive?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "3.7.4-4",
            "3.8.4-1",
            "3.8.5-1",
            "3.8.6-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-5121.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:27.092957726Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-5121"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-5121"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-5121",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 327332,
  "published_at": "2026-03-30T08:16:18.78+00:00"
}