CVE-2026-7771: IBM Db2 denial of service in SQL compiler

CVE-2026-7771 · Severity: medium · CVSS 5.5 · Published 2026-07-17

IBM Db2 is a database management system used by organizations to store and analyze large amounts of data. A vulnerability has been identified where the system can be forced into an infinite loop or crash when processing specifically formatted database queries. This could allow a user to cause a denial-of-service, making the database unavailable for legitimate business operations.

Technologies: IBM Db2. Vendors: IBM.

Quick answers

Is CVE-2026-7771 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-7771 being exploited in the wild.
How severe is CVE-2026-7771?
Medium severity, with a CVSS score of 5.5, published 17 July 2026.
Which products and versions are affected?
IBM Db2 11.5.0 - 11.5.9, 12.1.0 - 12.1.4.
Is there a fix for CVE-2026-7771?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-7771 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-7771?
Check whether you run IBM Db2 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

IBM Db2 versions 11.5 and 12.1 are susceptible to a denial of service vulnerability (CWE-835) during the statement compilation phase. The root cause is a 'trap' or infinite loop triggered when the database engine processes specially crafted SQL statements that include specific subquery structures. An attacker with the ability to submit queries to the database can exploit this to exhaust system resources or cause a service hang. The vulnerability affects both Client and Server components across all supported platforms (Linux, AIX, Windows). IBM has released special builds for versions 11.5.9 and 12.1.4 to remediate the issue.

Affected products

  • IBM Db2 11.5.0 - 11.5.9, 12.1.0 - 12.1.4

Timeline

  • 2026-07-10: disclosed: Initial publication by IBM
  • 2026-07-17: advisory: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.