Android security tags, read closely by Lightrion

CVE-2026-0067 AI-generated analysis

platform/external/dng_sdk, libdng_sdk build (Android.bp) and UBSan runtime replacement

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

In external/dng_sdk, libdng_sdk stops using the Soong-managed ubsan_minimal runtime and instead enables the signed/unsigned integer-overflow sanitizers via cflags with -fno-sanitize-link-runtime, plus a bundled ubsan_throwing_runtime.cpp whose __ubsan_handle_*_overflow handlers throw std::runtime_error, so detected overflows become C++ exceptions rather than a hard abort.

Root cause

libdng_sdk-defaults enables sanitize.misc_undefined ["unsigned-integer-overflow", "signed-integer-overflow"] (Android.bp lines 144-149), and the libdng_sdk module used the ubsan_minimal runtime, which the commit message describes as a hard abort. The library is built with -fexceptions and rtti: true (lines 141-142), and the commit notes that C++ exceptions are enabled, but a detected overflow aborted the process instead. The commit lists seven bug IDs. The fix does not change any arithmetic site; it changes what happens when an overflow check fires.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings