Skip to main content

SOIL2 EUVDEUVD-2026-128392

| CVE-2026-131872 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-18 VulnCheck GHSA-4gw9-pqc2-jhpg
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted DDS/PVR/PKM file
  2. Exploit
    Application calls loader with NULL output pointer
  3. Execution
    Loader writes dimensions through NULL
  4. Impact
    NULL dereference crashes process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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 consuming application to call SOIL_load_image or stbi_info with NULL output pointers (x/y/comp) while processing an attacker-supplied DDS, PVR, or PKM image - this specific caller usage is the concrete prerequisite, not the mere act of loading an image. Limiting factors: the attack vector is local (AV:L) and requires passive user interaction (UI:P), in that a victim application must be made to load the malicious file; impact is confined to availability (process crash) with no confidentiality or integrity effect. Applications in affected versions that pass valid, non-NULL output pointers are not vulnerable, which substantially narrows the exposed population.

Impact

This is a low-to-moderate real-world risk that should not be treated as an urgent, broadly exploitable threat. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) limits impact strictly to availability - a crash - with no confidentiality or integrity consequence, and requires a local attack vector plus passive user interaction (a victim application must process an attacker-supplied file). The input provides no EPSS score and no CISA KEV listing, and no public exploit or PoC reference is present beyond vendor/third-party advisories (VulnCheck, VulDB) that describe rather than weaponize the flaw, so there is no public exploit identified at time of analysis. The vuln.today decision label is this_month, consistent with a patch-this-cycle issue rather than act_now/emergency. The most important limiting signal is in the description itself: the crash only occurs when the consuming application passes NULL output pointers to SOIL_load_image or stbi_info, so exploitability depends entirely on how the host application calls the library - many integrations pass valid pointers and are unaffected. Net: a genuine DoS bug worth patching in SOIL2-based software, but not a high-priority, mass-exploitable issue.

Exploit ScenarioDerived

An attacker supplies a syntactically valid DDS, PVR, or PKM image file to an application built on SOIL2 that calls SOIL_load_image or stbi_info with NULL output pointers for x/y/comp. The affected loader writes its results through the unchecked NULL pointer, dereferencing NULL and crashing the process. No public exploit code is identified; the outcome is limited to a denial of service (application crash), with no code execution or data disclosure.

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

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

Alert me

AnalysisAIv1 – Nov 18, 2026

A NULL pointer dereference in SOIL2's DDS, PVR and PKM image loaders can crash any application built against releases before 1.4.2, but only when that application calls SOIL_load_image or stbi_info with NULL output pointers for width, height or channel count. The flaw is local-vector, requires passive user interaction (a victim must open or be served a crafted DDS, PVR or PKM file), and affects availability only - no confidentiality or integrity impact - so this is a low-to-moderate risk that should not be treated as an urgent, broadly exploitable threat. No public exploit code or confirmed active exploitation was identified at time of analysis; applications that pass valid, non-NULL output pointers are not exposed.

RemediationAI

Vendor-released patch: upgrade to SOIL2 1.4.2, which contains commit 6bee70c06ba121d8f618c80852f5453f60c9a8c3 adding NULL guards (a dummy output variable) in stbi_DDS_c.h, stbi_pvr_c.h and stbi_pkm_c.h; download from https://github.com/SpartanJ/SOIL2/releases/tag/1.4.2 and review the commit diff at https://github.com/SpartanJ/SOIL2/commit/6bee70c06ba121d8f618c80852f5453f60c9a8c3, with additional detail in the VulnCheck advisory and https://vuldb.com/vuln/439179. If the library cannot be rebuilt immediately, the practical mitigation is source-level: audit every call site of SOIL_load_image and stbi_info and ensure non-NULL int pointers are always supplied for width, height and channel count (pass a throwaway local instead of NULL), which removes the crash condition entirely at the cost of a code change and recompilation. Because the fix is a few lines, backporting the dummy-variable guards into a vendored copy is a low-risk alternative to a full version bump, but it leaves the fork diverged and must be tracked against future upstream releases. Applications that already pass valid output pointers need no change, and no network-level control meaningfully applies given the local attack vector.

Affected VersionsENISA

SOIL2 0 <1.4.2

Affected Packages

euvd soil2 fix: 1.4.2

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

SOIL2 (Simple OpenGL Image Library 2), maintained by Martin Lucas Golini / SpartanJ, is a C image-loading library derived from stb_image and used mainly to feed textures into OpenGL. Its format-specific back-ends (stbi_DDS_c.h, stbi_pvr_c.h, stbi_pkm_c.h) expose info and load entry points - stbi__dds_info, stbi__pvr_info, stbi__pkm_info and the corresponding stbi__*_load functions - that return image metadata through caller-supplied int pointers for width (x), height (y) and channel count (comp). The root cause is CWE-476: these routines dereference the supplied pointers unconditionally when writing results, without checking for NULL, so a caller that legitimately passes NULL for a value it does not need will fault once a valid DDS, PVR or PKM header has been parsed. The upstream fix (commit 6bee70c06ba121d8f618c80852f5453f60c9a8c3) substitutes a local dummy variable whenever x, y or comp is NULL, meaning the trigger is the caller's argument usage rather than any property of the image payload beyond being a well-formed file of one of those three formats.

Know when Soil2 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 (VulnCheck) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

The file is processed locally by the application (AV:L) with passive victim interaction (UI:R); no privileges are needed and impact is a crash only, so C:N/I:N/A:H.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

SOIL2 before 1.4.2 contains a NULL pointer dereference vulnerability in its DDS, PVR and PKM image loaders that write results through unchecked caller-supplied output pointers. Attackers can supply a valid DDS, PVR or PKM file to applications passing NULL output pointers to SOIL_load_image or stbi_info, causing a crash.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche C/C++ OpenGL image-loading library, mostly hobby and game-dev use
Data Quality
6 sources
Confidence: High

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.2%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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