# CVE-2026-58305: Samsung Escargot type confusion in array spread operations

Source: https://junglewise.ai/threats/cve-2026-58305-samsung-escargot-type-confusion-in-array-spread-operations  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-09. Updated: 2026-07-09  
License: CC BY 4.0 with a link back

CVE-2026-58305 · Severity: medium · CVSS 6.1 · Published 2026-07-09

Samsung Escargot is an open-source JavaScript engine used in various Samsung products like smart TVs and appliances. A flaw in how the engine handles data types could allow an attacker to manipulate memory pointers, potentially leading to application crashes or unauthorized system behavior. This could impact the reliability of the device or be used as part of a more complex attack chain.

Technologies: [Samsung Escargot](https://junglewise.ai/threats/technologies/escargot). Vendors: [Samsung](https://junglewise.ai/threats/vendors/samsung).

## Quick answers

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

**How severe is CVE-2026-58305?** Medium severity, with a CVSS score of 6.1, published 9 July 2026.

**Which products and versions are affected?** Samsung Escargot before 779f6bedf58f334dec64b0a51ebb724b4708b84a.

**Is there a fix for CVE-2026-58305?** A patch was published on 2026-05-27: Fix merged into master branch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-58305 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-58305?** Check whether you run Samsung Escargot 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.

## Technical details

A type confusion vulnerability exists in Samsung's Escargot JavaScript engine within the 'arrayDefineOwnPropertyBySpreadElementOperation' function. The issue arises from a failure to correctly validate object layouts when switching between 'Fast' and 'Slow' array modes during spread element operations. An attacker can exploit this by providing specially crafted JavaScript code that triggers an incompatible type access, leading to pointer manipulation and a segmentation fault (SEGV). The vulnerability was identified via an assertion failure in the ByteCodeInterpreter and is fixed in commit 779f6bedf58f334dec64b0a51ebb724b4708b84a.

## Affected products

- Samsung Escargot before 779f6bedf58f334dec64b0a51ebb724b4708b84a

## Timeline

- 2026-05-13: disclosed: Issue reported on GitHub repository
- 2026-05-27: patched: Fix merged into master branch
- 2026-07-09: advisory: CVE published to NVD

## References

- [https://github.com/Samsung/escargot/issues/1574](https://github.com/Samsung/escargot/issues/1574)
- [https://github.com/Samsung/escargot/pull/1580](https://github.com/Samsung/escargot/pull/1580)

## Related threats

- [Samsung Escargot use-after-free in string buffer access](https://junglewise.ai/threats/cve-2026-124684-use-after-free-vulnerability-in-samsung-open-source-escargot)
- [Samsung escargot out-of-bounds write in code cache](https://junglewise.ai/threats/cve-2026-118435-out-of-bounds-write-vulnerability-in-samsung-open-source)
- [Samsung Escargot integer overflow in bytecode cache](https://junglewise.ai/threats/cve-2026-92259-samsung-escargot-integer-overflow-in-bytecode-cache)
- [Samsung Escargot out-of-bounds write in class initialization](https://junglewise.ai/threats/cve-2026-86315-samsung-escargot-out-of-bounds-write-in-class-initialization)
- [Samsung Escargot out-of-bounds read and reachable assertion](https://junglewise.ai/threats/cve-2026-58307-samsung-escargot-out-of-bounds-read-and-reachable-assertion)
