devel/ghidra: Update to version 12.0.4 Release notes: https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.0.4_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.0.3_build MFH: 2026Q2fbcccc6c8a
Port details
devel/ghidra12.0.4
Software reverse engineering (SRE) framework
- Maintainer
- tiga@FreeBSD.org
- Packages
- ghidra 12.0.4
- Upstream
- Higher version available: 12.2
- CPE
nsa:ghidrafrom the port- WWW
- https://ghidra-sre.org/
- Links
- cgit · VuXML
Unaddressed (13) · The CVE record lists this version as affected, no VuXML entry names the CVE
Updating to 12.1.1 would fix 9 of 13 unaddressed CVEs, according to the CVE records.
Fixed up to each version, cumulative: 12.1 8 · 12.1.1 9
| CVE-2026-52758 | 8.7 | 2026-06-10 | Ghidra before 12.1 contains a SQL injection vulnerability in BSim filter types that concatenate user-supplied values directly into SQL queries without escaping or parame… |
| CVE-2026-52754 | 8.7 | 2026-06-10 | Ghidra before 12.1 contains an authentication bypass vulnerability in PKIAuthenticationModule.authenticate() that allows any user with a valid CA-signed certificate to i… |
| CVE-2026-49498 | 8.7 | 2026-06-10 | Ghidra 11.0 before 12.1 contains a SQL injection vulnerability in the changePassword() method of PostgresFunctionDatabase that fails to escape double quotes in usernames… |
| CVE-2026-52751 | 8.6 | 2026-06-10 | Ghidra before 12.1 contains an unsafe deserialization vulnerability in client-side Shared-Project RMI connection code that allows unauthenticated remote code execution. … |
| CVE-2026-100504 | 7.3 | 2026-09-26 | Ghidra versions through 12.1.4 contain a stack-based out-of-bounds write vulnerability in the decompiler's leftshift128 function when processing negative shift amounts f… |
| CVE-2026-49496 | 6.9 | 2026-06-10 | Ghidra before 12.1 contains a heap-use-after-free vulnerability in SleighBuilder::generatePointerAdd caused by iterator invalidation when PcodeCacher::allocateInstructio… |
| CVE-2026-52759 | 6.7 | 2026-06-10 | Ghidra before 12.1.1 contains an uncontrolled memory allocation vulnerability in the Mach-O binary parser that allows attackers to cause denial of service. An attacker c… |
| CVE-2026-49495 | 6.7 | 2026-06-10 | Ghidra 10.2 before 12.1 contains an uncontrolled resource consumption vulnerability in ExportTrie.parseTrie() that lacks cycle detection when traversing Mach-O binary ex… |
| CVE-2026-52756 | 6.3 | 2026-06-10 | Ghidra before 12.2 contains an unauthenticated path traversal vulnerability in the IsfServer that accepts TCP connections and passes client-supplied namespace strings di… |
| CVE-2026-100505 | 4.8 | 2026-09-26 | Ghidra versions 9.2 through 12.1.4 contain a heap out-of-bounds read vulnerability in StringManager::getCodepoint when decoding multi-byte UTF-8, UTF-16, or UTF-32 chara… |
| CVE-2026-100503 | 4.8 | 2026-09-26 | Ghidra versions through 12.1.4 contain a heap use-after-free vulnerability in the decompiler's Funcdata::opInsertAfter function caused by stale INDIRECT effect-op refere… |
| CVE-2026-52757 | 4.6 | 2026-06-10 | Ghidra before 12.1 contains a heap-use-after-free vulnerability in the decompiler's HighVariable::merge() function during the variable merging pass. Attackers can trigge… |
| CVE-2026-49497 | 4.6 | 2026-06-10 | Ghidra before 12.1 contains a path traversal vulnerability in SameDirDebugInfoProvider that fails to validate filenames from ELF binary .gnu_debuglink sections before co… |
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (26)
devel/ghidra: Fix pkg-plist error when PYTHON_VER != 3.11 PR: 294767 Approved by: blanket (fix build) Sponsored by: UNIS Labs MFH: 2026Q2f90e9a47b9
*/*: bump portrevision after java_default=25 update Included all ports that have USES=java. PR: 29355986813e9ccf
*/*: bump portrevision after java_default=21 update PR: 2728552baaf16375
devel/ghidra: Update to 12.0.2 Release notes: https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.0.2_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.0.1_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_12.0_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.4.3_build Approved by: eduardo (mentor, implicit) MFH: 2026Q178551a331e
devel/ghidra: Update to version 11.4.2 * Pet portlint, portclippy, portfmt Release notes: https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.4.2_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.4.1_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.4_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.3.2_build PR: 290245 Approved by: eduardo (mentor)aebcd95dc5
*/*: update maintainer to @freebsd.org PR: 289928 Approved by: eduardo (mentor)4e450f33b9
devel/ghidra: Fails to build with GCC 14: error: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] Define __XSI_VISIBLE. PR: 288305 Approved by: gatekeeper <tiago.gasiba@gmail.com>7d2e8fe9a1
devel/ghidra: Update 11.1.2 → 11.3.1 Release notes: https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.2_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.2.1_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.3_build https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_11.3.1_build Switch to compilation with gcc, since the Decompiler plugin, when compiled with clang, crashes randomly. Probably this is a problem in upstream, as there are two different results with two different compilers (some UB...). PR: 28507110c8159742
devel/ghidra: Remove unnecessary temporary build files from plist PR: 28456083c68691d6
devel/ghidra: Fix plist after udpate gradle PR: 284560 Approved by: gatekeeper <tiago.gasiba@gmail.com> (maintainer)defc987f94
Mk/**java.mk: Convert bsd.java.mk to USES The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D482010835676e36
devel/ghidra: fix permissions be able to run ghidra from the command line Also: - remove from SHEBANG_FILES those that are related with debugging - add a desktop file + icon from: https://github.com/NationalSecurityAgency/ghidra/discussions/3709 - add a pkg-message - configure JAVA_HOME using the default installed java version PR: 280494 Fixes: e2b8d2a61766 (update 9.1 → 11.1.2, take maintainership) MFH: 2024Q32bf3f54aaf
devel/ghidra: update 9.1 → 11.1.2, take maintainership Port was FORBIDDEN, updated last time in 2019, maintainer is innactive. Tamas Szakaly <sghctoma@gmail.com>, thanks for you work, hope you come back to FreeBSD porters team! Install share/ghidra/support/launch.properties as a @sample file. Changelogs: https://htmlpreview.github.io/?https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/Ghidra_11.1.2_build/Ghidra/Configurations/Public_Release/src/global/docs/ChangeHistory.html PR: 280378 275383 244345 MFH: 2024Q3e2b8d2a617
devel/ghidra: Mark FORBIDDEN contains a RCE PR: 260854 Submitted by: Cameron Katri Security: https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-j3xg-fc2p-4jc42ea61fba9e
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
*: apply refactor.remove-consecutive-empty-lines Submitted by: porteditce1af7fdc2
devel/ghidra: Add CPE information Approved by: portmgr (blanket)2a446c8e91
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Clean up port's makefile Approved by: portmgr blanket2ba6f63ff9
devel/ghidra: Update to 9.1 - Now that openjdk11+ are registered in bsd.java.mk, drop the JDK11 and JDK12 options Changes: https://ghidra-sre.org/releaseNotes_9.1_final.html#9_1 PR: 239902 Submitted by: Tamas Szakaly <sghctoma@gmail.com> (maintainer)35cab9ee7f
Create devel/gradle5 in preparation of devel/gradle update Many consumers fail to build with newer Gradle versions. PR: 239875, 239900, 239901, 239902456263afc3
devel/ghidra: Fix build error caused by cache cleanup The issue seems to be caused by Gradle caches being cleaned up between build sessions [1]. It did not come up before because the cached files were not old enough to be deleted. Cleanup happens after a build session, so running the two build targets (yajswDevUnpack and buildGhidra) in the same session fixes the issue. [1] https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home:cache_cleanup) PR: 239472 Submitted by: Tamas Szakaly <sghctoma@gmail.com> (maintainer)782d7bccdc
New port: devel/ghidra Ghidra is a software reverse engineering (SRE) framework created and maintained by the National Security Agency Research Directorate of the United States of America. This framework includes a suite of full-featured, high-end software analysis tools that enable users to analyze compiled code on a variety of platforms including Windows, macOS, and Linux. Capabilities include disassembly, assembly, decompilation, graphing, and scripting, along with hundreds of other features. Ghidra supports a wide variety of processor instruction sets and executable formats and can be run in both user-interactive and automated modes. Users may also develop their own Ghidra plug-in components and/or scripts using Java or Python. WWW: https://ghidra-sre.org/ PR: 237211 Submitted by: Tamas Szakaly <sghctoma@gmail.com> Reviewed by: koobs, yuri, rgrimesd77700ddec