Back

MEDIUM

Libsolv: stack-based buffer overflow in libsolv's debian metadata parser when handling sha384/sha512 checksums

Published May 20, 2026

Description

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.

Affected products

Remediation

Vendor solution

To mitigate this issue, ensure that libsolv only processes trusted and cryptographically signed Debian repository metadata. Avoid ingesting or processing `Packages` files from untrusted or unverified sources.

Red Hat statement

This Moderate impact flaw in libsolv's Debian metadata parser can lead to a denial of service due to a stack-based buffer overflow. Exploitation requires a victim to process specially crafted, untrusted Debian repository metadata containing malicious SHA384 or SHA512 checksums. While memory corruption occurs, reliable system compromise has not been demonstrated, and the vulnerability is not typically exposed in default Red Hat product configurations.

Red Hat mitigation

To mitigate this issue, ensure that libsolv only processes trusted and cryptographically signed Debian repository metadata. Avoid ingesting or processing `Packages` files from untrusted or unverified sources.

Metrics

Weaknesses (1)

References (9)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published May 20, 2026
Updated Sep 1, 2026
Reserved May 20, 2026
CISA Vulnrichment
Updated May 21, 2026
NVD
Status Modified
Modified Sep 1, 2026
Red Hat
Severity Moderate
Public date May 20, 2026