IBM Db2
CVE-2025-33012
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHold valid-but-expired Db2 credentials
-
ExploitAttempt login after account lockout
-
ExecutionExpired password bypasses lockout control
-
ImpactRegain authenticated Db2 session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key rotation and expiry
|
| Exploitation Conditions | Requires a pre-existing IBM Db2 for Linux account (versions 10.5.0-10.5.11, 11.1.0-11.1.4.7, 11.5.0-11.5.9, or 12.1.0-12.1.3) whose account has entered a lockout state and whose password has passed its expiration date; the actor must possess that expired password. Exploitation is limited to the Linux edition of Db2 and depends on account lockout/password-expiration enforcement being in use - accounts with current credentials or environments not relying on these controls are unaffected. The need for valid (if expired) credentials and a specific locked/expired account state substantially narrows realistic exploitation to insiders or holders of stale credentials. |
| Impact | The vendor-supplied CVSS of 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is sharply inconsistent with the described behavior and should be treated with caution. The description (CWE-324, use of a key past its expiration date) states only that an already-authenticated user can regain access after account lockout because an expired password is still accepted - this is an authentication/access-control weakness that restores the user's own prior privilege level, not an unauthenticated path to full confidentiality, integrity, and availability compromise. The C:H/I:H/A:H impact metrics therefore appear overstated relative to the text; verify scope with IBM. All exploitation signals point to low real-world urgency: EPSS is 0.03% (10th percentile), there is no CISA KEV listing, and no public proof-of-concept was identified. No SSVC decision data was provided. Net assessment: this is a high-CVSS-but-low-real-risk issue - a genuine access-control hygiene defect worth patching in the normal cycle, but not an emergency given the absence of exploitation signals and the requirement for a pre-existing (expired) credential. |
| Exploit ScenarioDerived | A user whose Db2 account has been locked out and whose password has passed its expiration date still possesses the old (expired) password; instead of being denied, they authenticate successfully and regain their previous database access. No public exploit code was identified, and the action requires knowledge of the account's expired credentials, so this is opportunistic misuse by an insider or someone holding stale credentials rather than a mass-exploitable remote attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 07, 2026
IBM Db2 for Linux (10.5.0 through 10.5.11, 11.1.0 through 11.1.4.7, 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3) fails to properly invalidate expired credentials, so an authenticated user holding a stale, already-expired password can regain access to an account that has been locked out. The issue maps to CWE-324 (use of a key past its expiration date) and only manifests when a pre-existing Db2 account is simultaneously locked out and past its password expiration date, which narrows realistic exploitation to insiders or holders of stale credentials. No public exploit code has been identified at time of analysis and the EPSS score is negligible at 0.03% (10th percentile); the vendor's CVSS of 8.8 is inconsistent with the described behavior and the independently assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N), so it should be treated with caution.
Earlier versions of this analysis (1)
IBM Db2 10.5.0 through 10.5.11, 11.1.0 through 11.1.4.7, 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux could allow an authenticated user to regain access after account lockout due to. Rated medium severity (CVSS 6.3), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.
RemediationAI
The primary action is to apply the fix identified in IBM's advisory for this issue (https://www.ibm.com/support/pages/node/7250469); the advisory should be consulted for the exact fix-pack or build level for each affected train (10.5.x, 11.1.x, 11.5.x, 12.1.x), since a specific patched version is not enumerated in the provided data - patch availability should be treated as vendor-advisory-confirmed rather than assumed. Where patching cannot be performed immediately, compensating controls should target the exact precondition: this issue requires an account that is both locked out and past its password expiration date, so accounts should be disabled or removed rather than relying on lockout plus expiration to contain them, and stale service or application accounts with expired passwords should be reviewed and either rotated or explicitly disabled (trade-off: disabling accounts can break batch jobs or applications still binding with those credentials, so validate dependencies first). Strengthening Linux-side authentication enforcement - for example, routing Db2 authentication through OS/PAM mechanisms that deny expired credentials outright, if the deployment supports it - reduces exposure but may change login behavior and requires testing. Reducing the number of accounts permitted to authenticate directly to the instance and monitoring for successful logins by accounts that are concurrently locked or expired provides detection for exploitation attempts. Rotating the expired credentials held by former or low-trust users is also prudent given the insider-oriented exploitation profile. Note that the vendor's 8.8 severity should not be used to justify emergency change windows that would bypass normal validation, as the independently assessed impact is low confidentiality and low integrity with no availability effect.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-324, the use of a key (here, a password) past its expiration date. IBM Db2 for Linux maintains its own authentication and account-state handling, including password expiration tracking and lockout counters; the flaw is that the code path evaluating an expired password does not consistently honor the locked-out state, so a login attempt using a credential whose expiration date has already passed can succeed and effectively reset or bypass the lockout. The CPE strings identify the affected platform specifically as the Linux edition of IBM Db2 (cpe:2.3:a:ibm:db2:*:*:*:*:*:linux:*:*), reinforcing that this is not a cross-platform Db2 issue and that the behavior is tied to Linux-side authentication/expiration enforcement. The CVSS vector supplied by the vendor confirms the interaction model is network-reachable with low privileges (PR:L) and no user interaction, i.e. an attacker who already possesses a valid-if-expired Db2 account credential can attempt this remotely. Critically, the independently assessed impact is limited to low confidentiality and low integrity with no availability effect, which contradicts the vendor's high/high/high rating - the defect effectively restores login capability rather than granting administrative control over the database, and the exposure ceiling is whatever privileges the underlying (possibly low-privilege) account already held before expiration and lockout. This class of bug is generally an authentication-state consistency defect rather than a memory-safety or injection flaw.
Know when Db2 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable DB with low attacker-controlled complexity, but requires a pre-existing (expired) credential so PR:L; impact is limited to restoring the account's own access, so C:L/I:L and A:N rather than the vendor's H/H/H.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
IBM Db2 10.5.0 through 10.5.11, 11.1.0 through 11.1.4.7, 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux could allow an authenticated user to regain access after account lockout due to password use after expiration date.
Executive ViewAI
IBM Db2 for Linux deployments across multiple supported versions are affected by an authentication flaw that can let an authenticated holder of an expired password re-enter a locked-out account, weakening two key database access controls. Because exploitation requires both a locked-out account and a stale password, the realistic risk is concentrated among insiders or users with old credentials; with no vendor-released patch identified at time of analysis, affected organizations must rely on compensating controls until a fix is released. No public exploit identified at time of analysis, and leadership should treat this as a medium business risk requiring targeted containment rather than emergency enterprise-wide action.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to affected IBM Db2 for Linux instances, enforcing least privilege, rotating and disabling stale credentials, monitoring authentication events for locked or expired accounts, and applying any vendor-provided interim guidance.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
Stack-based buffer overflow in the SQL/PSM (aka SQL Persistent Stored Module) Stored Procedure (SP) infrastructure in IB
IBM DB2 for Linux, UNIX and Windows 9.2, 10.1, 10.5, and 11.1 (includes DB2 Connect Server) is vulnerable to a stack-bas
Stack-based buffer overflow in IBM DB2 9.7 through FP9a, 9.8 through FP5, 10.1 through FP4, and 10.5 before FP4 on Linux
IBM DB2 9.5 uses world-writable permissions for nodes.reg, which has unspecified impact and attack vectors. Rated critic
Remote code execution in IBM Db2 11.5.0-11.5.9 and 12.1.0-12.1.4 lets unauthenticated network attackers run arbitrary co
Privilege escalation in IBM Db2 (data server versions 11.5.0-11.5.9 and 12.1.0-12.1.5) allows an attacker to submit a sp
Memory-corruption in IBM Db2's IXF file IMPORT parser lets an attacker supply a crafted IXF data file that overflows a s
Stack-based buffer overflow in the Java Stored Procedure infrastructure in IBM DB2 9.1 before FP12, 9.5 through FP9, 9.7
Directory traversal vulnerability in the UTL_FILE module in IBM DB2 and DB2 Connect 10.1 before FP1 on Windows allows re
IBM GSKit (IBM DB2 for Linux, UNIX and Windows 9.7, 10.1, 10.5, and 11.1) duplicates the PRNG state across fork() system
Integer signedness error in the db2dasrrm process in the DB2 Administration Server (DAS) in IBM DB2 9.1 through FP11, 9.
The Stored Procedure infrastructure in IBM DB2 9.5, 9.7 before FP9a, 10.1 before FP3a, and 10.5 before FP3a on Windows a
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB