CVE-2026-40499
radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Active
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.4
radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
- Record
CVE-2026-40499- CVSS 4.0
- 8.4 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-78
- Updated
- 2026-11-02
EUVDEUVD-2026-22826
8.4
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
- Record
EUVD-2026-22826- CVSS 4.0
- 8.4 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7rhq-9q45-5gm4
8.4
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's...
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
- Record
GHSA-7rhq-9q45-5gm4- CVSS 4.0
- 8.4 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
NVD
8.4
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
- Record
CVE-2026-40499- CVSS 4.0
- 8.4 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSV
8.4
radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
- Record
CVE-2026-40499- CVSS 4.0
- 8.4 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-40499
8.4
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
- Record
UBUNTU-CVE-2026-40499- CVSS 4.0
- 8.4 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2026-0198 No score
Updated radare2 packages fix security vulnerability
CVE-2026-40499, Command Injection via PDB Parser print_gvars()
- Record
MGASA-2026-0198- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10555-1 No score
libsdb2_4_2-6.1.4-1.1 on GA media
These are all security issues fixed in the libsdb2_4_2-6.1.4-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10555-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:20653-1 No score
Security update for radare2
This update for radare2 fixes the following issues:
Changes in radare2:
-
Update to version 6.1.4 (bsc#1262142, CVE-2026-40499):
- Analysis: improve autoname scoring, jmptbl detection, and performance
- Add callargs modifier, rnum expressions, and typed function context
- Refactor autoname into plugin; extend RAnalPlugin hooks
- Fix leaks, overflows, and command injection in analysis scripts
- Improve string detection, wide strings, and switch/case analysis
- Arch: fix v850/nds32 ESIL, optimize to O(1), improve pseudo support
- Cache capstone options and improve multi-arch disassembly
- ASM: add camel syntax support, unify via RArch API
- Bin: major parser fixes (ELF, Mach-O, PE, DEX, PDB, WAD, XCOFF)
- Fix leaks, OOB reads/writes, overflows, and improve bounds checks
- Improve Swift demangling, ARM hints, relocations, and imports
- Add nds32 reloc support and optimize kernelcache parsing
- Build: install to lib64, fix illumos and packaging issues
- CI: add GitHub Actions and FilC builds
- Console: fix multiple overflows, OOB issues, and improve performance
- Core: API renames, plugin load order, sandbox/config fixes
- Crash: extensive fixes (UAF, OOB, overflows, injections, fuzz bugs)
- Harden ELF, PDB, kernelcache, regex, disassemblers, and webserver
- Debug: improve ptrace, winkd support, breakpoints, checkpoints
- Disasm: cache flag lookups for performance
- FS/IO: fix leaks, bounds, sparse IO, and device handling
- HTTP/socket: webserver fixes and SSL fallback handling
- Print/projects: improve formatting, endian handling, project metadata
- Pseudo: add while/switch support and cleaner control flow
- Search/shell: improve commands, parsing, and usability
- Security: fix widespread command injection and sandbox escapes
- Tests/tools: improve r2r, CLI tools, fuzzing, and plugin support
- Types/util: parsing improvements, JSON/base64 updates, optimizations
- Visual: fix UAF/leaks, improve panels and UX
- Full changelog is available at: https://github.com/radareorg/radare2/releases/tag/6.1.4
-
Update to version 6.1.2:
- Analysis: preserve timeouts, improve bb/jmptbl validation and limits
- Optimize string detection and hot-path functions
- Add APIs for function signatures, vars limits, and instruction hints
- Fix overlapped functions, invalid code checks, and large bb handling
- API: remove deprecated librmagic/filetype APIs and name filter
- Arch: fix Thumb/endianness issues, add Python pseudo plugin
- ASM: unify settings via RArch, fix directives, add bf pseudo plugin
- Bin: improve ELF/Mach-O stripped detection and parsing safety
- Harden Mach-O bounds, optimize kernelcache and XNU parsing
- Fix many leaks (DEX, demangler, parsers) and infinite loops
- Improve DWARF handling and symbol/type extraction
- Build: improve meson, toolchains, and add ISO/docker support
- Console: preserve timeout, fix themes and UTF-8 handling
- Core: fix config bugs, improve startup and addressing support
- Crash: fix UAF, OOB, race conditions, regex bugs, and overflows
- Add safety checks across dotnet, Mach-O, DWARF, and webserver
- Debug/ESIL: safer execution and divide-by-zero handling
- FS/IO: fix HFS+, dyldcache speedups, safer zip handling
- Graph: add bb size limit option
- Print: merge commands, improve UTF-8 and formatting
- Projects/tools: new configs, plugin support, CLI improvements
- Search: faster analysis search and block buffering
- Shell: improve grep/macros and file operations
- Types: lazy-load, cache, and improve parsing (varargs, structs)
- Tests: expand fuzzing and test suites
- General cleanup, performance tuning, and safety improvements
- Full changelog is available at: https://github.com/radareorg/radare2/releases/tag/6.1.4
-
Update to version 6.1.0:
- Reimplement RBufRef using RRef; fix RLibDelHandler API
- Remove stale JAY code; improve analysis performance and CI speed
- Optimize type…
- Record
openSUSE-SU-2026:20653-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
radare2Mageia:9 |
before 5.8.8-1.7.mga9 | 5.8.8-1.7.mga9 |
radare2Ubuntu:16.04:LTS |
All versions, plus listed versions 0.9.6-3.1ubuntu1 |
None known |
radare2Ubuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.6.0+dfsg-12.0.0+dfsg-12.1.0+dfsg-12.3.0+dfsg-12.3.0+dfsg-22.3.0+dfsg-2ubuntu0.1~esm1 |
None known |
radare2Ubuntu:Pro:20.04:LTS |
All versions, plus listed versions 3.2.1+dfsg-5build14.0.0+dfsg-14.2.1+dfsg-14.2.1+dfsg-24.2.1+dfsg-2ubuntu0.1~esm1 |
None known |
radare2Ubuntu:Pro:24.04:LTS |
All versions, plus listed versions 5.5.0+dfsg-1ubuntu15.5.0+dfsg-1.1ubuntu25.5.0+dfsg-1.1ubuntu35.5.0+dfsg-1.1ubuntu3+esm1 |
None known |
radare2Ubuntu:25.10 |
All versions, plus listed versions 5.9.8+dfsg-25.9.8+dfsg-2ubuntu0.25.10.15.9.8+dfsg-2ubuntu0.25.10.2 |
None known |
radare2Ubuntu:26.10 |
All versions, plus listed versions 6.0.7+ds-16.1.6+ds-26.1.6+ds-36.1.8+ds-1 |
None known |
radare2Ubuntu:26.04:LTS |
All versions, plus listed versions 5.9.8+dfsg-26.0.4+dfsg-16.0.7+ds-1 |
None known |
radare2openSUSE:Tumbleweed |
before 6.1.4-1.1 | 6.1.4-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-40499 is a high vulnerability (CVSS 8.4) in Radare Radare2, published April 15, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.18%, the 67th percentile. Fixed in radare2 5.8.8-1.7.mga9.
References
github.com/radareorg/radare2/issues/25752
github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397
github.com/radareorg/radare2/releases/tag/6.1.4
vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-print-gvars
nvd.nist.gov/vuln/detail/CVE-2026-40499
blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero
Show 20 moreShow less
github.com/advisories/GHSA-7rhq-9q45-5gm4
github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40499.json
advisories.mageia.org/MGASA-2026-0198.html
bugs.mageia.org/show_bug.cgi?id=35375
lists.opensuse.org/archives/list/[email protected]/message/PCMPUDTEBB4WMS5A4EHRR725KUAT3WWS
ubuntu.com/security/CVE-2026-40499
cve.org/CVERecord?id=CVE-2026-40499
github.com/radareorg/radare2/pull/25731
suse.com/security/cve/CVE-2026-40499
bugzilla.suse.com/1234065
bugzilla.suse.com/1237250
bugzilla.suse.com/1238075
bugzilla.suse.com/1238451
bugzilla.suse.com/1244121
bugzilla.suse.com/1262142
suse.com/security/cve/CVE-2024-29645
suse.com/security/cve/CVE-2025-1378
suse.com/security/cve/CVE-2025-1744
suse.com/security/cve/CVE-2025-1864
suse.com/security/cve/CVE-2025-5641
Left out here: the rest of 1 source description. The JSON record has them.