Intel

AIKIDO-2026-360852

fmtlib.fmt is vulnerable to Out-of-bounds Read

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 20, 2026
August 20, 2026

59

CVE Score

Medium

Out-of-bounds Read

Are you affected? Scan for Free

TL;DR

The printf-style formatting entry points fmt::printf and fmt::sprintf parse the format string and its positional arguments without adequate bounds checks. A malformed format string causes the parser to read past the end of the format string or before the argument array. Before the fix these produced out-of-bounds reads of uninitialized or adjacent memory that can disclose process data or crash the program. The fix adds index and length validation and stops assuming null termination of the format string.

How do I fix this?

Upgrade the fmtlib.fmt library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted format strings or argument sequences to fmt::printf or fmt::sprintf.

Package

fmtlib.fmt

Versions

6.0.0 - 12.1.0

Fixed in 12.2.0

Background info

fmtlib.fmt is vulnerable to Out-of-bounds Read in versions 6.0.0 - 12.1.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea