[AutoPR- Security] Patch keras for CVE-2026-0897 [HIGH]#15517
Conversation
|
AI backport seems correct. In keras v3.3.3, the file Verified the AI backported patch with PoC (PoC is created locally to check functionality and not available in upstream). PFA. patch with extra print inside 1st PoC: run -> Without Patch: Although the script fails due to the extremely large dataset size, the resulting error does not originate from Keras and occurs only after an unbounded allocation attempt. 2nd PoC with dataset size of 4.2GiB: run -> Without Patch: No error message is raised by keras instead, the OS kernel terminates the process due to memory exhaustion. I feel this behavior may vary from system to system. |
|
/azurepipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Co-authored-by: jslobodzian <joslobo@microsoft.com> (cherry picked from commit de7079d)
|
Auto cherry-pick results:
Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1034171&view=results |




Auto Patch keras for CVE-2026-0897.
Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1027993&view=results
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
What does the PR accomplish, why was it needed?
Change Log
Does this affect the toolchain?
YES/NO
Associated issues
Links to CVEs
Test Methodology