Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38528

HIGH 7.1EPSS 12%

bpf: Reject %p% format string in bprintf-like helpers

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 97303e541e12f1fea97834ec64b98991e8775f39; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 61d5fa45ed13e42af14c7e959baba9908b8ee6d4; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < e7be679124bae8cf4fa6e40d7e1661baddfb3289; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 6952aeace93f8c9ea01849efecac24dd3152c9c9; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 1c5f5fd47bbda17cb885fe6f03730702cd53d3f8; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < f8242745871f81a3ac37f9f51853d12854fd0b58
  • Anyone running Linux 5.13

Vulnerability facts

Affected
Linux >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 97303e541e12f1fea97834ec64b98991e8775f39; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 61d5fa45ed13e42af14c7e959baba9908b8ee6d4; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < e7be679124bae8cf4fa6e40d7e1661baddfb3289; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 6952aeace93f8c9ea01849efecac24dd3152c9c9; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 1c5f5fd47bbda17cb885fe6f03730702cd53d3f8; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < f8242745871f81a3ac37f9f51853d12854fd0b58; Linux 5.13
Fixed in
Linux 97303e541e12f1fea97834ec64b98991e8775f39, Linux 61d5fa45ed13e42af14c7e959baba9908b8ee6d4, Linux 6952aeace93f8c9ea01849efecac24dd3152c9c9, Linux 1c5f5fd47bbda17cb885fe6f03730702cd53d3f8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: High
EPSS
0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject %p% format string in bprintf-like helpers static const char fmt[] = "%p%"; bpf_trace_printk(fmt, sizeof(fmt)); The above BPF program isn't rejected and causes a kernel warning at runtime: Please remove unsupported %\x00 in format string WARNING: CPU: 1 PID: 7244 at lib/vsprintf.c:2680 format_decode+0x49c/0x5d0 This happens because bpf_bprintf_prepare skips over the second %, detected as punctuation, while processing %p. This patch fixes it by not skipping over punctuation. %\x00 is then processed in the next iteration and rejected.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 97303e541e12f1fea97834ec64b98991e8775f39; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 61d5fa45ed13e42af14c7e959baba9908b8ee6d4; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < e7be679124bae8cf4fa6e40d7e1661baddfb3289; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 6952aeace93f8c9ea01849efecac24dd3152c9c9; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 1c5f5fd47bbda17cb885fe6f03730702cd53d3f8; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < f8242745871f81a3ac37f9f51853d12854fd0b58—cvelist
Linux5.13—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38528. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38528.md
Affected: Linux >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 97303e541e12f1fea97834ec64b98991e8775f39; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 61d5fa45ed13e42af14c7e959baba9908b8ee6d4; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < e7be679124bae8cf4fa6e40d7e1661baddfb3289; >= 48cac3f4a96ddf08df8e538…
Fixed in: Linux 97303e541e12f1fea97834ec64b98991e8775f39, Linux 61d5fa45ed13e42af14c7e959baba9908b8ee6d4, Linux 6952aeace93f8c9ea01849efecac24dd3152c9c9, Linux 1c5f5fd47bbda17cb885fe6f03730702cd53d3f8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38528 being exploited?

There is no confirmed exploitation: CVE-2025-38528 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38528?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38528?

Linux >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 97303e541e12f1fea97834ec64b98991e8775f39; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 61d5fa45ed13e42af14c7e959baba9908b8ee6d4; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < e7be679124bae8cf4fa6e40d7e1661baddfb3289; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 6952aeace93f8c9ea01849efecac24dd3152c9c9; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < 1c5f5fd47bbda17cb885fe6f03730702cd53d3f8; >= 48cac3f4a96ddf08df8e53809ed066de0dc93915, < f8242745871f81a3ac37f9f51853d12854fd0b58; Linux 5.13.

Is there a fix for CVE-2025-38528?

Yes. Fixed in Linux 97303e541e12f1fea97834ec64b98991e8775f39, Linux 61d5fa45ed13e42af14c7e959baba9908b8ee6d4, Linux 6952aeace93f8c9ea01849efecac24dd3152c9c9, Linux 1c5f5fd47bbda17cb885fe6f03730702cd53d3f8. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-38528?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors