GnuCash
gnucash.orgDesktopA full-featured cross-platform accounting application suitable for personal and small business finance. Stable and reliable, GnuCash offers a comprehensive suite of financial management tools. Available for Windows, Mac, Linux, and Android.
- Homepage:gnucash.org
- GitHub:github.com/Gnucash/gnucash
- Web info:web-check.xyz/check/gnucash.org
GnuCash Source Code
Author
Description
GnuCash Double-Entry Accounting Program.
Homepage
http://code.gnucash.org/website/Repository
- LicenseOther
- Created01 Feb 13
- Primary languageC
- Size678,834 KB
- Stars4,431
- Forks1,010
- Watchers4,431
Top Contributors
@jralls (4215)
@linas (3009)
@christopherlam (2967)
@gjanssens (2846)
@cstim (2628)
@jdavisp3 (2443)
@Bob-IT (1585)
@derekatkins (1264)
@andi5 (691)
@fellen (636)
@jsled (492)
@spot (349)
@mtalexander (279)
@richardcohen (271)
@c-holtermann (180)
@SziaTomi (170)
@cmarchi (166)
@milotype (133)
@Corvid-Black (128)
@avma (117)
@weblate (88)
@wilddev65 (85)
@CWehli (81)
@limitedAtonement (80)
@mocsa (73)
@Mechtilde (68)
@benoitg (65)
@wtuemura (65)
@ytxcash (61)
@SilentWarrior83 (59)
@yarons (59)
@agwekixj (57)
@rgmerk (56)
@cyphra (55)
@nomis (53)
@leggewie (48)
@yyyjajp (45)
@MocioF (44)
@willelop (36)
@codesmythe (35)
@yurchor (34)
@bgribble (32)
@zdenop (30)
@jaearick (29)
@Stephan-P (29)
@cjh0613 (25)
@jaimeMF (24)
@goodvibes2 (24)
@dawansv (24)
@GnuFiBux (24)
@Noerr (23)
@comradekingu (22)
@brianhsu (21)
@jmarino (21)
@pmrasd (21)
@ianchi (20)
@Ceaus (20)
@Kaligula0 (20)
@Lisapple (20)
@jeanlaroche (20)
@taoyouh (18)
@ekinonnakapito (17)
@rhabacker (16)
@vmicajkova (15)
@pbroadbery (15)
@ljffytax (15)
@luzpaz (13)
@eugenia-russell (12)
@MarongHappy (12)
@bpschuck (11)
@wenottingham (10)
@pkryger (10)
@marco-zietzling (10)
@jwhite66 (10)
@andibing (10)
@bigon (9)
@kohtala (9)
@ryanduguid (9)
@thjungers (9)
@bittin (8)
@6e2f61 (8)
@yth1130 (8)
@featherfeet (8)
@ZeiP (8)
@farribeiro (8)
@DaveC49 (8)
@ltai0001 (7)
@hades (7)
@yegord (7)
@jeblad (7)
@xuhdev (7)
@TheBiggerGuy (7)
@ZehHa (7)
@BorATICI (7)
@muhammadyusuf-kurbonov (6)
@mjholub (6)
@flywire (6)
@apemay (6)
@aleksej0R (6)
@PRG-112 (6)
Recent Commits
Christopher Lam(28 Nov 26)
[Transaction.cpp] range check xaccTransSetDate arguments Check that day, month and year are in range before converting them. Casting an arbitrary int to GDateMonth is undefined. Out-of-range values take the existing invalid-date path, which logs a warning and sets today's date. Add tests for out-of-range days, months and years. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
John Ralls(30 Nov 26)
Bug 799840 - Expenses reconciliation window fails to properly… set column widths. Prevent the num column in reconcile views from expanding to fit content and set it to ellipsize the contents when they don't fit.
John Ralls(28 Nov 26)
Bug 799826 - Gnucash 5.17 will not launch in Windows 10 desktop Use wide character RegGetValue and replace fixed-size buffers with std::string to avoid code page conflicts in Microsoft's retrieval code and to avoid buffer overflows. Assisted-by: Claude Code Opus 5.5 Signed-off: John Ralls <[email protected]>
John Ralls(28 Nov 26)
Merge Noah Noerr's 'fix-sql-result-leak' into stable.
John Ralls(28 Nov 26)
Merge Noah Noerr's 'fix-sql-gobject-get-leak' into stable.
John Ralls(28 Nov 26)
Merge Noah Noerr's 'fix-python-split-list-ownership' into stable.
John Ralls(28 Nov 26)
Merge Noah Noerr's 'fix-python-swig-refs-strings' into stable.
John Ralls(28 Nov 26)
Merge Noah Noerr's 'fix-create-index-ddl-separator' into stable.
Noerr(26 Nov 26)
[backend/dbi] Free raw dbi_results the DBI backend drops Several dbi_conn_query/dbi_conn_queryf results were never passed to dbi_result_free: - dbi_library_test(): the SELECT result and both DROP TABLE results. It runs on every session begin. - GncDbiSqlConnection::lock_database(): the lock-table SELECT when it returns no rows, i.e. whenever the book isn't already locked. - GncDbiSqlConnection::unlock_database(): the same SELECT when our lock row isn't found. - create_database(), drop_database() and the failed-library-test path in session_begin(): the CREATE/ALTER/DROP DATABASE results. dbi_result_free() accepts a null result, so fire-and-forget statements free their result inline.
Noerr(26 Nov 26)
[backend/sql] Free SELECT results by making GncSqlResultPtr a unique_ptr GncSqlConnection::execute_select_statement returns a heap-allocated GncSqlResult that owns the driver's result set (for DBI, the whole dbi_result table), but GncSqlResultPtr was a raw pointer and only three of its callers deleted it. Every other SELECT leaked its rows, so each session load leaked roughly the size of the book's transaction, split and slot tables; a long-running process that repeatedly opens and closes a SQL book grows without bound. Make GncSqlResultPtr a std::unique_ptr so the result is freed when it goes out of scope, and drop the now-redundant explicit deletes. Now that the GncDbiSqlResult destructor always runs, skip it for a failed query's null dbi_result, which would otherwise log a spurious dbi_result_free error.
Christopher Lam(27 Nov 26)
[gncInvoice.c] plug GList leak
Christopher Lam(27 Nov 26)
Don't narrow signed 64-bit gint64 to (typically) 32-bit int gncEntryCompare, gncInvoiceCompare and gncOrderCompare returned the difference of two time64 values as int. This truncates, and can give the wrong sign or zero, especially with the INT64_MAX sentinel; the subtraction itself can also overflow. Compare the values instead. Unposted invoices and unclosed orders now sort after posted/closed ones when the preceding keys are equal.
Noerr(26 Nov 26)
[backend/dbi] Fix the column separator in create_index_ddl "ddl =+ ", "" assigns ", " to ddl instead of appending it, so an index on more than one column would lose the start of its CREATE INDEX statement. Every index GnuCash creates today has a single column, so the branch has never run.
Noerr(26 Nov 26)
[python-bindings] Release list item references and free returned strings The GList output typemap passed each new SWIG proxy straight to PyList_Append, which takes its own reference, and never released the reference SWIG_NewPointerObj returned. Every element of every list returned to Python therefore leaked its proxy object. Choose the type in the if/else chain, then create the proxy once, append it and Py_DECREF it. If creating or appending fails, drop the partial list and return NULL with the Python exception set; breaking out of the loop rather than jumping to fail keeps the newfree cleanup for %newobject functions. guid_to_string and gnc_numeric_to_string return newly allocated strings, but without %newobject SWIG copies them into Python strings and leaks the originals. Declare them %newobject so the existing gchar* newfree typemap frees them.
Noerr(26 Nov 26)
[bindings] Declare %newobject for engine list/string returns in engine-common.i xaccAccountGetSplitList has returned a newly allocated GList since 3f7a5a8267, and gnc_account_get_full_name, xaccTransGetAPARAcctSplitList and xaccTransGetPaymentAcctSplitList return newly allocated results too. Their %newobject declarations were in engine.i, which only the Guile module includes, so the Python bindings never freed those results: each GetSplitList call leaked a list node per split and each get_full_name call leaked the name. Move the declarations to engine-common.i, which both modules include and which already holds the matching newfree typemaps. Also correct the xaccAccountGetSplitList documentation, which still said the list was the account's internal data and must not be freed.
Noerr(26 Nov 26)
[backend/sql] Memory leak per-transaction edit: Free the property values g_object_get copies for queries GncSqlColumnTableEntry builds INSERT/UPDATE/DELETE values by reading each column in one of two ways: - a QofAccessFunc getter returns the object's own value; - g_object_get returns a copy of a string or boxed property, which the caller must free. The CT_STRING, CT_GUID, CT_TIME, CT_GDATE and CT_NUMERIC add_to_query specializations and the CT_ADDRESS sub-columns never freed those copies, so every committed object leaked them: a two-split transaction leaked its num, description, memos, actions, GUIDs, dates, values and amounts. Free the copy when it came from g_object_get. Object properties need nothing: their getters use g_value_take_object, so the reference g_object_get adds balances the one they give up. Also drop an unused g_object_get of the "start-date" GDate in load_single_sx, which leaked a copy for every scheduled transaction loaded.
Christopher Lam(26 Nov 26)
[Split.cpp] fixup! addendum to 9da65d4493 the logic was breaking if (ta != tb && ta->date_posted == tb->date_posted == INT64_MAX) -- it would return -1 but should return 0 whereby both splits were undated.
Christopher Lam(25 Nov 26)
[Split.cpp] don't call expensive g_object_set use setters which avoid string property lookup, GValue boxing and notify machinery on every setter call.
Christopher Lam(25 Nov 26)
[Split.cpp] missing null check in functions
Christopher Lam(25 Nov 26)
[Split.cpp] xaccSplitOrderDateOnly behaves as a GCompareFunc it should return 0 for identical dates; its only caller uses g_list_sort which does guarantee a stable sort; if xaccSplitOrderDateOnly was called by std::sort it would be UB
Christopher Lam(25 Nov 26)
[Split.cpp] fix unbalanced begin/commit edit there's potential unbalanced beginedit for error conditions
Christopher Lam(24 Nov 26)
[Scrub.cpp] insert missing LEAVE macros for scrub to decrease indent level when leaving function
Christopher Lam(23 Nov 26)
Merge branch 'delete-zero-imbalance' into stable
Christopher Lam(21 Nov 26)
[gtest-scrub] Add tests for zero imbalance split removal
Christopher Lam(21 Nov 26)
[Scrub.cpp] On scrub, remove zero imbalance split Augment xaccTransScrub to destroy a zero imbalance split, unless the split has existing memo or action.
Christopher Lam(23 Nov 26)
[Scrub.cpp] extract make_imbalance_account_name
Christopher Lam(18 Nov 26)
[gnc-flicker-gui.c] clamp challenge length to avoid exceeding bitarray flicker_data() builds the flicker-code bit pattern from a challenge string supplied by the bank's FinTS server. Each loop iteration writes rows i and i+1 of bitarray, but challenge length was unlimited, so an overlong challenge could write past the end of the array. If the prefixed challenge length exceeds G_N_ELEMENTS (bitarray) - 1, log a g_warning and truncate to that limit before the loop runs. Also double bitarray size to fit challenge length. The FinTS spec says 255 bytes and bitarray is an array of nibbles.
Christopher Lam(22 Nov 26)
[gnc-gnome-utils.c] plug GError leak
Robert Fewell(15 Nov 26)
Bug 799741 - Crash trying to open tab context menu with many tabs When using Wayland as the backend, if you left click on a register tab that is coloured and then right click the same tab Gnucash would crash. This seems to stem from adding a GtkEventBox to the tab when displaying the tabs with colours which is no longer needed as there is already a GtkEventBox used for capturing middle mouse button events so remove adding it.
Christopher Lam(14 Nov 26)
[gnc-currency-edit.cpp] size the entry to the longest currency name Track the longest currency name while the list is filled and set the entry's width in characters from it, so the widget is wide enough for every currency and does not resize as the selection changes.
GnuCash Security
GnuCash Website
Website
Free Accounting Software | GnuCash
GnuCash is personal and small-business financial-accounting software, freely licensed under the GNU GPL and available for GNU/Linux, BSD, Solaris, Mac OS X and Microsoft Windows.
Redirects
Does not redirect
Security Checks
All 65 security checks passed
Server Details
- IP Address24.199.76.112
- LocationSanta Clara,California,United States of America,NA
- ISPDigitalOcean LLC
- ASNAS14061
Associated Countries
US
Safety Score
Website marked as safe
100%
Trackers
No known trackers found
Blacklist Check
www.gnucash.org was found on 0 blacklists
- AntiSocial Blacklist
- Artists Against 419
- Badbitcoin
- Bambenek Consulting
- CERT Polska
- CoinBlockerLists
- CRDF
- CryptoScamDB
- EtherAddressLookup
- EtherScamDB
- Fake Website Buster
- MetaMask EthPhishing
- NABP Not Recommended Sites
- OpenPhish
- PetScams
- PhishFeed
- PhishFort
- Phishing.Database
- PhishStats
- PhishTank
- Phishunt
- RPiList Not Serious
- Scam.Directory
- SecureReload Phishing List
- Spam404
- StopGunScams
- Suspicious Hosting IP
- ThreatFox
- ThreatLog
- TweetFeed
- URLhaus
- ViriBack C2 Tracker
Website Preview
GnuCash Reviews
More Secure Budgeting
A local-first personal finance app
Privacy-first cross-platform personal expense tracker (Android/iOS/Web) with offline-first design. Multi-cloud sync options — self-hosted BeeCount Cloud, iCloud, Supabase, WebDAV or S3 — keep data under user control.
A lightweight, self-hosted personal finance app for recording daily transactions and analyzing spending patterns. Self-hosted, with all data staying on your own server. Supports 2FA and OICD.
A free and open source personal finance manager. Firefly III features a clean and clear UI, is easy to set up and use, and is backed by a strong community. Regular updates bring new features, improvements, and fixes. There's also a hass.io addon, and compatibility with Home Assistant. Ensure your server is securely configured.
Utilizes plain text files and scriptable, command-line-friendly software for bookkeeping/accounting, offering full control over data. Popular tools include Ledger, hledger, and Beancount among others, providing a flexible and vendor-independent approach to accounting.
A self-hosted, opensource, privacy-first portfolio tracking and accounting tool for crypto and more. Support for all 3 major Operating systems and docker. The tool focus is on data self-sovereignty.
About the Data: GnuCash
Edit GnuCash Data
You can edit GnuCash's entry in this section of awesome-privacy.yml by submitting a PR to our GitHub repo.
Note that some of the information shown above has been aggregated from external
sources, a list of these can be found data documentation.
Origin Data
Modify Data
API
You can access GnuCash's data programmatically via our API. Simply make a GET request to:
https://api.awesome-privacy.xyz/v1/services/gnucashThe REST API is free, no-auth and CORS-enabled. To learn more, view the API Docs or read the API Usage Guide.
Share GnuCash
Help your friends compare Secure Budgeting, and pick privacy-respecting software and services.
Share GnuCash and Awesome Privacy with your network!
