# CVE-2026-100290: Double free after allocation failure in regcomp and regexec

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-11 · Modified: 2026-11-17
- Aliases: DEBIAN-CVE-2026-100290, UBUNTU-CVE-2026-100290, CGA-253j-7rm8-54vq, CGA-276j-3p36-mc47, CGA-289x-73h9-f7g7, CGA-2c53-f52v-vpp8, CGA-2c9w-3qq8-4g3m, CGA-2rmc-cf7j-7prv, CGA-2w4g-mp8h-43fm, CGA-2x6h-gq6g-gm32, CGA-3h85-56jg-7hq4, CGA-3j8h-6c23-j6cq, CGA-3mgc-36cq-x448, CGA-3qxj-6q9x-88pw, CGA-3xx4-cm4g-2hp9, CGA-43mj-fc6q-5rfg, CGA-4fmg-j392-vf9h, CGA-4q5h-9237-wr8p, CGA-546f-478g-jjq2, CGA-58w2-4q2m-5rmr, CGA-5g7w-7m72-qv2x, CGA-5gj5-6wgr-j2hf, CGA-5gqj-gv49-9h47, CGA-5r55-9qg9-q95r, CGA-5v93-r389-27m6, CGA-63f5-8prx-4f6h, CGA-65f3-7fcg-xw22, CGA-68v3-cr7r-xf2q, CGA-692j-938f-whcw, CGA-6pmr-64p4-ccf2, CGA-6r3g-2g25-wwv9, CGA-75vc-39hq-4pfx, CGA-77jh-cvr5-wrq4, CGA-78hh-h7pv-67m3, CGA-78x4-3fvh-25rc, CGA-79r4-jrxq-vv95, CGA-79x3-ch59-3q78, CGA-7cw5-57q9-jj5f, CGA-8mhp-g9w6-jhf9, CGA-936g-qjfj-gg95, CGA-93r7-w6jr-rgrv, CGA-9g5w-4h75-935q, CGA-9m3m-x4ph-54xr, CGA-9pqq-53wr-6jq6, CGA-9qfg-vpcg-2p4j, CGA-9xww-p94x-cchp, CGA-c2vm-g5pq-4fjj, CGA-c9p4-p2p5-c3wj, CGA-cjcp-7wrf-j7r9, CGA-crhr-4f72-p93q, CGA-cv72-frgh-6hf7, CGA-cw3x-pr3x-8w7v, CGA-cw76-3mxv-66wq, CGA-f4h8-fp92-73pq, CGA-fg7p-r4gg-3hw8, CGA-fm3p-38p4-mcr7, CGA-fqx4-x2mg-2qpw, CGA-g8mm-4pvq-jp25, CGA-gh53-5hr5-g924, CGA-gh8x-rx4x-gxrp, CGA-gm54-g684-wj63, CGA-h7rc-8cxw-98fm, CGA-h842-3cf7-39vg, CGA-h92r-fjr9-5fqw, CGA-hcc8-6w8g-86hq, CGA-hfc5-fgv7-q7g5, CGA-hg66-chj7-2ffw, CGA-hg7q-8cvf-x68c, CGA-hh2q-7f3x-v223, CGA-j6f8-r247-cw9m, CGA-j7pj-gc8q-f7xx, CGA-jcpf-c7vw-6hfm, CGA-jg3p-9565-qq65, CGA-jgr3-7jc6-p937, CGA-jhqg-x5mm-7pwv, CGA-jvwg-w7gv-fvr2, CGA-jxhf-xh35-q5w7, CGA-m47m-p9jr-3p93, CGA-m6gx-x22j-fvwj, CGA-mjvp-2g5p-fhvx, CGA-mvqv-mvmx-79wx, CGA-p42p-vq6v-285j, CGA-p5jw-95q4-q6h7, CGA-p8v9-gxxh-c73w, CGA-pfm4-jjxj-wr6g, CGA-pfp2-25hm-8j2g, CGA-pr76-95vx-h9gf, CGA-pvpq-642h-h835, CGA-pxhx-63c8-3rcm, CGA-q9rv-fh35-x69m, CGA-qghp-f4q2-jhwc, CGA-qhvh-jjw6-p68h, CGA-qmfq-h2mq-vfq9, CGA-rgph-mqw7-frvp, CGA-rm46-h9hr-35mp, CGA-rrrp-jg29-9fpg, CGA-v3hx-p5jh-rpxg, CGA-v4fg-553c-3xv2, CGA-v54c-hvcc-f2gr, CGA-vj92-c5rj-43wp, CGA-w5f4-c5h5-8mc5, CGA-w5ph-7835-7g67, CGA-wcff-f3vw-rw5j, CGA-wm45-p7vr-36vj, CGA-wq64-6gfg-335h, CGA-wrrf-qh7r-j4r8, CGA-xjjf-6wf9-gg7p, CGA-xp94-6rx6-6xv3, CGA-xpv2-hrrr-gv84, CGA-xxhc-33p4-hw6j, CGA-9vr5-rr8w-9w3w, CGA-x648-gxr7-phxq, CGA-63q2-4j4c-jg3r, CGA-jfp3-6rvg-wgwh
- Record: https://cvemate.com/vulnerability/CVE-2026-100290 · JSON: https://cvemate.com/vulnerability/CVE-2026-100290/json

## Description

```text
The regcomp and regexec functions in the GNU C Library version 2.3 to version 2.44 may read freed memory and free the same heap block twice when a memory allocation fails while a regular expression is compiled or matched.  The re_dfa_add_node (the NFA node table) and build_range_exp (bracket ranges) grow several arrays with consecutive realloc calls and store the new pointers only after all of them succeed.  When a later call fails, the pattern buffer keeps pointers to blocks that were already freed, and the error cleanup frees them again.  In regexec, the back-reference cache (match_ctx_add_entry) frees its array when a realloc fails but keeps the pointer, which is freed again on the error path.

An attacker does not need to supply a crafted regular expression: patterns large enough to grow these arrays are common.  The failure has to hit a specific allocation, though, so the issue can only be reached when the system is already under memory pressure.  An attacker who supplies the pattern or the subject string has little control over which allocation fails, so the expected impact is a crash of the process.  This issue affects all architectures and ABIs supported by the GNU C Library.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.374%, percentile 33.423%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 116)

- chainguard glibc-2.43 (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-abi-report (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-dev (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-iconv (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-iconv-common (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-locale-ca (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-locale-de (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-locale-en (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-locale-es (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-locale-extra (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-locale-fr (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-locale-posix (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-locales (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-testresults (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.43-tracing (Chainguard): All versions (No fix recorded)
- chainguard glibc-2.44 (Chainguard): All versions (No fix recorded) \| \< 2.44-r20
- chainguard glibc-2.44-abi-report (Chainguard): All versions (No fix recorded) \| \< 2.44-r20
- chainguard glibc-2.44-dev (Chainguard): All versions (No fix recorded) \| \< 2.44-r20
- chainguard glibc-2.44-iconv (Chainguard): All versions (No fix recorded) \| \< 2.44-r20
- chainguard glibc-2.44-iconv-common (Chainguard): \< 2.44-r25

## References

- <https://sourceware.org/bugzilla/show_bug.cgi?id=34991>
- <https://sourceware.org/bugzilla/show_bug.cgi?id=31935>
- <https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0028>
- <https://security-tracker.debian.org/tracker/CVE-2026-100290>
- <https://ubuntu.com/security/CVE-2026-100290>
- <https://www.cve.org/CVERecord?id=CVE-2026-100290>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100290.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-100290>

---

Data as of 2026-12-05T03:23:48.593Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
