CVE-2026-6654
published high CVSS 3.1 · 7.3Use-After-Free and Double-Free in IntoIter::drop when element drop panics
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Mozilla | — | thin-vec0.2.16 and later · Other versions: unknown | Unaffected | Not stated | mozilla |
| Red Hat Enterprise Linux | 7, 8, 9, 10 | firefox | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9, 10 | gjs | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9, 10 | rust | Unaffected | Not required | redhat-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3290 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3296 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | firefoxaarch64 | Listed in advisory | Not stated | ALAS2FIREFOX-2026-058 |
| Amazon Linux | AL2 | firefoxsrc | Listed in advisory | Not stated | ALAS2FIREFOX-2026-058 |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8, 9, 10 | thunderbird | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 8 | rust-toolset:rhel8/rust | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rustRed Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2FIREFOX-2026-058 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1652 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1676 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | firefoxx86_64 | Listed in advisory | Not stated | ALAS2FIREFOX-2026-058 |
| Amazon Linux | AL2 | rustaarch64 | Listed in advisory | Not stated | ALAS2-2026-3296 |
| Amazon Linux | AL2 | rustnoarch | Listed in advisory | Not stated | ALAS2-2026-3296 |
| Amazon Linux | AL2 | rustsrc | Listed in advisory | Not stated | ALAS2-2026-3296 |
| Amazon Linux | AL2 | rustx86_64 | Listed in advisory | Not stated | ALAS2-2026-3296 |
| Amazon Linux | AL2 | thunderbirdaarch64 | Listed in advisory | Not stated | ALAS2-2026-3290 |
| Amazon Linux | AL2 | thunderbirdsrc | Listed in advisory | Not stated | ALAS2-2026-3290 |
| Amazon Linux | AL2 | thunderbirdx86_64 | Listed in advisory | Not stated | ALAS2-2026-3290 |
| Amazon Linux | AL2023 | firefoxaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1652 |
| Amazon Linux | AL2023 | firefoxsrc | Listed in advisory | Not stated | ALAS2023-2026-1652 |
| Amazon Linux | AL2023 | firefoxx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1652 |
| Amazon Linux | AL2023 | rustaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1676 |
| Amazon Linux | AL2023 | rustnoarch | Listed in advisory | Not stated | ALAS2023-2026-1676 |
| Amazon Linux | AL2023 | rustsrc | Listed in advisory | Not stated | ALAS2023-2026-1676 |
| Amazon Linux | AL2023 | rustx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1676 |
Description
Double-Free / Use-After-Free (UAF) in the `IntoIter::drop` and `ThinVec::clear` functions in the thin_vec crate. A panic in `ptr::drop_in_place` skips setting the length to zero.
A flaw was found in the `thin_vec` component of `mozilla/thin-vec`. This vulnerability involves a memory management error known as a Double-Free/Use-After-Free (UAF), which occurs in the `IntoIter::drop` and `ThinVec::clear` functions. When a specific error condition (a panic in `ptr::drop_in_place`) is triggered, the system fails to correctly manage memory, potentially allowing an attacker to execute malicious code or cause the application to crash, leading to a denial of service.
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
- 7.3 / 10
- Severity
- high
- Provider
- redhat-SADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.1 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Mozilla | thin-vec | 0.2.16 and later (unaffected · rpm)Default: unknown | mozilla · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
Weaknesses
3- CWE-1341 Multiple Releases of Same Resource or Handle
- CWE-415 CWE-415 Double Free
- CWE-416 CWE-416 Use After Free
References
4- https://access.redhat.com/security/cve/CVE-2026-6654
- RHBZ#2459689 https://bugzilla.redhat.com/show_bug.cgi?id=2459689
- https://github.com/mozilla/thin-vec/security/advisories/GHSA-xphw-cqx3-667j
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6654.json
Provider assertions
3mozilla · cna
Use-After-Free and Double-Free in IntoIter::drop when element drop panics
redhat-SADP · adp
thin-vec: mozilla/thin-vec: Memory corruption vulnerability via Double-Free/Use-After-Free
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 80c0e13e9560667afb7051b3593cd0499a9a368c4f41d466106e0ab2a328a755
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record