Skip to content
Threat Feed
high advisory

Remote Code Execution in IBM Informix via sq_sgkprepare

A critical buffer-related vulnerability (CVE-2026-13361) in IBM Informix allows remote, unauthenticated attackers to achieve code execution via the SQL interface by exploiting an unchecked length field in the oninit process.

CVE search metadata

CVE search record: CVE-2026-13361. Severity: high. CVSS: 8.8. KEV: no. Product: Informix. Brief: Remote Code Execution in IBM Informix via sq_sgkprepare. Brief link: https://feed.craftedsignal.io/briefs/2026-08-ibm-informix-rce/

IBM Informix is affected by a critical remote code execution vulnerability (CVE-2026-13361) localized within the sq_sgkprepare function of the oninit process. The vulnerability stems from an unchecked length field handling mechanism when processing inputs through the SQL interface. This flaw allows a remote attacker to trigger a buffer overflow condition, resulting in the execution of arbitrary code with the privileges of the Informix service process. Given that oninit typically runs with elevated system privileges, successful exploitation provides an attacker with significant control over the underlying database server. Organizations using IBM Informix should prioritize patching or implementing compensating controls at the network boundary to restrict access to the SQL interface until remediation is complete.

Impact

Successful exploitation of CVE-2026-13361 results in full remote code execution on the target IBM Informix server. An attacker gaining these privileges can exfiltrate sensitive database contents, modify records, or move laterally into the host environment, potentially compromising the entire database cluster.

Recommendation

  • Apply the security patches provided by IBM for the Informix product line immediately upon release.
  • Restrict network access to the Informix SQL interface (default ports) to trusted management subnets using host-based or network firewalls to mitigate unauthenticated exploitation attempts.
  • Implement egress filtering on the database server to prevent payloads from initiating secondary callback connections or downloading additional stages from the internet.

Immediate actions

Patch IBM Informix installations

IT Operations 72h

Mitigations

Restrict network access to SQL interface ports

immediate IT Operations

CVE-2026-13361