gpgtar in GnuPG before 2.5.19 can allow file overwrite via crafted data in an archive. When extracting an untrusted archive with --directory (aka -C) into an existing directory containing a pre-existing symlink, gpgtar can follow that symlink and create or overwrite a file outside the selected extraction directory. The write is limited by the extraction user's filesystem permissions. An archive extracted into a fresh empty directory does not have this risk.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-61"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105712.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.5.19"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105712.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"13097378224317258864026974269477030122",
"158729894522543271203206778134314103178",
"88122209046503000679338184289603110899",
"200032024314597089218689236325263696025",
"197299948198612072136240397343174861009",
"130920609504032014851849244093627190478",
"120406065900572489185145255309584807091",
"305249205340883751789101281741937356309",
"130555803130274344735821906850445039987",
"323833104658801524360339416309592770937",
"45805380101387048693623207667792386098"
],
"threshold": 0.9
},
"id": "CVE-2026-105712-b15f75ba",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/gpg/gnupg/commit/7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88",
"target": {
"file": "tools/gpgtar-extract.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "39632332777750812516549727247968109080",
"length": 4624
},
"id": "CVE-2026-105712-dc655939",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/gpg/gnupg/commit/7a2692fe5e580ae3bbb2a47abc4baaf1af65aa88",
"target": {
"file": "tools/gpgtar-extract.c",
"function": "gpgtar_extract"
}
}
]
"2026-10-21T09:32:28Z"