Ouch! allows a segmentation fault due to use of uninitialized memory
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
When trying to decompress a file using "ouch", we can reach the function "ouch::archive::zip::convert_zip_date_time". In the function, there is a unsafe function, "transmute". Once the "transmute" function is called to convert the type of "month" object, the address of the object is changed to the uninitialized memory region. After that, when other function tries to dereference "month", segmentation fault occurs.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ouch (crates.io) | before 0.3.1 | 0.3.1 | Patch available | GHSA-2wq5-g96f-mv3v |
- ouch (crates.io) Vendor— Affected before 0.3.1 Fixed in 0.3.1 Patch available GHSA-2wq5-g96f-mv3v
Remediation
- Fix · GHSA-2wq5-g96f-mv3v ouch (crates.io) Fixed in 0.3.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-2wq5-g96f-mv3v
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences