Skip to main content

slangpy CVE-2026-133621

| EUVDEUVD-2026-131597 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-20 VulDB GHSA-r9fm-r83p-3hcv
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious EXR image
  2. Delivery
    Deliver file to target user
  3. Exploit
    User loads image via slangpy loader
  4. Execution
    OOB read in DecodePixelData
  5. Impact
    Leak adjacent memory or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to invoke slangpy's bundled tinyexr EXR image loader (the DecodePixelData path in external/include/tinyexr.h) on an attacker-controlled .exr file, and per the CVSS vector UI:P the victim must open or process that file - it is not triggered without loading untrusted EXR input. The flaw is reachable in slangpy versions up to 0.43.1 against default handling (no special configuration flag is named in the sources). Limiting factors: a user/application action is required to decode the malicious file, there is no authentication bypass or write primitive, and the impact is confined to an out-of-bounds read (memory disclosure or crash); applications that never process untrusted EXR images are not exposed.

Impact

This is a medium-severity (CVSS 5.3) out-of-bounds read (CWE-125) and the signals consistently point to a non-urgent, routine-patch priority rather than an emergency. The supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:P - network-reachable and unauthenticated, but exploitation requires passive user interaction (UI:P), i.e. the victim must load/process an attacker-supplied EXR image, which materially limits mass exploitation. Impact is bounded: a read primitive yielding limited information disclosure and possible crash, not code execution. The vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, no EPSS score was supplied, and no confirmed working exploit is present - so there is no evidence of active or widespread exploitation. One conflict worth flagging: the VulDB-sourced vector assigns VI:L (low integrity impact), but an out-of-bounds READ does not plausibly provide an integrity/write primitive; this metric appears overstated and the real impact is confidentiality (memory disclosure) plus availability (crash). Net: a real but routine issue - patch in the normal monthly cycle; it is not a high-urgency, internet-wormable threat.

Exploit ScenarioDerived

An attacker crafts a malicious EXR image whose pixel-data size and width fields are inconsistent, then delivers it to an application that uses slangpy's bundled tinyexr EXR loader. When a user opens or processes the file, tinyexr::DecodePixelData computes a read offset without validating it against the available data length, reading out of bounds and leaking adjacent heap memory or crashing. No public exploit identified at time of analysis; the PR #1239 diff reveals the exact missing bounds checks.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

An out-of-bounds read in the tinyexr EXR image loader bundled with shader-slang slangpy (external/include/tinyexr.h, function tinyexr::DecodePixelData) allows an attacker who supplies a crafted .exr file to make the process read past the end of a decoded pixel buffer, causing memory disclosure or a crash. All slangpy versions up to and including 0.43.1 are affected, and the CVSS vector (PR:N) means the file can come from an unauthenticated remote source; however UI:P means the victim application must actually open or process the malicious image, so exposure is limited to code paths that decode untrusted EXR input. No public exploit identified at time of analysis, and an upstream fix exists as PR #1239 with no independently confirmed tagged release.

RemediationAI

The vendor fix is the change in https://github.com/shader-slang/slangpy/pull/1239, which hardens DecodePixelData in external/include/tinyexr.h; because that reference is a pull request rather than a tagged release, no patched version number is independently confirmed, so upgrade slangpy to a release that contains PR #1239 or backport the bounds and overflow checks to your vendored copy of tinyexr.h. Where the update cannot be applied immediately, remove or intercept EXR decoding from untrusted sources - only decode .exr files from trusted origins, or gate and size-limit image loading in the application that calls slangpy - accepting that this reduces functionality for legitimate user-supplied EXR input. Note that the flaw is an out-of-bounds read, so a successful hit is expected to manifest as a crash or possible memory disclosure rather than code execution, and there is no confirmed in-the-wild exploitation to justify emergency measures; this tracks as a routine patch-cycle item.

Affected VersionsENISA

slangpy 0.43.1
slangpy 0.43.0

Affected Packages

euvd slangpy no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

slangpy vendors tinyexr, a single-header C++ OpenEXR-format reader, and the vulnerable path is the scanline decoder DecodePixelData. CWE-125 applies because the code computed the source pointer for a scanline as data_ptr + v * pixel_data_size * size_t(width) + channel_offset_list[c] * size_t(width) and immediately re-read it as const unsigned short* without validating that the computed offset plus the row's byte length stayed inside data_len. A negative or oversized width, an inconsistent channel offset list, or a large pixel_data_size in the crafted file can therefore drive the offset past the supplied buffer, and the multiplication itself is not overflow-checked. The upstream fix adds a width < 0 rejection, checks row_width against data_len / sizeof(unsigned short), derives a maximum safe offset in row-width units (max_offset_units) to detect arithmetic overflow before use, and replaces the raw expression with a precomputed line_byte_offset. Data coming from the EXR file is untrusted by definition, so the defect is a missing size/bounds validation rather than a configuration error; the trigger is a crafted image reaching the loader, and no special configuration flag is named in the available sources.

Know when Slangpy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Crafted EXR file delivered remotely but requires the user to load it (UI:R); an out-of-bounds read yields limited memory disclosure (C:L) and possible crash (A:L), with no write/integrity impact (I:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A flaw has been found in shader-slang slangpy up to 0.43.1. This vulnerability affects the function tinyexr::DecodePixelData in the library external/include/tinyexr.h of the component EXR Image Loader. Executing a manipulation can lead to out-of-bounds read. The attack may be performed from remote.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
niche GPU/shader Python tooling from shader-slang, limited production footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy