# CVE-2024-13941: Ouch Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability

Source: https://junglewise.ai/threats/cve-2024-13941-ouch-improper-restriction-of-operations-within-the-bounds-of-a  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-04-01  
License: CC BY 4.0 with a link back

CVE-2024-13941 · Severity: low · CVSS 3.1 · Published 2025-04-01

Ouch Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability

Technologies: [ouch (crates.io)](https://junglewise.ai/threats/technologies/ouch). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2024-13941 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-13941 being exploited in the wild.

**How severe is CVE-2024-13941?** Low severity, with a CVSS score of 3.1, published 1 April 2025.

**Which products and versions are affected?** ouch (crates.io) SEMVER:introduced=0,fixed=0.4.0.

**Is there a fix for CVE-2024-13941?** Yes. ouch (crates.io): upgrade to 0.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-13941?** Check whether you run ouch (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ouch (crates.io): upgrade to 0.4.0 or later

  ```sh
  cargo update -p ouch
  ```


## Affected products

- ouch (crates.io) SEMVER:introduced=0,fixed=0.4.0

## Identifiers

- CVE-2024-13941
- GHSA-6xfj-hhwh-r3c2

## Related threats

- [Ouch! allows a segmentation fault due to use of uninitialized memory](https://junglewise.ai/threats/ouch-allows-a-segmentation-fault-due-to-use-of-uninitialized-memory-39cb2306)
- [RUSTSEC-2024-0374 - Segmentation fault due to use of uninitialized memory](https://junglewise.ai/threats/rustsec-2024-0374-segmentation-fault-due-to-use-of-uninitialized-memory-db8d0f9c)
