CVE-2024-43806
published medium CVSS 3.1 · 6.5`rustix::fs::Dir` iterator with the `linux_raw` backend can cause memory explosion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bytecodealliance | — | rustix>= 0.35.11, < 0.35.15 · >= 0.36.0, < 0.36.16 · >= 0.37.0, < 0.37.25 · >= 0.38.0, < 0.38.19 | Affected | Not stated | GitHub_M |
| bytecodealliance | — | rustix0.35.11 to < 0.35.15 · 0.36.0 to < 0.36.16 · 0.37.0 to < 0.37.25 · 0.38.0 to < 0.38.19 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP5 | rage-encryptionaarch64 | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | SLE-15-SP5 | rage-encryptionx86_64 | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | SLE-15-SP5 | rage-encryption-bash-completionnoarch | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | SLE-15-SP6 | rage-encryptionaarch64 | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | SLE-15-SP6 | rage-encryptionx86_64 | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | SLE-15-SP6 | rage-encryption-bash-completionnoarch | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | sccacheaarch64 | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccacheppc64le | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccaches390x | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccachex86_64 | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccacheaarch64 | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccacheppc64le | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccaches390x | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccachex86_64 | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-16 | gdk-pixbuf-loader-rsvgaarch64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | gdk-pixbuf-loader-rsvgppc64le | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | gdk-pixbuf-loader-rsvgs390x | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | gdk-pixbuf-loader-rsvgx86_64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | librsvg-2-2aarch64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | librsvg-2-2ppc64le | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | librsvg-2-2s390x | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | librsvg-2-2x86_64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | librsvg-develaarch64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | librsvg-develppc64le | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | librsvg-devels390x | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | librsvg-develx86_64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | rsvg-convertaarch64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | rsvg-convertppc64le | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | rsvg-converts390x | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | rsvg-convertx86_64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | rsvg-thumbnailernoarch | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | typelib-1_0-Rsvg-2_0aarch64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | typelib-1_0-Rsvg-2_0ppc64le | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | typelib-1_0-Rsvg-2_0s390x | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-16 | typelib-1_0-Rsvg-2_0x86_64 | Advisory build | 2.60.2-160000.1.1 | SUSE-SU-2026:20910-1 |
| SUSE / openSUSE | SLE-5 | gdk-pixbuf-loader-rsvgaarch64 | Advisory build | 2.52.12-150400.3.9.1 | SUSE-SU-2025:4411-1 |
| SUSE / openSUSE | SLE-5 | gdk-pixbuf-loader-rsvgppc64le | Advisory build | 2.52.12-150400.3.9.1 | SUSE-SU-2025:4411-1 |
| SUSE / openSUSE | SLE-5 | gdk-pixbuf-loader-rsvgs390x | Advisory build | 2.52.12-150400.3.9.1 | SUSE-SU-2025:4411-1 |
| SUSE / openSUSE | SLE-5 | gdk-pixbuf-loader-rsvgx86_64 | Advisory build | 2.52.12-150400.3.9.1 | SUSE-SU-2025:4411-1 |
| SUSE / openSUSE | SLE-5 | librsvg-2-2aarch64 | Advisory build | 2.52.12-150400.3.9.1 | SUSE-SU-2025:4411-1 |
| SUSE / openSUSE | SLE-5 | librsvg-2-2ppc64le | Advisory build | 2.52.12-150400.3.9.1 | SUSE-SU-2025:4411-1 |
| SUSE / openSUSE | SLE-5 | librsvg-2-2s390x | Advisory build | 2.52.12-150400.3.9.1 | SUSE-SU-2025:4411-1 |
| SUSE / openSUSE | SLE-5 | librsvg-2-2x86_64 | Advisory build | 2.52.12-150400.3.9.1 | SUSE-SU-2025:4411-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimeaarch64 | Advisory build | 0.2.7+141-150400.3.5.1 | SUSE-SU-2025:02810-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimeaarch64 | Advisory build | 0.2.7+141-150400.3.7.1 | SUSE-SU-2025:02809-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimeaarch64 | Advisory build | 0.2.7+141-150500.3.5.1 | SUSE-SU-2025:02811-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimeppc64le | Advisory build | 0.2.7+141-150500.3.5.1 | SUSE-SU-2025:02811-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimes390x | Advisory build | 0.2.7+141-150400.3.5.1 | SUSE-SU-2025:02810-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimes390x | Advisory build | 0.2.7+141-150400.3.7.1 | SUSE-SU-2025:02809-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimes390x | Advisory build | 0.2.7+141-150500.3.5.1 | SUSE-SU-2025:02811-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimex86_64 | Advisory build | 0.2.7+141-150400.3.5.1 | SUSE-SU-2025:02810-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimex86_64 | Advisory build | 0.2.7+141-150400.3.7.1 | SUSE-SU-2025:02809-1 |
| SUSE / openSUSE | SLE-5 | rust-keylimex86_64 | Advisory build | 0.2.7+141-150500.3.5.1 | SUSE-SU-2025:02811-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | rage-encryptionaarch64 | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | rage-encryptionx86_64 | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | rage-encryption-bash-completionnoarch | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | rage-encryptionaarch64 | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | rage-encryptionx86_64 | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | rage-encryption-bash-completionnoarch | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | rage-encryption-fish-completionnoarch | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | rage-encryption-zsh-completionnoarch | Advisory build | 0.10.0+0-150500.3.6.1 | SUSE-SU-2024:3404-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gdk-pixbuf-loader-rsvgaarch64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gdk-pixbuf-loader-rsvgppc64le | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gdk-pixbuf-loader-rsvgs390x | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gdk-pixbuf-loader-rsvgx86_64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | librsvg-2-2aarch64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | librsvg-2-2ppc64le | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | librsvg-2-2s390x | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | librsvg-2-2x86_64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | librsvg-develaarch64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | librsvg-develppc64le | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | librsvg-devels390x | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | librsvg-develx86_64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rsvg-convertaarch64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rsvg-convertppc64le | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rsvg-converts390x | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rsvg-convertx86_64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | rsvg-thumbnailernoarch | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | typelib-1_0-Rsvg-2_0aarch64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | typelib-1_0-Rsvg-2_0ppc64le | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | typelib-1_0-Rsvg-2_0s390x | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | typelib-1_0-Rsvg-2_0x86_64 | Advisory build | 2.60.2-160000.1.1 | OPENSUSE-SU-2026:20396-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-dsaarch64 | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-dsppc64le | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-dss390x | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-dsx86_64 | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-ds-develaarch64 | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-ds-develppc64le | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-ds-devels390x | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-ds-develx86_64 | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-ds-snmpaarch64 | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-ds-snmpppc64le | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-ds-snmps390x | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | 389-ds-snmpx86_64 | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | keylime-ima-policyaarch64 | Advisory build | 0.2.7+70-2.1 | OPENSUSE-SU-2025:15294-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | keylime-ima-policyppc64le | Advisory build | 0.2.7+70-2.1 | OPENSUSE-SU-2025:15294-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | keylime-ima-policys390x | Advisory build | 0.2.7+70-2.1 | OPENSUSE-SU-2025:15294-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | keylime-ima-policyx86_64 | Advisory build | 0.2.7+70-2.1 | OPENSUSE-SU-2025:15294-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lib389aarch64 | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lib389ppc64le | Advisory build | 3.1.1~git13.a9c7ff9-1.1 | OPENSUSE-SU-2024:14306-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Rustix is a set of safe Rust bindings to POSIX-ish APIs. When using `rustix::fs::Dir` using the `linux_raw` backend, it's possible for the iterator to "get stuck" when an IO error is encountered. Combined with a memory over-allocation issue in `rustix::fs::Dir::read_more`, this can cause quick and unbounded memory explosion (gigabytes in a few seconds if used on a hot path) and eventually lead to an OOM crash of the application. The symptoms were initially discovered in https://github.com/imsnif/bandwhich/issues/284. That post has lots of details of our investigation. Full details can be read on the GHSA-c827-hfw6-qwvm repo advisory. If a program tries to access a directory with its file descriptor after the file has been unlinked (or any other action that leaves the `Dir` iterator in the stuck state), and the implementation does not break after seeing an error, it can cause a memory explosion. As an example, Linux's various virtual file systems (e.g. `/proc`, `/sys`) can contain directories that spontaneously pop in and out of existence. Attempting to iterate over them using `rustix::fs::Dir` directly or indirectly (e.g. with the `procfs` crate) can trigger this fault condition if the implementation decides to continue on errors. An attacker knowledgeable about the implementation details of a vulnerable target can therefore try to trigger this fault condition via any one or a combination of several available APIs. If successful, the application host will quickly run out of memory, after which the application will likely be terminated by an OOM killer, leading to denial of service. This issue has been addressed in release versions 0.35.15, 0.36.16, 0.37.25, and 0.38.19. Users are advised to upgrade. There are no known workarounds for this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bytecodealliance | rustix | >= 0.35.11, < 0.35.15 (affected)>= 0.36.0, < 0.36.16 (affected)>= 0.37.0, < 0.37.25 (affected)>= 0.38.0, < 0.38.19 (affected) | GitHub_M · cna |
| bytecodealliance | rustix | 0.35.11 to < 0.35.15 (affected · custom)0.36.0 to < 0.36.16 (affected · custom)0.37.0 to < 0.37.25 (affected · custom)0.38.0 to < 0.38.19 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
2Provider assertions
2GitHub_M · cna
`rustix::fs::Dir` iterator with the `linux_raw` backend can cause memory explosion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0e86180f8b17e82bee75452275b4d7381326db2de11557906ede5e933e5b09c2
- Ingested
- 23 Sep 2026, 08:27:16 UTC
- Source record
- Official CVE record