MEDIUM 6.1

CVE-2026-58307: Escargot Out-of-Bounds Read & Assertion Failure

CVE-2026-58307 is a memory safety flaw in Samsung's Escargot JavaScript engine that allows an attacker to read past the end of a buffer and trigger an assertion failure. By crafting malicious input and requiring user interaction (such as opening a file or visiting a page), an attacker can cause the application to crash or potentially disclose sensitive data. The vulnerability is rated medium severity because it requires local access and user engagement, but the availability impact is substantial.

Source data · NVD / CISA · public domain

CVSS
3.1 · 6.1 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Weaknesses (CWE)
CWE-125, CWE-617
Affected products
0 configuration(s)
Published / Modified
2026-07-09 / 2026-07-09

NVD description (verbatim)

Out-of-bounds read, Reachable assertion vulnerability in Samsung Open Source Escargot allows Overread Buffers, Input Data Manipulation. This issue affects Escargot: before 2dee22f5c7b8bf31cb7252d7731fae8c07f2842c.

3 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

This vulnerability combines an out-of-bounds read (CWE-125) with a reachable assertion (CWE-617) in Escargot, Samsung's open-source JavaScript engine. The flaw allows an attacker to craft input that exceeds buffer boundaries during processing, leading to memory disclosure and/or assertion violations. The vector indicates local attack surface with no privilege escalation needed, but user interaction is required to trigger the vulnerability. The issue was patched in commit 2dee22f5c7b8bf31cb7252d7731fae8c07f2842c.

Business impact

Organizations embedding Escargot in applications face denial-of-service risk through user-triggered crashes. Confidentiality impact is limited, but integrity is at risk if the out-of-bounds read exposes sensitive values that influence subsequent program behavior. The requirement for user interaction lowers the attack surface for mass exploitation, but targeted campaigns exploiting this flaw against specific users or customers remain feasible.

Affected systems

Samsung Escargot JavaScript engine versions before commit 2dee22f5c7b8bf31cb7252d7731fae8c07f2842c are vulnerable. Vendors, OEMs, and developers who integrate Escargot into products (including embedded systems, browsers, or runtime environments) should audit their dependency versions and update accordingly. The vulnerability is not currently tracked in any public KEV or active exploitation databases.

Exploitability

Exploitation requires local file system access or ability to deliver malicious input to an Escargot-based application, combined with user interaction. There is no network vector; however, if the affected application processes remote content (e.g., JavaScript files fetched from the internet), the attack could be semi-remote. The assertion failure provides a clear crash signal to attackers, making this vulnerability straightforward to trigger once the malicious input is crafted.

Remediation

Patch Escargot to the fixed commit or any release incorporating 2dee22f5c7b8bf31cb7252d7731fae8c07f2842c. Review dependencies in your software supply chain and prioritize updates for any products embedding this engine. If patching is delayed, isolate or disable Escargot-dependent features handling untrusted input.

Patch guidance

Update to a version of Escargot that includes commit 2dee22f5c7b8bf31cb7252d7731fae8c07f2842c or later. Verify with Samsung's advisory and your vendor's release notes to confirm the fix is included. If you maintain a fork or downstream build, cherry-pick or merge this commit and rebuild affected applications.

Detection guidance

Monitor for Escargot process crashes or assertion failures in logs, particularly when correlated with unusual input patterns or file access. If you have debugging symbols, inspect core dumps for failures originating in Escargot's buffer handling routines. Network-based detection is limited; focus on endpoint telemetry capturing application crashes and their triggering events.

Why prioritize this

Although this is a medium-severity vulnerability, organizations should prioritize it if they rely on Escargot in user-facing or automated processing pipelines. The crash availability impact and the relative ease of triggering the flaw justify prompt remediation. However, lack of remote network attack vector and KEV designation lower urgency compared to high-impact remote vulnerabilities.

Risk score, explained

The CVSS 3.1 score of 6.1 reflects the combination of low attack complexity, local-only vector, required user interaction, no privilege escalation, and mixed impact (integrity degraded, availability high, confidentiality none). The score appropriately penalizes availability while acknowledging the constraint that exploitation requires user engagement and local access.

Frequently asked questions

Can this vulnerability be exploited over the network?

No. The CVSS vector specifies AV:L (local attack vector only). However, if an application using Escargot fetches and processes remote JavaScript or input, a network attacker could deliver the malicious payload indirectly. Always assume defense-in-depth: even local-vector vulnerabilities in widely-used libraries warrant urgent attention.

What is the difference between an out-of-bounds read and an out-of-bounds write, and why does this matter for security?

An out-of-bounds read allows an attacker to leak data beyond the intended buffer, potentially exposing secrets or addresses; a write allows corruption and code execution. This vulnerability is a read, so direct code execution is unlikely. However, disclosed data can enable further attacks or violate confidentiality commitments.

Do I need to patch immediately if I use Escargot?

If Escargot processes untrusted input in a production system, patch or isolate it promptly. If it is used only for trusted scripts in a restricted environment, you can schedule the update within your normal cycle. Review your threat model and data sensitivity.

Is there public exploit code available?

As of the CVE publication date, this vulnerability is not tracked in CISA's KEV catalog and no public exploits are documented. That does not guarantee exploit code does not exist; assume it could be developed by motivated attackers.

This analysis is based on publicly available vulnerability data and the vendor description as of the publication date. CVSS scores and CWE classifications are provided by the source and should be verified against official vendor advisories before making remediation decisions. SEC.co makes no warranty regarding completeness, accuracy, or applicability to your specific environment. Always consult your security team and vendor documentation before deploying patches or changing configurations. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).