XZ Utils provide a general-purpose data-compression library plus command-line tools. Prior to version 5.8.3, if lzmaindexdecoder() was used to decode an Index that contained no Records, the resulting lzmaindex was left in a state where where a subsequent lzmaindex_append() would allocate too little memory, and a buffer overflow would occur. This issue has been patched in version 5.8.3.
{
"cwe_ids": [
"CWE-122"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34743.json"
}{
"cpe": "cpe:2.3:a:tukaani:xz:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "5.8.3"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-23T08:25:11Z"
[
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1799.0,
"function_hash": "50025824752531838876270586168577736298"
},
"signature_version": "v1",
"source": "https://github.com/tukaani-project/xz/commit/c8c22869e780ff57c96b46939c3d79ff99395f87",
"id": "CVE-2026-34743-8bf2b829",
"target": {
"function": "lzma_index_append",
"file": "src/liblzma/common/index.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"189021365865857008318232289039297103124",
"314911882038425734515188493524891833443",
"211617179559452375355043576420664790012",
"26911717901058952735636282764262730641",
"172566969959909635515254092570109171954",
"309215456910578642829530044367921726652"
]
},
"signature_version": "v1",
"source": "https://github.com/tukaani-project/xz/commit/c8c22869e780ff57c96b46939c3d79ff99395f87",
"id": "CVE-2026-34743-9c1f8a10",
"target": {
"file": "src/liblzma/common/index.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 152.0,
"function_hash": "328129197884697836206461655903934437677"
},
"signature_version": "v1",
"source": "https://github.com/tukaani-project/xz/commit/c8c22869e780ff57c96b46939c3d79ff99395f87",
"id": "CVE-2026-34743-aa610b77",
"target": {
"function": "lzma_index_prealloc",
"file": "src/liblzma/common/index.c"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34743.json"