RCE in Gnupg

(lists.gnupg.org)

77 points | by gdgghhhhh 4 hours ago

8 comments

  • uptrails 1 hour ago
    Reportedly fixed by Red Hat 5 years ago based on the output from conventional tools, but missed by upstream: https://gitlab.com/redhat/centos-stream/rpms/gpgme/-/blob/c9...
  • miduil 2 hours ago

           This vulnerability was discovered by Johan Carlsson and we were informed by GitLab on 2026-11-12.
           Initially we set 2026-11-25 for a coordinated disclosure;
           due to the new Ruby2Shell bug GitLab had to update earlier
           and thus we also disclosed the GPGME bug on 2026-11-20.
    
    I guess pretty important for GitLab since it supports signed commits, code execution in that path is pretty bad.

    You can find the GitLab Omnibus related patch here: https://gitlab.com/gitlab-org/omnibus-gitlab/-/commit/279ac3...

  • Velocifyer 1 minute ago
    This is a reminder that Seqouia-PGP exists, and its 'sq' CLI is way more intuitive.
  • mik1998 56 minutes ago
    It's a double free bug, not an RCE chain. Are these vulnerability reports intentionally overstated?
    • gdgghhhhh 49 minutes ago
      Sending somebody a signed message and trigger a double free is a prime example for RCE
      • kuroguro 32 minutes ago
        RCE might be possible, you still need to overlay something useful in the freed memory and bypass ASLR.
        • Deeg9rie9usi 28 minutes ago
          The mail says "Exploiting this bug to mount an Remote Code Execution attack (RCE) can't be ruled out.". They didn't write this just for fun. gnupg usually downplays security issues.
          • kuroguro 13 minutes ago
            I'd say that is as accurate as they can be. Since it's a library and it's a heap bug they have no idea how a particular application will be affected.

            It's still a critical bug, just would not call it a prime example of rce.

          • Sopel 13 minutes ago
            it can't be ruled out that an RCE exists in other parts of this software either
      • gsich 38 minutes ago
        poc needed.
        • Deeg9rie9usi 35 minutes ago
          IMHO, these days any kind of UB has to be considered exploitable by an LLM. The times of debating whether something is exploitable or not are over.
          • gsich 28 minutes ago
            We are having this debate right now. So it's far from over. Without PoC it's unclear if it's RCE or just overhyped bullshit. See PHP or Nginx "RCE" which required specific crafted settings for it to even work. A video is not a "PoC".

            If you believe an LLM can generate an exploit for this - feel free to post one.

            • o_-_o 4 minutes ago
              I agree PoC's should be a requirement for all this exploits.
  • usr1106 9 minutes ago
    Editorialized submission title to be better bait.

    The correct title is: GnuPG Security Advisory for GPGME

  • usr1106 1 hour ago
    What are practical attack vectors for Linux workstations and servers?

    The masses of internet users don't know what GPG is. I'd caim the majority of software developers don't have a GPG key and never explicitly verify any signature.

    But packages of many distros are verified using GPG. Is the vulnerable component involved or not?

    • lazka 6 minutes ago
      Arch Linux uses gpgme to verify downloaded packages (and optionally, package databases) for example.
    • OJFord 28 minutes ago
      Potentially package update/installation? A lot of people use gpg without knowing it.

      It's specifically in 'GPGME' though, so more limited scope I think.

      • usr1106 18 minutes ago
        That was my question. Where is gpgme used? Any "unexpected" places?
    • gdgghhhhh 1 hour ago
      PGP mail?
      • Geezus_42 56 minutes ago
        Which almost no one uses.
        • gdgghhhhh 48 minutes ago
          Wrong bubble ;-)
          • Geezus_42 3 minutes ago
            If only people in a certain bubble use it, then almost no one actually uses it.
  • mmsc 51 minutes ago
    The vulnerability is in GpgME (the library), not GnuTLS (the library).
  • legsrunny 2 hours ago
    more or less than 0 impacted systems?