)]}'
{
  "commit": "119d66ea37241def63e715658ac02c414bd3d0e5",
  "tree": "7049c9fdc9e02bceb40899b3307173ba44f09cec",
  "parents": [
    "5ac0c3a071d811846a62412383dd6e259f341e6e"
  ],
  "author": {
    "name": "Duy Truong",
    "email": "duytruong@google.com",
    "time": "Sun Jun 07 09:01:48 2026 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Aug 20 15:57:36 2026 -0700"
  },
  "message": "Fix silent failure in RSA verification on memory allocation error\n\nIn libavb\u0027s RSA verification, the `modpowF4` function previously failed silently upon memory allocation errors. This left the input/output buffer unmodified, allowing an attacker to potentially bypass the signature check by crafting a signature block that perfectly matched the expected padding and hash, and triggering heap exhaustion during verification.\n\nThis commit updates `modpowF4` to return a boolean indicating success or failure. If memory allocation fails, the function now returns `false`. The caller, `avb_rsa_verify`, has been updated to check this return value, logging an error and failing the verification process if `modpowF4` is unsuccessful.\n\nTest: m libavb_host_unittest \u0026\u0026 atest libavb_host_unittest \u0026\u0026 alint\n\nBug: 461507723\nFlag: EXEMPT BUGFIX\nThis was autogenerated by MendIt (go/androidmendit)\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:5262c8ef81ae5d4606da24d004bd3170308f9dcf\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:09ae0f478a10d492a91f9355b47e57460d36bf88\nMerged-In: I4516eace7a4235ce10b03e0181a9466583438566\nChange-Id: I4516eace7a4235ce10b03e0181a9466583438566\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f4cb322b9ea16f0fed9ebd210567119b32f45c6b",
      "old_mode": 33188,
      "old_path": "libavb/avb_rsa.c",
      "new_id": "1bdc57ec7e2fdc4fbf6ad2130fac94808eecb701",
      "new_mode": 33188,
      "new_path": "libavb/avb_rsa.c"
    }
  ]
}
