Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/lesterlam/onigmo-cve-2026-110264
Static AnalysisMemory ForensicsVulnerability AnalysisExploitationWeb Application ExploitationFuzzingBinary AnalysisPapers & ResearchLearning & EducationLabs & Practice
GitHub
1 month agoNot yet reviewed
lesterlam/onigmo-cve-2026-110264

onigmo-cve-2026-110264

Reproduction lab for CVE-2026-110264 - the 16-bit ID overflow in Onigmo, the regexp engine Ruby bundles (GitLab CE/EE, CVSS 10.0). Standalone engine build + A/B against the vendor fix. Trigger condition only; no weaponised exploit.

View RepositoryWebsite
Share

CVE-2026-110264 — reproduction lab

license: MIT

GitLab CE/EE, CVSS 10.0, unauthenticated RCE — root cause in Ruby's bundled regexp engine (Onigmo).

A standalone, unprivileged lab that reproduces the engine bug behind GitLab's CVE-2026-110264, with an A/B against the vendor's own fix. No GitLab install, no Ruby install, no container runtime, no root: the engine is compiled from source and driven by a 70-line C harness.

./run.sh          # clones, builds 4 configurations, prints a verdict per step
cat RESULTS.txt   # frozen output of a full run

Measured, not quoted: every number in RESULTS.txt comes from executing the code in this directory.

▶ Live visualiser — https://lesterlam.github.io/onigmo-cve-2026-110264/

A single self-contained page charting the measured level 1–3 results: the ID sawtooth and its wrap point, the write-window map, the read oracle, the two negative results, and the exploitation ladder with demonstrated / not-demonstrated tags.

It is an illustration of measurements taken from this repo's logs — not a live vulnerable service (a browser cannot run the vulnerable engine, and the page says so on its face).


Scope — what this lab does and does not show

✅ DemonstratesThe 16-bit internal-ID overflow in the regexp compiler, in the exact engine Ruby ships
✅ DemonstratesThe index arithmetic: id = -32768 → access 262144 bytes before the base pointer
✅ DemonstratesReal memory-safety failure: SIGSEGV unsanitised, ASAN write into a retired heap block
✅ DemonstratesThe vuln-vs-patched behavioural delta on byte-identical input
✅ DemonstratesThe complete upstream fix: 4 hunks, 3 files, +8 lines
✅ DemonstratesTrigger cost: 557,073 bytes of plain ASCII, no authentication, no headers
❌ Does not showWeaponised RCE on GitLab (heap grooming against a live GitLab worker is out of scope)
❌ Does not showWhich GitLab route is reachable unauthenticated — GitLab's HackerOne report (4093475) is still restricted, and the tracking work item is not public until 90 days after the patch release
❌ Does not showThe null-check arm driven to a memory fault — measured only as accept-vs-reject on our subject
❌ Does not showA patched GitLab instance; the A/B is at the engine layer, which is where the bug lives

Isolation: loopback-free, no network target, no external hosts contacted after the source clone, disposable vendor/ and build-*/ directories, nothing installed system-wide.

Threat model. This lab analyses the primitive itself: whether a reachable memory-safety fault exists in the engine, and how far the attacker controls it. It is not a weaponisation study, and it deliberately does not supply an exploit — no heap-grooming recipe, no allocator-specific chain, no bypass for ASLR or NX. The point is to make the distance between a vendor severity score and deployed exploitability legible, not to close it.

Disclosure status. GitLab released the fixing versions (19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13) on 2026-10-21, and the CVE record went public 2026-10-22T00:33Z. This analysis was first published on 2026-10-24. It is post-patch public analysis: the trigger condition and the fix were already public before this repository existed, and nothing here predates the patch or describes a route that was hidden at disclosure time.


Summary

What this is. GitLab's CVE-2026-110264 (CVSS 10.0) is an integer overflow in the regular expression compiler, and the root cause is not GitLab's code: it lives in Onigmo, the regexp engine Ruby bundles. GitLab shipped the fix by patching the Ruby it builds.

Why it happens. Onigmo counts repeat and null-check IDs in an unbounded int, but stores each one as typedef short int MemNumType — 16 bits. It already bounds the capture-group counter at ONIG_MAX_CAPTURE_GROUP_NUM = 32767 (exactly the 16-bit range, added in 2014 after a crash at that count), while ONIG_MAX_REPEAT_NUM is 100000 and the null-check counter had no limit at all. At the 32,768th range-repeat the ID wraps to -32768, is written into the bytecode, and is then used verbatim as an array index.

What this lab proves. The trigger condition; the exact index arithmetic (id = -32768 → a write 262,144 bytes before the ID block, i.e. id × 8); a real memory-safety failure on an unsanitised build; the behavioural delta against the vendor's own fix on byte-identical input; and the complete upstream patch (4 hunks, 3 files, +8 lines). Trigger cost: 557,073 bytes of plain ASCII, no authentication, no headers.

What it does not prove. No weaponised RCE. The unauthenticated route GitLab's advisory refers to is not public (the HackerOne report is restricted; the tracking item stays private for 90 days after the patch release). Two plausible escalation arms were tested and no reachable path was found under this lab's configuration — see the scope note in docs/LEVEL-2-3.md for what that result does and does not cover.

One consequence deserves stating plainly: GitLab's advisory names an Org-mode render path as the trigger surface, and that surface is not one this lab exercises. The surface behind the 10.0 score is precisely the one left untested here.

Who should act. Anyone on self-managed GitLab older than 19.5.1 / 19.4.3 / 19.3.6 / 19.2.9 / 19.1.9 / 19.0.10 / 18.11.13 — or on Ruby older than 4.0.9 / 3.4.12 / 3.3.13. The 10.0 score is a patch-prioritisation signal for worst-case theoretical impact; this lab quantifies the distance between that score and what is publicly demonstrated.


Verified facts

FieldValueSource
IdentifierCVE-2026-110264CVE record (CNA: GitLab)
TitleInteger Overflow or Wraparound in GitLab (CWE-190)CVE record
CVSS 3.110.0 — AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HCVE record metrics + GitLab advisory
Reserved / published2026-10-13 / 2026-10-22T00:33ZCVE record metadata
Vendor advisoryGitLab Critical Patch Release 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13docs.gitlab.com
Affectedall versions from 7.0; 7 branches + an 18.11.13 backportCVE record affected
SaaSGitLab.com and GitLab Dedicated patched pre-disclosureGitLab advisory
Reporterjoaxcar, via GitLab's HackerOne program (report 4093475, restricted)CVE record credits
CISA SSVCExploitation: none · Automatable: yes · Technical Impact: totalCVE record ADP
Threat detections shipped"Onigmo native worker crash", "Org mode render error burst"GitLab advisory
Root cause ownerRuby's bundled Onigmo — not GitLab coderuby-lang.org news, 2026-10-23
Ruby fix4.0.9 / 3.4.12 / 3.3.13 (Ruby declined to request its own CVE)ruby-lang.org
Upstream Ruby changePR #16801, commit 493d26dc "Reject overflowed repeat/null-check IDs in huge regexps" (Hiroya Fujinami)ruby/ruby
In GitLab's buildconfig/patches/ruby/regexp-repeat-id-overflow-{3.3,3.4,4.0}.patch (omnibus-gitlab)omnibus-gitlab commit 73cec6d8

Context worth knowing: this was the fourth of four

GitLab shipped four CVEs in under two weeks from the same engine, each needing its own Ruby patch in omnibus-gitlab:

GitLab CVEBug in RubyFixed in GitLabRuby change
CVE-2026-89078Double free when parsing fails after an alternation19.4.1#13332
CVE-2026-93577Integer overflow in the size of a compiled pattern19.4.1#19020
CVE-2026-97229Same overflow, CI/CD regexp compile path19.4.2#19020
CVE-2026-110264Overflow of internal IDs in a pattern with many repeats19.5.1#16801

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    885
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    796
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    629
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    458
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    433
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    385

Explore all tools

Browse our collection of tools

View all tools →
Download Tool