Android security tags, read closely by Lightrion

CVE-2026-0051 AI-generated analysis

platform/external/dng_sdk, libdng_sdk build configuration (Android.bp) and new ubsan-replacement runtime

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (4 corrections). Verify against the commit before relying on it.

Rebuilds libdng_sdk so that the integer-overflow UBSan checks call a library-private runtime that throws std::runtime_error instead of the ubsan-minimal runtime that aborts the process, turning overflow detections on malformed DNG input into recoverable C++ exceptions.

Root cause

libdng_sdk-defaults (Android.bp) enables sanitize.misc_undefined for "unsigned-integer-overflow" and "signed-integer-overflow". With Soong's default handling this links the ubsan-minimal runtime, whose handlers abort the process when an overflow is detected (the commit message calls this a hard abort). A DNG file that makes any instrumented add/sub/mul/negate/div operation in the DNG SDK overflow therefore kills the process decoding the image, even though the library is built with rtti and -fexceptions and could otherwise recover via exceptions. The arithmetic itself is not changed by this fix; the material does not identify the specific overflowing sites (seven bug IDs are listed).

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings