Android security tags, read closely by Lightrion

CVE-2026-0042 AI-generated analysis

platform/external/dng_sdk: the libdng_sdk build (Android.bp) and a new ubsan-replacement runtime. The test points to the ImageDecoder DNG path as the consumer.

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 (5 corrections). Verify against the commit before relying on it.

Rebuilds libdng_sdk (platform/external/dng_sdk) so that UBSan integer-overflow detections throw a C++ std::runtime_error instead of going to the ubsan minimal runtime, which does a hard abort.

Root cause

libdng_sdk-defaults (Android.bp lines 144-149) enables sanitize.misc_undefined for unsigned-integer-overflow and signed-integer-overflow. With the stock Soong configuration, this uses the ubsan minimal runtime, whose handlers abort on any detected overflow (general platform knowledge). libdng_sdk is built with rtti and -fexceptions (lines 141-142). So an input that triggered an arithmetic overflow anywhere in the instrumented library aborted the process. The commit message names the abort as the problem: 'C++ exceptions are enabled in this library and are a much, much better solution for ubsan errors than a hard abort is.'

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings