brew-unzip-cve-2022-0529
Vulnerability from osv_homebrew
Published
2026-06-28 21:29
Modified
2026-07-18 04:02
Summary
Details
A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.
Severity
5.5 (Medium)
References
{
"affected": [
{
"ecosystem_specific": {
"fix": "patch",
"patches": [
{
"apply": [
"patches/01-manpages-in-section-1-not-in-section-1l.patch",
"patches/02-this-is-debian-unzip.patch",
"patches/03-include-unistd-for-kfreebsd.patch",
"patches/04-handle-pkware-verification-bit.patch",
"patches/05-fix-uid-gid-handling.patch",
"patches/06-initialize-the-symlink-flag.patch",
"patches/07-increase-size-of-cfactorstr.patch",
"patches/08-allow-greater-hostver-values.patch",
"patches/09-cve-2014-8139-crc-overflow.patch",
"patches/10-cve-2014-8140-test-compr-eb.patch",
"patches/11-cve-2014-8141-getzip64data.patch",
"patches/12-cve-2014-9636-test-compr-eb.patch",
"patches/13-remove-build-date.patch",
"patches/14-cve-2015-7696.patch",
"patches/15-cve-2015-7697.patch",
"patches/16-fix-integer-underflow-csiz-decrypted.patch",
"patches/17-restore-unix-timestamps-accurately.patch",
"patches/18-cve-2014-9913-unzip-buffer-overflow.patch",
"patches/19-cve-2016-9844-zipinfo-buffer-overflow.patch",
"patches/20-cve-2018-1000035-unzip-buffer-overflow.patch",
"patches/20-unzip60-alt-iconv-utf8.patch",
"patches/21-fix-warning-messages-on-big-files.patch",
"patches/22-cve-2019-13232-fix-bug-in-undefer-input.patch",
"patches/23-cve-2019-13232-zip-bomb-with-overlapped-entries.patch",
"patches/24-cve-2019-13232-do-not-raise-alert-for-misplaced-central-directory.patch",
"patches/25-cve-2019-13232-fix-bug-in-uzbunzip2.patch",
"patches/26-cve-2019-13232-fix-bug-in-uzinflate.patch",
"patches/27-zipgrep-avoid-test-errors.patch",
"patches/28-cve-2022-0529-and-cve-2022-0530.patch"
],
"type": "unofficial",
"url": "https://archive.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_6.0-28ubuntu4.1.debian.tar.xz"
}
]
},
"package": {
"ecosystem": "Homebrew",
"name": "unzip",
"purl": "pkg:brew/unzip"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.0_8"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"source": "generated"
},
"details": "A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.",
"id": "BREW-unzip-CVE-2022-0529",
"modified": "2026-07-18T04:02:33Z",
"published": "2026-06-28T21:29:54Z",
"references": [
{
"type": "ADVISORY",
"url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00028.html"
},
{
"type": "ADVISORY",
"url": "https://security.gentoo.org/glsa/202310-17"
},
{
"type": "ADVISORY",
"url": "https://www.debian.org/security/2022/dsa-5202"
},
{
"type": "REPORT",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2051395"
},
{
"type": "EVIDENCE",
"url": "https://github.com/ByteHackr/unzip_poc"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"upstream": [
"CVE-2022-0529"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…