Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

LibreOffice/core
master @ 639d650
2
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Cryptographic Weakness: 1 prior fix. Scrutinize any change in this area.
oox/source/crypto/AgileEngine.cxx: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Use-After-Free: A content frame can be destroyed during object formatting, leaving a dangling pointer that is later dereferenced via pContent->IsTextFrame(), leading to memory corruption. The fix added a listener to detect frame destruction, indicating a missing lifetime-management guard.
Cryptographic Weakness: Nonce and salt generation used a weak random source (uniform_uint_distribution), making encryption parameters predictable and potentially weakening the Agile encryption scheme. The fix replaced it with a cryptographically secure generator.