DHI-s6bj-fj5v-tzrh-gyew
In affected versions of this crate, `let_cxx_string!` is not exception safe. After creating the `StackString`, if…
DHI-s6bj-fj5v-tzrh-gyew is a vulnerability with no CVSS score yet in cxx, published July 5, 2026. No source lists public exploit code. Fixed in cxx 1.0.195.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
1.0.195cxx +1 more
Description
In affected versions of this crate, let_cxx_string! is not exception safe. After creating the StackString, if match $value panics, the content of StackString is not yet initialized, while the drop implementation of StackString unconditionally deinitializes the content, leading to use of uninitialized value.
The soundness issue was fixed in version 1.0.195 by moving drop logics to separate drop guard after initializing the StackString.
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rustDocker Hardened Images:Alpine:3.23 | Listed versions 1.91.1-r01.91.1-r21.91.1-r31.91.1-r41.93.1-r0 Show 13 moreShow less1.93.1-r11.94.0-r01.94.0-r11.94.1-r01.94.1-r11.95.0-r01.96.0-r01.96.1-r01.97.0-r01.97.0-r11.98.1-r01.99.0-r21.99.1-r0 | None known |
cxxcrates.io | 0.0.0-0 up to 1.0.195 | 1.0.195 |
What each source reports
OSVNo score
In affected versions of this crate, `let_cxx_string!` is not exception safe. After creating the `StackString`, if…
In affected versions of this crate, let_cxx_string! is not exception safe. After creating the StackString, if match $value panics, the content of StackString is not yet initialized, while the drop implementation of StackString unconditionally deinitializes the content, leading to use of uninitialized value.
The soundness issue was fixed in version 1.0.195 by moving drop logics to separate drop guard after initializing the StackString.
- Record
DHI-s6bj-fj5v-tzrh-gyew- Updated
- 2026-11-16
OSVRUSTSEC-2026-0202No score
`let_cxx_string!` uses uninitialized value due to exception safety violations
In affected versions of this crate, let_cxx_string! is not exception safe. After creating the StackString, if match $value panics, the content of StackString is not yet initialized, while the drop implementation of StackString unconditionally deinitializes the content, leading to use of uninitialized value.
The soundness issue was fixed in version 1.0.195 by moving drop logics to separate drop guard after initializing the StackString.
- Record
RUSTSEC-2026-0202- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, facts, id, references, title | OSV | |
| first indexed | OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.