AndroidOperating system · Samsung

CVE-2025-20989

MEDIUM · 5.2 CVSS v3.1 Published 2025-06-04
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
54/100
Remediation priority · Moderate
Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Improper logging in fingerprint trustlet prior to SMR May-2025 Release 1 allows local privileged attackers to get a hmac_key.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

Improper logging in Samsung's fingerprint trustlet (a Trusted Execution Environment component) prior to the May-2025 SMR allows a local privileged attacker to obtain the hmac_key through log files. The hmac_key is used for fingerprint template integrity verification, so its exposure could enable authentication bypass.

MitigationApply Samsung SMR May-2025 Release 1 or later which contains the patched fingerprint trustlet that removes the insecure logging of the hmac_key.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
AndroidOperating system
Affected:= 13.0= 14.0= 15.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
High
Privileges
High
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check Android version
    Go to Settings > About Phone > Android version, or run 'getprop ro.build.version.release' via ADB
    Affected if Version is 13.0, 14.0, or 15.0 and the SMR is prior to May-2025
  2. Check Samsung SMR date
    Go to Settings > About Phone > Software information > Build number (tap multiple times for build info), or run 'getprop ro.build.version.sepolicy' or check Samsung's SMR release notes for the device model
    Affected if SMR (Samsung Monthly Release) is dated before May-2025
  3. Inspect log files for hmac_key
    Search system and kernel logs for the string 'hmac_key' or 'hmac' using 'logcat -d | grep -i hmac' or check /data/log/ or /sys/kernel/debug/ directories via ADB shell with root access
    Affected if Log files contain the hmac_key value in plaintext
  4. Verify fingerprint enrollment exists
    Check if any fingerprints are enrolled in Settings > Security > Fingerprint, or run 'fingerprints' or check /data/system_de/0/fpdata/ via ADB
    Affected if Fingerprint authentication is enabled and templates exist on the device

A device is affected if it runs Android 13.0, 14.0, or 15.0 with an SMR prior to May-2025 and has log entries containing the hmac_key, exposing fingerprint template integrity to privileged local attackers.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply Samsung SMR May-2025 Release 1 or later which contains the patched fingerprint trustlet that removes the insecure logging of the hmac_key.

Recommended fix Moderate confidence

SMR May-2025 Release 1 (May 2025 Android Security Patch Level)

  1. 1. Open Settings on your Samsung Android device
  2. 2. Navigate to Software update (or Security and privacy > Software update)
  3. 3. Tap Check for updates to see if May 2025 security update is available
  4. 4. If available, download and install the SMR May-2025 Release 1 update
  5. 5. Restart your device after the update completes
  6. 6. Verify the update was applied by going to Settings > About phone > Software information and confirming the security patch level is May 2025 or later

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Android Scoped from the published advisory
  • Consultation4.0 h
  • Testing8.0 h
  • Review / QA3.0 h
15.0 hours of engineering $2,540
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,064.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-20989 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-20989 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data