CVE-2026-5121: Software Security Vulnerability Vulnerability

CRITICAL
Advisory Identifier: GHSA-2vwv-vqpv-v8vc
CVSS 9.8
CWE-190
Published
Advisory Summary

CVE-2026-5121 is a CRITICAL (CVSS 9.8) security vulnerability vulnerability (CWE-190: Integer Overflow or Wraparound) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number.. Remediation is available in the latest vendor maintenance releases.

CVE-2026-5121 at a Glance

CVE Identifier CVE-2026-5121
GHSA Identifier GHSA-2vwv-vqpv-v8vc
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-190: Integer Overflow or Wraparound
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-5121

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-5121, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-190: Integer Overflow or Wraparound, where the product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. this occurs when an integer value is incremented to a value that is too large to store in the associated representation. when this occurs, the value may become a very small or negative number. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

References

NVD — CVE-2026-5121 NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-5121
Software Source Repository REPOSITORY
https://github.com/libarchive/libarchive/pull/2934
access.redhat.com/errata/rhsa-2026:82... WEB
https://access.redhat.com/errata/RHSA-2026:82354
access.redhat.com/errata/rhsa-2026:82... WEB
https://access.redhat.com/errata/RHSA-2026:82372
access.redhat.com/errata/rhsa-2026:82... WEB
https://access.redhat.com/errata/RHSA-2026:82857
access.redhat.com/errata/rhsa-2026:82... WEB
https://access.redhat.com/errata/RHSA-2026:82888
access.redhat.com/errata/rhsa-2026:85... WEB
https://access.redhat.com/errata/RHSA-2026:8510
access.redhat.com/errata/rhsa-2026:85... WEB
https://access.redhat.com/errata/RHSA-2026:8517
access.redhat.com/errata/rhsa-2026:85... WEB
https://access.redhat.com/errata/RHSA-2026:8521
access.redhat.com/errata/rhsa-2026:85... WEB
https://access.redhat.com/errata/RHSA-2026:8534
access.redhat.com/errata/rhsa-2026:88... WEB
https://access.redhat.com/errata/RHSA-2026:8864
access.redhat.com/errata/rhsa-2026:88... WEB
https://access.redhat.com/errata/RHSA-2026:8866
access.redhat.com/errata/rhsa-2026:88... WEB
https://access.redhat.com/errata/RHSA-2026:8867
access.redhat.com/errata/rhsa-2026:88... WEB
https://access.redhat.com/errata/RHSA-2026:8873
access.redhat.com/errata/rhsa-2026:89... WEB
https://access.redhat.com/errata/RHSA-2026:8908
access.redhat.com/errata/rhsa-2026:89... WEB
https://access.redhat.com/errata/RHSA-2026:8944
access.redhat.com/errata/rhsa-2026:90... WEB
https://access.redhat.com/errata/RHSA-2026:9026
access.redhat.com/errata/rhsa-2026:95... WEB
https://access.redhat.com/errata/RHSA-2026:9592
access.redhat.com/errata/rhsa-2026:98... WEB
https://access.redhat.com/errata/RHSA-2026:9832
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2026-5121
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2452945
cert-portal.siemens.com/productcert/html/ss... WEB
https://cert-portal.siemens.com/productcert/html/ssa-585531.html
GitHub Advisory / Wiki ADVISORY
https://github.com/advisories/GHSA-2vwv-vqpv-v8vc
access.redhat.com/errata/rhsa-2026:10... WEB
https://access.redhat.com/errata/RHSA-2026:10065
access.redhat.com/errata/rhsa-2026:10... WEB
https://access.redhat.com/errata/RHSA-2026:10097
access.redhat.com/errata/rhsa-2026:11... WEB
https://access.redhat.com/errata/RHSA-2026:11768
access.redhat.com/errata/rhsa-2026:12... WEB
https://access.redhat.com/errata/RHSA-2026:12071
access.redhat.com/errata/rhsa-2026:12... WEB
https://access.redhat.com/errata/RHSA-2026:12274
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13812
access.redhat.com/errata/rhsa-2026:14... WEB
https://access.redhat.com/errata/RHSA-2026:14773
access.redhat.com/errata/rhsa-2026:14... WEB
https://access.redhat.com/errata/RHSA-2026:14937
access.redhat.com/errata/rhsa-2026:15... WEB
https://access.redhat.com/errata/RHSA-2026:15087
access.redhat.com/errata/rhsa-2026:16... WEB
https://access.redhat.com/errata/RHSA-2026:16008
access.redhat.com/errata/rhsa-2026:16... WEB
https://access.redhat.com/errata/RHSA-2026:16009
access.redhat.com/errata/rhsa-2026:16... WEB
https://access.redhat.com/errata/RHSA-2026:16030
access.redhat.com/errata/rhsa-2026:16... WEB
https://access.redhat.com/errata/RHSA-2026:16174
access.redhat.com/errata/rhsa-2026:17... WEB
https://access.redhat.com/errata/RHSA-2026:17596
access.redhat.com/errata/rhsa-2026:19... WEB
https://access.redhat.com/errata/RHSA-2026:19724
access.redhat.com/errata/rhsa-2026:19... WEB
https://access.redhat.com/errata/RHSA-2026:19725
access.redhat.com/errata/rhsa-2026:20... WEB
https://access.redhat.com/errata/RHSA-2026:20040
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21690
access.redhat.com/errata/rhsa-2026:25... WEB
https://access.redhat.com/errata/RHSA-2026:25096
access.redhat.com/errata/rhsa-2026:72... WEB
https://access.redhat.com/errata/RHSA-2026:72502
access.redhat.com/errata/rhsa-2026:82... WEB
https://access.redhat.com/errata/RHSA-2026:82304
access.redhat.com/errata/rhsa-2026:82... WEB
https://access.redhat.com/errata/RHSA-2026:82322
access.redhat.com/errata/rhsa-2026:82... WEB
https://access.redhat.com/errata/RHSA-2026:82347

Frequently Asked Questions

What is CVE-2026-5121?
CVE-2026-5121 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-190: Integer Overflow or Wraparound.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2026-5121?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2026-5121?
CVE-2026-5121 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-5121?
CVE-2026-5121 is classified under CWE-190: Integer Overflow or Wraparound (The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.).
How can I check Maven dependencies for CVE-2026-5121?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2vwv-vqpv-v8vc",
  "modified" : "2026-10-14T21:32:24Z",
  "published" : "2026-03-30T09:31:29Z",
  "aliases" : [ "CVE-2026-5121" ],
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-5121"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/libarchive/libarchive/pull/2934"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:82354"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:82372"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:82857"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:82888"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8510"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8517"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8521"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8534"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8864"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8866"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8867"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8873"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8908"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:8944"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:9026"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:9592"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:9832"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-5121"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2452945"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/html/ssa-585531.html"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-2vwv-vqpv-v8vc"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:10065"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:10097"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:11768"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:12071"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:12274"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13812"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:14773"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:14937"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:15087"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:16008"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:16009"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:16030"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:16174"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:17596"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:19724"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:19725"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:20040"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21690"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:25096"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:72502"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:82304"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:82322"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:82347"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-190" ],
    "severity" : "CRITICAL",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2026-03-30T08:16:18Z"
  }
}