back to article PNG pongs: critical bug patched in ubiquitous libpng

This will not be fun: the graphics processing library libpng has a vulnerability and needs to be patched. The problem for that is that libpng is everywhere – in browsers, anything that processes photos to produce thumbnails, file browsers, music players, in applications in every operating system. The bug is a simple denial-of …

  1. Chris Gray 1
    Linux

    patching...

    So, the good folks working on Ubuntu will have patches for my computer in a day or two.

    My phone, however, will quite possibly never get a patch (over 2 years old).

    Anyone know how patches for Ubuntu phones are handled?

    1. Cirdan
      Linux

      Re: patching...

      Ubuntu phone patches?

      It's open source, baby! Compile your own!

      (Yeah, no, me neither... I could, but...)

      ...Cirdan...

      1. Anonymous Coward
        Linux

        Re: patching...

        And don't forget to make the patches available to others...

        1. Vic

          Re: patching...

          And don't forget to make the patches available to others...

          libpng is distributed under the zlib license. It does not require you to pass on source under any conditions.

          Vic.

          1. Anonymous Coward
            Anonymous Coward

            Re: patching...

            Sure -- just get the carriers to agree...

  2. This post has been deleted by its author

  3. cantankerous swineherd

    just the 18 libpng*.dll on my machine.

    biggest wtf? one of them belongs to bleachbit :-(

    1. Anonymous Coward
      Anonymous Coward

      ?

      What are you trying to tell us?

  4. Anonymous South African Coward Bronze badge

    expect some ne'er-do-well to combine stagefright and all the other fun android packages into one...

  5. Charlie Clark Silver badge

    News?

    This will not be fun: the graphics processing library libpng has a vulnerability and needs to be patched.

    Why should it be fun?

    Why is it news? It's news if the patches aren't available. But they are.

    1. Anonymous Coward
      Anonymous Coward

      Re: News?

      Well, on systems that don't handle multiple versions of global libraries very well ("DLL hell"), developers tend to statically link libraries in with their own executable. Especially insignificant ones like libpng. Therefore, libpng becomes part of their application rather than an external library.

      Now good luck identifying which proprietary applications use libpng, and then getting them to fixed their software.

  6. Anonymous Coward
    Anonymous Coward

    Not Android, not chrome, both use other PNG libraries unaffected, ASLR will also mitigate it in the real world

  7. phil dude
    Coat

    sourceforge....

    I thought they closed down?

    I mean, my browser screams warnings when I go to their site....

    P.

  8. IJC
    Mushroom

    So all those eyeballs missed another one?

    So how is open source more secure again? How do all those extra eyes for testing work?

    If this was Windows all the Linux kiddies would be screaming from the rooftops about how bad MS are.

    Bunch of hypocrites.

    Roll on the down votes, bigots.

    1. John Brown (no body) Silver badge

      Re: So all those eyeballs missed another one?

      "If this was Windows"...you'd get an anonymous "fix" "next Tuesday", (but which month?) that may or may not let you know that your system was more vulnerable than usual for the last n months

      And "bigot?" You don't know what that word means if you think it applies here.

    2. Anonymous Bullard
      WTF?

      Re: So all those eyeballs missed another one?

      So how is open source more secure again? How do all those extra eyes for testing work?

      Huh? The bug was found, a fix was made before the announcement, everyone can see exactly where the bug was and can learn from it. That's open source working its magic. The extra eyeballs spotted something.

      If it were proprietary, the bug would still exist. Those few with access to the source code are too busy implementing new features to audit old code - they might not even have the skills to. The only way for an outsider to spot that bug would be to reverse engineer the binary and the vast majority of people who are motivated enough to do that don't do it for the benefit of the community.

      And let's say someone with good intentions did raise the alarm... how soon would a patch be made? Would it even be made public (in fear of bad PR)?

      In this instance, the extra eyes have just done their job. The more eyes mean more bugs found, resulting in the product being more secure as time moves on. How can someone potentially in the IT industry be naive enough to mock that?

      Another point, I bet there is plenty of proprietary software out there that has libpng statically linked (the library is embedded in the executable). How are we supposed to identify which applications, and who's going to fix it?

      [side note: Even Microsoft have started to realise the strength of open source]

  9. John Brown (no body) Silver badge

    In everything?

    Oh, so that's why the PNG port was the only thing I had to update this morning. "Everything" else just loads libpng as and when they need it. Why would software hard code an external library into itself?

    1. Anonymous Coward
      Anonymous Coward

      Re: In everything?

      "Why would software hard code an external library into itself?"

      Ease of deployment.

      Consider operating systems that don't have a central software repository or a working shared library environment. When deploying to these platforms, your installation routine can't just say "Hey, I need libpng - make it so!". So, you either bundle the library with yours (requiring more baggage), or just glue it to your exe and forget about it.

  10. Chris Gray 1
    Thumb Up

    Ubuntu patched this morning

    For the record, the patches came through from Ubuntu this morning. I'm in western

    Canada for timezone.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon