Versions of the package libredwg before 0.12.5.6384 are vulnerable to Denial of Service (DoS) due to an out-of-bounds read involving section->num_pages in decode_r2007.c.
{
"cna_assigner": "snyk",
"cwe_ids": [
"CWE-400"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26157.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "0.12.5.6384"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"fixed": "0.12.5.6384"
}
],
"source": "DESCRIPTION"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26157.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"217006450614870285968411797597213745219",
"200706603769390820511484186268904804199",
"38104450548866259470583206905950188169",
"303697867301622723522280517863464584893",
"115605732533553649165626545854261113058",
"22212419603647471472522465378850361177",
"22554465166310408426460977972658723346",
"314017014099522294806481809755598986064",
"70930589516202847693881906648549197449",
"127274737622797487522345195260003544710",
"57497177010789217660494105716751843323",
"174370191963990853808538478198741893999",
"285854601670524749403956162567165650546"
],
"threshold": 0.9
},
"id": "CVE-2023-26157-6f3c3ead",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libredwg/libredwg/commit/c8cf03ce4c2315b146caf582ea061c0460193bcc",
"target": {
"file": "src/decode_r2007.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "148999153941967560062922587411455634690",
"length": 2382
},
"id": "CVE-2023-26157-a7b1b0e3",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libredwg/libredwg/commit/c8cf03ce4c2315b146caf582ea061c0460193bcc",
"target": {
"file": "src/decode_r2007.c",
"function": "read_data_section"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "209595528848737100881183906464845156106",
"length": 4610
},
"id": "CVE-2023-26157-f027f795",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libredwg/libredwg/commit/c8cf03ce4c2315b146caf582ea061c0460193bcc",
"target": {
"file": "src/decode_r2007.c",
"function": "read_sections_map"
}
}
]
"2026-08-12T13:34:01Z"