Android security tags, read closely by Lightrion

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

Rebuilds libdng_sdk so that UBSan integer-overflow detections throw a C++ std::runtime_error from a handler runtime inside the project, instead of aborting the process through the default ubsan-minimal runtime.

Root cause

The module just before libdng_sdk in Android.bp (lines 138-163, labelled cc_library in the context; presumably libdng_sdk-defaults, which libdng_sdk uses as defaults) enables sanitize.misc_undefined for unsigned-integer-overflow and signed-integer-overflow (lines 144-149). According to the commit message and the fix comment, that configuration links the ubsan-minimal runtime, which does a hard abort on a detected overflow. The commit message says C++ exceptions are enabled in this library (rtti: true and cppflags -fexceptions at lines 141-142), but the abort leaves no chance for exception-based error handling. Integer overflow in dng_sdk's instrumented arithmetic therefore terminates the hosting process. The commit lists seven bug IDs, which fits several distinct overflow sites that all share this abort behavior. Those sites are not changed or shown.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings