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
    What is another word for ruin? | Ruin Synonyms - WordHippo Thesaurus
    Is it OK to miss a leg of my flight? | BudgetAir.com Blog
    Katie Pavlich Bikini Photos
    Gamevault Agent
    Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
    Free Atm For Emerald Card Near Me
    Craigslist Mexico Cancun
    Hendersonville (Tennessee) – Travel guide at Wikivoyage
    Doby's Funeral Home Obituaries
    Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
    Select Truck Greensboro
    Things To Do In Atlanta Tomorrow Night
    How To Cut Eelgrass Grounded
    Pac Man Deviantart
    Alexander Funeral Home Gallatin Obituaries
    Craigslist In Flagstaff
    Shasta County Most Wanted 2022
    Energy Healing Conference Utah
    Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
    Aaa Saugus Ma Appointment
    Geometry Review Quiz 5 Answer Key
    Walgreens Alma School And Dynamite
    Bible Gateway passage: Revelation 3 - New Living Translation
    Yisd Home Access Center
    Home
    Shadbase Get Out Of Jail
    Gina Wilson Angle Addition Postulate
    Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
    Walmart Pharmacy Near Me Open
    Dmv In Anoka
    A Christmas Horse - Alison Senxation
    Ou Football Brainiacs
    Access a Shared Resource | Computing for Arts + Sciences
    Pixel Combat Unblocked
    Cvs Sport Physicals
    Mercedes W204 Belt Diagram
    Rogold Extension
    'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
    Teenbeautyfitness
    Weekly Math Review Q4 3
    Facebook Marketplace Marrero La
    Nobodyhome.tv Reddit
    Topos De Bolos Engraçados
    Gregory (Five Nights at Freddy's)
    Grand Valley State University Library Hours
    Holzer Athena Portal
    Hampton In And Suites Near Me
    Stoughton Commuter Rail Schedule
    Bedbathandbeyond Flemington Nj
    Free Carnival-themed Google Slides & PowerPoint templates
    Otter Bustr
    Selly Medaline
    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.