Oriel — AI & technology worth noticing, every day.

CVE-2026-107891: musl libc: multiple integer overflow in regcomp, possibly leading to incorrect allocation sizes and out-of-bounds heap writes

Web page · https://openwall.com/lists/oss-security/2026/10/21/18

First seen by Oriel on .

AI summary

A musl libc advisory reports integer overflows in regcomp that can cause undersized allocations and out-of-bounds heap writes when applications compile untrusted regular expressions.

  • The issue depends on the size and complexity of the regular expression, not the data being matched.
  • A predictable crash can cause denial of service; arbitrary code execution may be possible depending on heap usage and concurrent execution.
  • Versions 0.5.0 through 1.2.6 are affected.
  • Apply the attached patch or upgrade to 1.2.7 when available; otherwise, prevent processing regular expressions from untrusted sources.
  • Julien Voisin reported the first issue, and Szabolcs Nagy and Rich Felker identified similar overflows.

#musl libc #regular expressions #integer overflow #memory safety

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Lobsters: 57, latest observation ; +55 over observed period since

Comments

Comment count reported by the source.

  • Lobsters: 6, latest observation ; +5 over observed period since

Aliases

SourceExternal IDURL
Lobstersdldfelhttps://www.openwall.com/lists/oss-security/2026/10/21/18 Read discussion