An integer overflow exists in the Onigmo regular expression engine used by GitLab when processing Org mode files with the `.org` extension. This issue occurs when the `org-ruby` library processes user-defined keywords such as `#+TODO:`, `#+SEQ TODO:`, or `#+TYP TODO:` containing a regular expression with more than 32,767 repeats. An unauthenticated remote attacker can exploit this by uploading a specially crafted file to a public project; the vulnerability is triggered when the file's preview page is opened. This can lead to memory corruption and arbitrary code execution on the server, potentially granting access to source code, access tokens, and credentials. Over 10,000 vulnerable instances are estimated to be exposed to the internet.