Security Vulnerability Report
中文
CVE-2026-43909 CVSS 8.8 HIGH

CVE-2026-43909

Published: 2026-05-14 20:17:07
Last Modified: 2026-05-14 21:21:11

Description

OpenImageIO is a toolset for reading, writing, and manipulating image files of any image file format relevant to VFX / animation. Prior to 3.0.18.0 and 3.1.13.0, a signed 32-bit integer overflow in the loop index expression i * 4 inside SwapRGBABytes() causes the function to compute a large negative pointer offset when processing kABGR DPX images with large dimensions. The immediate crash is an out-of-bounds read (the memcpy at line 45 reads from &input[i * 4] first), but the subsequent write operations at lines 46–49 target the same wrapped offset — making this a combined OOB read+write primitive. This vulnerability is fixed in 3.0.18.0 and 3.1.13.0.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

OpenImageIO < 3.0.18.0
OpenImageIO < 3.1.13.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <iostream> #include <cstdint> // Reproduction of the integer overflow logic in SwapRGBABytes void simulate_vulnerability(int32_t width, int32_t height) { // Calculate total pixels int64_t total_pixels = (int64_t)width * height; std::cout << "Processing image dimensions: " << width << "x" << height << std::endl; for (int32_t i = 0; i < total_pixels; i++) { // VULNERABILITY: Signed 32-bit integer overflow in i * 4 // If i is large enough (> 536,870,911), i * 4 wraps to a negative number int32_t offset = i * 4; if (offset < 0) { std::cout << "[!] Integer Overflow detected at index i=" << i << std::endl; std::cout << "[!] Calculated offset: " << offset << " (Negative)" << std::endl; std::cout << "[!] This would cause an Out-of-Bounds Read/Write." << std::endl; return; } } std::cout << "[+] No overflow detected with these dimensions." << std::endl; } int main() { // Set dimensions large enough to trigger i * 4 > INT_MAX // INT_MAX is 2,147,483,647. We need i > 536,870,911. int32_t width = 600000000; int32_t height = 1; simulate_vulnerability(width, height); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-43909", "sourceIdentifier": "[email protected]", "published": "2026-05-14T20:17:07.063", "lastModified": "2026-05-14T21:21:10.620", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenImageIO is a toolset for reading, writing, and manipulating image files of any image file format relevant to VFX / animation. Prior to 3.0.18.0 and 3.1.13.0, a signed 32-bit integer overflow in the loop index expression i * 4 inside SwapRGBABytes() causes the function to compute a large negative pointer offset when processing kABGR DPX images with large dimensions. The immediate crash is an out-of-bounds read (the memcpy at line 45 reads from &input[i * 4] first), but the subsequent write operations at lines 46–49 target the same wrapped offset — making this a combined OOB read+write primitive. This vulnerability is fixed in 3.0.18.0 and 3.1.13.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-125"}, {"lang": "en", "value": "CWE-190"}, {"lang": "en", "value": "CWE-787"}]}], "references": [{"url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-g267-j53j-5258", "source": "[email protected]"}, {"url": "https://github.com/AcademySoftwareFoundation/OpenImageIO/security/advisories/GHSA-g267-j53j-5258", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}