When are you allowed to decompile software? (2024)

11 Nov 2021

Software development is a complicated process with many hurdles along the way. That is why virtually every software user will have to deal with a bug or defect at some point. Usually, the flaw can be fixed with a simple update. If the software developer is no longer contractually obliged to release updates, it remains to be seen whether they will voluntarily solve the problem. Under certain – strict – conditions, end users can then take matters into their own hands and decompile the software. This blog takes a closer look at the legal aspects of decompilation, based on the recent judgment of the Court of Justice of the European Union (CJEU).

What is decompilation?

Software is initially written in source code: the programming language that can be read by humans. However, a computer cannot understand these instructions. That is why the source code must first be transcribed into a functional format that the computer can read: object code. This is done by means of a specific program called a compiler. The process of converting source code to object code is known as compilation.

With decompilation, the opposite happens. By using a decompiler, the source code is reconstructed from the target code. This does not result in the original source code, but in a 'quasi source code' that is very similar to it. The end user can use this quasi source code to make a version of the software in which the errors have been corrected.

However, the option to decompile software does not offer end users carte blanche: it remains a duplication of the software (in modified form) that usually requires permission from the copyright owner. The conditions under which decompiling is permitted are set out by the CJEU in Top Systems v. Belgian State, which will be discussed below.[1]

The preceding events

Top System is a software development company. It has developed several software applications for Selor, an agency that takes care of the selection and recruitment of employees for various Belgian government entities. The software applications made use of functionalities that were derived from the framework work that was developed by Top System. This framework later turned out to be the cause of several operational problems.

Selor and Top System were unable to reach an agreement on how to resolve these complications. Eventually, Selor took matters into their own hands and decompiled the target code, after which Selor used the quasi source code to correct most of the errors. In doing so, Selor had to disable a number of functionalities from the other software applications. As the copyright owner, Top System believes that Selor has acted in violation of its exclusive right to reproduce the software.

CJEU: Decompilation is allowed for necessary improvements

The CJEU states that according to Directive 2009/24/EC (hereafter: “the Software Directive”), reproduction and translation of any code form (i.e. decompilation) is an exclusive right of the copyright owner.[1] The lawful purchaser may only decompile the software without prior authorization from the copyright owner, if this is necessary to run the software in accordance with its intended purpose or to correct any errors that prevent said use.

Correct errors

The lawful purchaser is only allowed to correct errors that impair the ability to use the software in accordance with its intended purpose. Corrections may also consist of disabling certain functionalities, if this allows the program to be reused for its intended purpose.

The CJEU also explicitly distinguishes between decompiling for the purpose of correcting errors and decompiling for the purpose of compatibility. The latter is only allowed if compatibility with another independently created program cannot be achieved in any other way.

Necessary

Decompilation as measure also needs to be absolutely necessary in order to be able to use the program for its intended purpose. The lawful purchaser is therefore not allowed to use the quasi source code for any other purposes. Decompilation is also unnecessary if and when the original source code is legally or contractually accessible to the lawful purchaser.

On the basis of Article 5, paragraph 1 of the Software Directive, both parties can make specific arrangements regarding the way in which errors should be corrected. One could think of an arrangement whereby the software developer maintains and corrects the software for a certain period of time. However, it is not permitted to completely exclude the ability to correct errors by contract.

What does this mean in practice?

The lawful purchaser may decompile a computer program - without prior authorization from the copyright owner - if this is necessary to run the software in accordance with its intended purpose or to correct errors that affect said use. In doing so, the following should be taken into account:

  • Identify if an error is preventing you from using a software application for its intended purpose.
  • Check whether decompiling the software is possible and necessary. Take a closer look at the contractual obligations of both parties and the legal bases on which the lawful purchaser can rely: perhaps the original source code is legally or contractually accessible.
  • When correcting errors it is also allowed to disable certain functions, if those functionalities prevent you from using the software for its intended purpose.

Here you can find the dutch version.

[1] CJEU 6th of October 2021, ECLI:EU:C:2021:811 (Top Systems/Belgian State).

[2] Article 4 sub a and b jo. 6 paragraph 1 Software Directive.

When are you allowed to decompile software? (1)

BG legal

When are you allowed to decompile software? (2)When are you allowed to decompile software? (3) When are you allowed to decompile software? (4)

    When are you allowed to decompile software? (2024)

    FAQs

    When are you allowed to decompile software? ›

    When the interface specification has not been made accessible, decompilation and disassembly are permitted for interoperability with another piece of software or hardware. Decompilation and disassembly are permitted for error correction when the copyright owner is not available to make the necessary corrections.

    Is it legal to decompile software? ›

    The lawful purchaser may decompile a computer program - without prior authorization from the copyright owner - if this is necessary to run the software in accordance with its intended purpose or to correct errors that affect said use.

    Is decompiling an app illegal? ›

    However, decompiling a program to circumvent a system that controls access to copyrighted work is considered illegal.

    Can a program be decompiled? ›

    Introduction. The term decompiler is most commonly applied to a program which translates executable programs (the output from a compiler) into source code in a (relatively) high level language which, when compiled, will produce an executable whose behavior is the same as the original executable program.

    Is it legal to reverse engineer a product? ›

    Reverse engineering is generally legal. In trade secret law, similar to independent developing, reverse engineering is considered an allowed method to discover a trade secret. However, in patent law, because the patent owner has exclusive rights to use, own or develop the patent, reverse engineering is not a defense.

    Is decompiling a crime? ›

    Decompiling is absolutely legal, regardless of what the shills say. At most, you can be sued for unauthorized activity relating to software unless you're redistributing it.

    Is it illegal to pirate editing software? ›

    Yes, pirated software is illegal.

    Can obfuscated code be decompiled? ›

    The results show that it is possible to reverse engineer obfuscated code but some parts. Obfuscation does protect the code, as all the variable names are changed and every unused method are removed, as well as some methods changed to non-con- ventional ways to program.

    How do I stop an APK from being decompiled? ›

    Strategies to Protect Your APK
    1. Obfuscation. Using tools like ProGuard can obfuscate your code, making it more difficult to read when decompiled. ...
    2. Native Libraries. Consider moving critical parts of your application to native libraries written in C or C++. ...
    3. Encryption. ...
    4. Server-Side Processing. ...
    5. Anti-Debugging Techniques.
    Jun 6, 2024

    Is a Java decompiler legal? ›

    Is using a Java decompiler legal? A1: Yes, using a Java decompiler for educational or debugging purposes is generally legal. However, always respect copyright and licensing agreements when decompiling third-party code.

    Why is decompilation difficult? ›

    Decompilation is a challenging task because the compiled code lacks certain high-level constructs, variable names, and comments present in the original source code.

    How accurate is decompiled code? ›

    Semantic evaluation results show that the state-of-the-art decompiler Hex-Rays has about 55% accuracy at almost all optimization, which contradicts the common belief among many reverse engineers that decompilers are usually accurate.

    Is it possible to decompile EXE files? ›

    You don't decompile an exe file, you disassemble it - it's machine language, not C++.

    What is the right to decompile software? ›

    The right to decompile (or effectively reverse-engineer) a program if, broadly, it is necessary in order to operate the program with another program. This right cannot be excluded by contract (section 50B, CDPA). The right to make a back-up copy of a program if necessary (as opposed to prudent) for its lawful use.

    Are reverse engineering apps illegal? ›

    Owner's consent: Reverse engineering is usually legal if it is performed on products, systems or software to which the person or company conducting analysis has the legal right to access (purchased it) or the owner's consent.

    Is reverse engineering theft? ›

    In certain cases (countries), reverse engineering can be legal and serve as an important tool for research, development and innovation. In other cases, it can infringe on copyrights, intellectual property or license agreements.

    Is it legal to modify open source software? ›

    Anyone else can take the software and use it, modify it, or even sell it as their own. If they sell it, they can sell their copy under any sort of license they desire. It can be open.

    Are decompilation projects legal? ›

    Decompiling is absolutely LEGAL, regardless of what the shills say.

    Is it illegal to clone software? ›

    For software this means it is illegal to copy or distribute software, or its documentation, without the permission of the copyright holder.

    Is unauthorized copying of software a crime? ›

    Copying software is an act of copyright infringement and is subject to civil and criminal penalties. It's illegal whether you use the copied software yourself, give it away, or sell it. And aiding piracy by providing unauthorized access to software or to serial numbers used to register software can also be illegal.

    Top Articles
    Albert
    12.17.20 Insurance Commissioner Donelon Explains Supplemental Claims Process at Legislative Hearing
    Pieology Nutrition Calculator Mobile
    Practical Magic 123Movies
    AB Solutions Portal | Login
    Tribune Seymour
    Celsius Energy Drink Wo Kaufen
    Troy Athens Cheer Weebly
    Ivegore Machete Mutolation
    Sivir Urf Runes
    9044906381
    Log in or sign up to view
    Water Days For Modesto Ca
    2020 Military Pay Charts – Officer & Enlisted Pay Scales (3.1% Raise)
    Buy Swap Sell Dirt Late Model
    Apply for a credit card
    Arre St Wv Srj
    [Cheryll Glotfelty, Harold Fromm] The Ecocriticism(z-lib.org)
    Crawlers List Chicago
    Touchless Car Wash Schaumburg
    How Long After Dayquil Can I Take Benadryl
    Xfinity Cup Race Today
    Albert Einstein Sdn 2023
    Jackie Knust Wendel
    From This Corner - Chief Glen Brock: A Shawnee Thinker
    Unable to receive sms verification codes
    27 Modern Dining Room Ideas You'll Want to Try ASAP
    The Eight of Cups Tarot Card Meaning - The Ultimate Guide
    800-695-2780
    Restaurants In Shelby Montana
    Delete Verizon Cloud
    *!Good Night (2024) 𝙵ull𝙼ovie Downl𝚘ad Fr𝚎e 1080𝚙, 720𝚙, 480𝚙 H𝙳 HI𝙽DI Dub𝚋ed Fil𝙼yz𝚒lla Isaidub
    Indiana Immediate Care.webpay.md
    Does Iherb Accept Ebt
    Personalised Handmade 50th, 60th, 70th, 80th Birthday Card, Sister, Mum, Friend | eBay
    Toonily The Carry
    Pinellas Fire Active Calls
    Aliciabibs
    Mvnt Merchant Services
    301 Priest Dr, KILLEEN, TX 76541 - HAR.com
    Noaa Marine Weather Forecast By Zone
    Noaa Duluth Mn
    Vintage Stock Edmond Ok
    Makes A Successful Catch Maybe Crossword Clue
    The Great Brian Last
    Unblocked Games - Gun Mayhem
    The Blackening Showtimes Near Ncg Cinema - Grand Blanc Trillium
    Wood River, IL Homes for Sale & Real Estate
    Bbwcumdreams
    Used Curio Cabinets For Sale Near Me
    Volstate Portal
    Latest Posts
    Article information

    Author: Laurine Ryan

    Last Updated:

    Views: 6106

    Rating: 4.7 / 5 (77 voted)

    Reviews: 92% of readers found this page helpful

    Author information

    Name: Laurine Ryan

    Birthday: 1994-12-23

    Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

    Phone: +2366831109631

    Job: Sales Producer

    Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

    Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.