
Root-cause analysis, patch diff, and Android lab with PoC DNG files reproducing the CVE-2026-27280 out-of-bounds write in Adobe DNG SDK rendering.
A deep-dive security research, root-cause analysis, and practical Android test laboratory for CVE-2026-27280 — a critical Coordinate Space Mismatch vulnerability leading to an Out-of-Bounds (OOB) Write in the Adobe DNG Software Development Kit (SDK).
| Attribute | Details |
|---|---|
| CVE ID | CVE-2026-27280 |
| CWE ID | CWE-787: Out-of-bounds Write |
| Affected Component | Adobe DNG SDK (C++), function dng_render_task::ProcessArea() in dng_render.cpp |
| Vulnerable Version | Adobe DNG SDK $\le$ 1.7.1 build 2471 (AOSP revision 1a6d7ea147...) |
| Patched Version | Adobe DNG SDK 1.7.1 build 2502 (AOSP revision 52ff589c0c...) |
| Published by Adobe | 10/03/2026 — Adobe Security Bulletin APSB26-30 |
| CVSS v3.1 Score | 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) |
| Android Security Bulletin | September 2026: EoP Critical, Bug ID: A-491543354 (Affects Android 14, 15, 16, 16-QPR2) |
| Discovering Researchers | Brendon Tiszka and Mateusz Jurczyk — Google Project Zero |
Adobe DNG (Digital Negative) is an open RAW image container format based on the TIFF/IFD structure. In the Android operating system, libdng_sdk.so is built into the system layer (/system/lib64/) to decode DNG files for camera applications, galleries, and system media processing services.
Stage3Image.fRowStep = width * channels.mask, 32-bit float from 0.0 to 1.0). Each pixel is color-interpolated according to its corresponding weight.DefaultCropOrigin, DefaultCropSize): Allows defining a valid cropped image region relative to the sensor's active area (ActiveArea).When decoding and rendering an image tile via dng_render::Render(), execution flows to the dng_render_task::ProcessArea() task:
srcBuffer (contains the source image data) and dstBuffer (contains the render result).Masked RGB Tables metadata, the function prepares the corresponding masks for the entire tile before performing color conversion.tempMaskBuffer to store temporary mask data for the tile.The dng_pixel_buffer::DirtyPixel() function has the following formula for computing the memory pointer to write:
$$\text{Ptr} = \text{fData} + (\text{row} - \text{fArea.t}) \times \text{fRowStep} + (\text{col} - \text{fArea.l}) \times \text{fColStep} + \text{plane} \times \text{fPlaneStep}$$
Where:
fData: The starting pointer of the allocated memory region.fArea: The bounding rectangle of the buffer (fArea.t = top, fArea.l = left). In tempMaskBuffer, fArea is set according to srcArea.row, col: The pixel coordinates the caller wants to access.🔴 THE VULNERABILITY OCCURS HERE (Coordinate Space Mismatch): In the Masked RGB Tables preprocessing branch of build 2471, the source code passed the coordinates of
dstAreainto theDirtyPixel()function instead ofsrcArea:// Vulnerable source code (SDK <= 2471): uint32 *dPtr = tempMaskBuffer.DirtyPixel(dstArea.t, dstArea.l, dstMaskPlane);
srcArea matches dstArea)srcArea = (0, 0, 259, 256)dstArea = (0, 0, 259, 256)DirtyPixel(0, 0, 0):
$$\text{offset} = (0 - 0) \times 256 + (0 - 0) \times 1 = 0 \implies \text{Ptr} = \text{fData}$$DefaultCropOrigin = (8, 8))srcArea): starts at $(8, 8)$ to $(259, 256)$ $\implies$ size $251 \times 248$.dstArea): starts at $(0, 0)$ to $(251, 248)$.tempMaskBuffer buffer is initialized with fArea = srcArea $\implies \text{fArea.t} = 8, \text{fArea.l} = 8$.fRowStep = 248, fColStep = 1.DirtyPixel(dstArea.t, dstArea.l, 0) with dstArea.t = 0, dstArea.l = 0:
$$\text{offset} = (0 - 8) \times 248 + (0 - 8) \times 1 = -8 \times 248 - 8 = -1984 - 8 = -1992 \text{ elements}$$float (4 bytes) or uint32:
$$\Delta_{\text{bytes}} = -1992 \times 4 = \mathbf{-7.968 \text{ bytes}}$$ Vùng nhớ cấp phát cho tempMaskBuffer
[ fData ]
|
<----------------------------------+------------------------->
VÙNG NHỚ TRƯỚC BUFFER | VÙNG NHỚ BUFFER HỢP LỆ
[ GHI ĐÈ BỘ ĐỆM - OOB WRITE ] |
^ |
| |
dPtr = fData - 7,968 bytes +------------------------->