Android security tags, read closely by Lightrion

CVE-2026-0043 AI-generated analysis

platform/external/dng_sdk, libdng_sdk build configuration (DNG image parsing library; the commit's test is ImageDecoderTest#testInterestingDngs)

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 with Soong sanitizer integration disabled (sanitize.never), adds explicit -fsanitize=signed-integer-overflow,unsigned-integer-overflow plus -fno-sanitize-link-runtime, and links a new in-tree UBSan handler file (ubsan-replacement/ubsan_throwing_runtime.cpp). Its overflow handlers throw std::runtime_error instead of the ubsan-minimal hard abort.

Root cause

libdng_sdk-defaults (Android.bp lines 144-149 in context) enables sanitize.misc_undefined for unsigned-integer-overflow and signed-integer-overflow, and the libdng_sdk cc_library inherited it. Per the commit message and the Android.bp comment, the ubsan-minimal runtime was used, so an integer overflow detected in the library caused a hard abort rather than a recoverable error. This was the case even though the library is built with rtti: true and -fexceptions (context lines 141-142) and C++ exceptions are enabled. Seven bug IDs are attached to the commit. The specific arithmetic sites are not in the material.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings