CVE-2024-13941 ouch-org ouch zip.rs convert_zip_date_time memory corruption

Medium 4.8 Published Updated

Local attackers can trigger memory corruption in the ouch archive library via crafted zip date-time data, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-13941?

CVE-2024-13941 is a medium-severity memory corruption vulnerability in ouch-org ouch, published on 1 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in ouch-org ouch up to 0.3.1. It has been classified as critical. This affects the function ouch::archive::zip::convert_zip_date_time of the file zip.rs. The manipulation of the argument month leads to memory corruption. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. Upgrading to version 0.4.0 is able to address this issue. It is recommended to upgrade the affected component.

Weakness: CWE-119

Which versions are affected by CVE-2024-13941?

2 open source packages ship an affected version, including ouch.

PackageAffectedFixed in
ouch crates.ioAll versions0.4.0
ouch crates.ioAll versions0.4.0

How do I fix CVE-2024-13941?

Upgrade ouch to 0.4.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-13941 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-13941 exists.

Sources

Also known as GHSA-6xfj-hhwh-r3c2.

Is CVE-2024-13941 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free