Android security tags, read closely by Lightrion

CVE-2026-0041 AI-generated analysis

platform/external/dng_sdk, libdng_sdk (Android.bp build config 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 (6 corrections). Verify against the commit before relying on it.

Rebuilds libdng_sdk without the ubsan-minimal runtime and links a project-local replacement (ubsan-replacement/ubsan_throwing_runtime.cpp) whose integer-overflow handlers throw std::runtime_error, so a UBSan-detected signed/unsigned integer overflow in libdng_sdk becomes a C++ exception instead of a hard abort.

Root cause

In Android.bp, libdng_sdk-defaults enables sanitize.misc_undefined for unsigned-integer-overflow and signed-integer-overflow. libdng_sdk inherited these defaults together with the ubsan_minimal runtime. With that runtime, an integer overflow detected at runtime inside libdng_sdk causes a hard abort of the hosting process. The commit references seven bug IDs (470966846, 467994860, 467994310, 461790658, 456471487, 453649377, 449728942). The specific arithmetic sites are not in the diff; the fix handles all of them at the runtime level.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings