High
Security advisory
A flaw was found in rizin. The create_section_from_phdr function allocates space for ELF section data by processing the headers. Crafted values in the headers can cause out of bounds reads, which can lead to memory corruption and possibly code execution through the binary object's callback function.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3674
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:52 UTC · Revision 1
Source evidence
A flaw was found in rizin. The create_section_from_phdr function allocates space for ELF section data by processing the headers. Crafted values in the headers can cause out of bounds reads, which can lead to memory corruption and possibly code execution through the binary object's callback function.
osv:CVE-2021-3674
Complete source record
{
"id": "b857af36252aa32a8ac31f0e25b28af30e875195458e2b84e7fd40b2da14afba",
"url": "https://osv.dev/vulnerability/CVE-2021-3674",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3674",
"summary": "A flaw was found in rizin. The create_section_from_phdr function allocates space for ELF section data by processing the headers. Crafted values in the headers can cause out of bounds reads, which can lead to memory corruption and possibly code execution through the binary object's callback function.",
"evidence": "osv:CVE-2021-3674",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-3674",
"aliases": [
"CVE-2021-3674"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/rizinorg/rizin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "91d3bb43fd92fc04e8def76beb22c2d84ae53fb5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:rizin:rizin:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.2.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.2.1",
"v0.2.0",
"v0.1.2",
"v0.1.1",
"v0.1.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3674.json"
}
}
],
"modified": "2026-10-20T10:54:52.272449378Z",
"provider": "osv",
"references": [
"https://github.com/rizinorg/rizin/pull/1313",
"https://gist.github.com/netspooky/61101e191afee95feda7dbd2f6b061c4"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-3674",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386312,
"published_at": "2023-03-24T20:15:08.097+00:00"
}