Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Host malicious Debian repository
  2. Delivery
    Embed oversized SHA384 or SHA512 checksum tag in package index
  3. Exploit
    Direct victim to initiate package operation against repository
  4. Install
    libsolv fetches and parses malformed metadata
  5. C2
    control2solvable() copies oversized checksum into 65-byte stack buffer
  6. Execute
    Stack overflow corrupts adjacent memory
  7. Impact
    Process crash and denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the target system uses a version of libsolv that exercises the Debian metadata parsing code path (ext/repo_deb.c), (2) the Debian repository metadata being parsed contains SHA384 or SHA512 checksum tags - SHA256 checksums fit within the original buffer and do not trigger the overflow, and (3) a user or automated process actively initiates a package management operation (e.g., repository refresh, package search, dependency resolution) that fetches metadata from the attacker-controlled repository. The CVSS UI:R flag confirms that passive or background exploitation without user-initiated action is not indicated. Authentication is not required per PR:N in the CVSS vector. Exploitation is limited by the requirement that the target must be directed to a malicious repository; systems restricted to trusted, internal package mirrors with no access to external Debian repositories are not exposed.

Impact

The CVSS 6.5 score (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) reflects a network-reachable attack requiring no authentication and low complexity, but constrained by a mandatory user interaction step - exploitation is not passive and requires a user or automated process to initiate a package operation against the malicious repository. The impact is scoped strictly to availability (DoS); confidentiality and integrity are unaffected per the vector. No EPSS score was provided, preventing quantitative exploitation-probability assessment. The absence from CISA KEV and the lack of any public exploit code are consistent signals that this is not being actively exploited at scale. While stack overflows of this class can theoretically lead to code execution depending on stack layout and OS mitigations (ASLR, stack canaries), the CVE description and CVSS confirm only DoS as the demonstrated impact. The user interaction requirement (UI:R) materially limits opportunistic exploitation; risk is most relevant to automated build pipelines or CI/CD systems that pull from third-party Debian repositories without verification.

Exploit ScenarioDerived

An attacker configures a malicious Debian repository and populates its package index with entries containing SHA384 or SHA512 checksum fields. When a developer or automated CI pipeline running an affected libsolv version initiates a repository sync or package query against this repository, libsolv's Debian metadata parser copies the oversized checksum string into the 65-byte stack buffer, overflowing it and corrupting adjacent stack memory, resulting in a process crash and denial of service. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 20, 2026

Stack-based buffer overflow in libsolv's Debian metadata parser allows remote, unauthenticated attackers to cause a denial of service by serving maliciously crafted Debian repository metadata containing SHA384 or SHA512 checksum tags. The root cause, confirmed by the GitHub PR #616 diff, is a statically allocated 65-byte stack buffer in ext/repo_deb.c sized only for SHA256 digests, which is overflowed by the larger SHA384 (96 hex chars) and SHA512 (128 hex chars) values. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis; an upstream fix is available as an open pull request.

RemediationAI

Apply the upstream code fix from GitHub PR #616 (https://github.com/openSUSE/libsolv/pull/616), which corrects the undersized checksum buffer from char checksum[32 * 2 + 1] to char checksum[64 * 2 + 1] in ext/repo_deb.c. An officially released patched version has not been independently confirmed from available data - the fix exists only as an open pull request at time of analysis; monitor the openSUSE/libsolv releases page and the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-9150 for a tagged release. As a compensating control while awaiting a packaged fix, restrict package management operations to trusted, internally mirrored repositories and block access to third-party or untrusted Debian repositories at the network or policy layer. This limits the attack surface since exploitation requires parsing attacker-controlled repository metadata, but it may disrupt workflows that depend on external Debian mirrors and should be weighed against operational needs.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libsolv is an open-source dependency-solving library used by major Linux package managers, including DNF/libdnf on Fedora and RHEL and zypper on openSUSE/SUSE. The vulnerability resides in the control2solvable() function in ext/repo_deb.c, which parses Debian package control metadata. CWE-121 (Stack-Based Buffer Overflow) is triggered because the local variable char checksum[32 * 2 + 1] was allocated for exactly 65 bytes - sufficient for a SHA256 digest (32 raw bytes expressed as 64 hex characters plus a null terminator) - but the parser also processes SHA384 (48-byte digest, 96 hex chars) and SHA512 (64-byte digest, 128 hex chars) tags from repository metadata. Writing these larger values into the undersized buffer overflows the stack frame by 32 bytes for SHA384 and 64 bytes for SHA512, corrupting adjacent stack memory. The confirmed fix in PR #616 widens the buffer to char checksum[64 * 2 + 1] (129 bytes), accommodating the largest supported digest.

Know when Libsolv gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

A flaw was found in libsolv. This stack-based buffer overflow vulnerability occurs in libsolv's Debian metadata parser when processing specially crafted Debian repository metadata. An attacker could exploit this by providing malicious SHA384 or SHA512 checksum tags, leading to memory corruption and a denial of service (DoS) in the affected system.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:opensuse:libsolv:*:*:*:*:*:*:*:*
cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:update_infrastructure:4:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
CVE-2021-33938 HIGH POC
7.5 Sep 02

Buffer overflow vulnerability in function prune_to_recommended in src/policy.c in libsolv before 0.7.17 allows attackers

CVE-2021-33930 HIGH POC
7.5 Sep 02

Buffer overflow vulnerability in function pool_installable_whatprovides in src/repo.h in libsolv before 0.7.17 allows at

CVE-2021-33929 HIGH POC
7.5 Sep 02

Buffer overflow vulnerability in function pool_disabled_solvable in src/repo.h in libsolv before 0.7.17 allows attackers

CVE-2021-33928 HIGH POC
7.5 Sep 02

Buffer overflow vulnerability in function pool_installable in src/repo.h in libsolv before 0.7.17 allows attackers to ca

CVE-2018-20534 MEDIUM POC
6.5 Dec 28

There is an illegal address access at ext/testcase.c in libsolv.a in libsolv through 0.7.2 that will cause a denial of s

CVE-2018-20533 MEDIUM POC
6.5 Dec 28

There is a NULL pointer dereference at ext/testcase.c (function testcase_str2dep_complex) in libsolvext.a in libsolv thr

CVE-2018-20532 MEDIUM POC
6.5 Dec 28

There is a NULL pointer dereference at ext/testcase.c (function testcase_read) in libsolvext.a in libsolv through 0.7.2

CVE-2026-48863 HIGH
7.5 Jul 16

Denial of service in libsolv's PGP signature verification (solv_pgpvrfy) allows remote attackers to crash automated pack

CVE-2021-3200 LOW POC
3.3 May 18

Buffer overflow vulnerability in libsolv 2020-12-13 via the Solver * testcase_read(Pool *pool, FILE *fp, const char *tes

CVE-2026-9149 MEDIUM
6.5 May 21

Heap-based buffer overflow in libsolv's repo_add_solv() function enables a remote unauthenticated attacker to crash the

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed
SUSE Linux Enterprise Micro 5.5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy