See how freedesktop compares to other vendors in security performance
I don't see a CVE id assigned for it yet, but https://gitlab.freedesktop.org/fontconfig/fontconfig/-/releases/2.18.4 identifies the included security fix as:
Fix out-of-bounds access in FcCharSetMerge when merging page 0xffff https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/16aa5c1a372093045ad02736b0ab99e3cfd94f32
which fixes the bug reported as: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/workitems/577
-------- Forwarded Message -------- Subject: 2.18.4 released Date: Wed, 18 Nov 2026 21:57:24 +0900 From: Akira TAGOH <akira () tagoh org> To: fontconfig () lists freedesktop org
Hi,
2.18.4 has been released with some bug fixes and a security fix. Please check out https://gitlab.freedesktop.org/fontconfig/fontconfig/-/releases/2.18.4 for more details and the download link.
If there are any issues you found in this release, please submit an issue to https://gitlab.freedesktop.org/fontconfig/fontconfig/-/workitems/new
Regards, -- Akira TAGOH
A vulnerability was identified in Freedesktop Poppler up to 26.08.0. Affected is the function SplashClip::clipToPath of the file splash/SplashClip.cc. Such manipulation leads to integer overflow. The attack can only be performed from a local environment. The exploit is publicly available and might be used. Upgrading to version 26.09.0 is able to address this issue. The name of the patch is 323c91036d99926a8b90dc14329f7b40aece22f8. It is recommended to upgrade the affected component.
A vulnerability was identified in Freedesktop Poppler up to 26.08.0. Affected is the function SplashClip::clipToPath of the file splash/SplashClip.cc. Such manipulation leads to integer overflow. The attack can only be performed from a local environment. The exploit is publicly available and might be used. Upgrading to version 26.09.0 is able to address this issue. The name of the patch is 323c91036d99926a8b90dc14329f7b40aece22f8. It is recommended to upgrade the affected component.
A vulnerability was determined in Freedesktop Poppler 26.06.0/26.07.0/26.08.0. This impacts the function FoFiTrueType::cvtSfnts of the file fofi/FoFiTrueType.cc. This manipulation causes integer overflow. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. Patch name: 245d3c6823377755f2c1d5fdddd010279c6ed94d. It is suggested to install a patch to address this issue.
A vulnerability was determined in Freedesktop Poppler 26.06.0/26.07.0/26.08.0. This impacts the function FoFiTrueType::cvtSfnts of the file fofi/FoFiTrueType.cc. This manipulation causes integer overflow. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. Patch name: 245d3c6823377755f2c1d5fdddd010279c6ed94d. It is suggested to install a patch to address this issue.
A vulnerability was found in Freedesktop Poppler 26.07.0. The impacted element is the function JBIG2Stream::readCodeTableSeg of the file poppler/JBIG2Stream.cc. Performing a manipulation results in integer overflow. The attack can be initiated remotely. The exploit has been made public and could be used. The patch is named eb87cf711563894649bd0c365baa479401dc6d51. To fix this issue, it is recommended to deploy a patch.
A vulnerability was detected in Freedesktop Poppler 26.07.0. This issue affects the function SampledFunction::SampledFunction of the file poppler/Function.cc of the component SampledFunction. The manipulation of the argument BitsPerSample results in integer overflow. The attack may be performed from remote. The exploit is now public and may be used. The project was informed of the problem early through a bug report but has not responded yet.
A vulnerability was determined in Freedesktop Poppler 26.07.0. This affects the function FoFiTrueType::mapCodeToGID of the file fofi/FoFiTrueType.cc. Executing a manipulation of the argument segCnt can lead to integer overflow. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This patch is called ed2a5538cf0a8d3ff908191eda9b73f91a5f952a. It is advisable to implement a patch to correct this issue.
A flaw has been found in Freedesktop Poppler 26.07.0. Impacted is the function JBIG2Stream::rewind of the file poppler/JBIG2Stream.cc. This manipulation causes null pointer dereference. It is possible to initiate the attack remotely. The exploit has been published and may be used. Upgrading to version 26.08.0 is recommended to address this issue. Patch name: 5e49250f13b0390edeb3f90eb4c02c9941f97067. Upgrading the affected component is advised.
A vulnerability was determined in Freedesktop Poppler 26.07.0. This affects the function FoFiTrueType::mapCodeToGID of the file fofi/FoFiTrueType.cc. Executing a manipulation of the argument segCnt can lead to integer overflow. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This patch is called ed2a5538cf0a8d3ff908191eda9b73f91a5f952a. It is advisable to implement a patch to correct this issue.
A vulnerability was found in Freedesktop Poppler 26.07.0. The impacted element is the function JBIG2Stream::readCodeTableSeg of the file poppler/JBIG2Stream.cc. Performing a manipulation results in integer overflow. The attack can be initiated remotely. The exploit has been made public and could be used. The patch is named eb87cf711563894649bd0c365baa479401dc6d51. To fix this issue, it is recommended to deploy a patch.
A flaw has been found in Freedesktop Poppler 26.07.0. Impacted is the function JBIG2Stream::rewind of the file poppler/JBIG2Stream.cc. This manipulation causes null pointer dereference. It is possible to initiate the attack remotely. The exploit has been published and may be used. Upgrading to version 26.08.0 is recommended to address this issue. Patch name: 5e49250f13b0390edeb3f90eb4c02c9941f97067. Upgrading the affected component is advised.
A vulnerability was detected in Freedesktop Poppler 26.07.0. This issue affects the function SampledFunction::SampledFunction of the file poppler/Function.cc of the component SampledFunction. The manipulation of the argument BitsPerSample results in integer overflow. The attack may be performed from remote. The exploit is now public and may be used. The project was informed of the problem early through a bug report but has not responded yet.
A local attacker with /dev/uinput access can inject arbitrary udev properties through the libinput-device-group helper. Depending on downstream udev rules, this can result in root code execution (e.g. via injected REMOVECMD properties executed at device removal time). REMOVECMD is in the default udev rules and expected to be present on virtually all machines.
An issue was discovered in GStreamer gst-plugins-good before 1.28.2. When parsing MP4 audio tracks, the isomp4 plugin's qtdemuxaudiocaps function does not sufficiently validate atom data before performing division operations, leading to denial of service due to integer division by zero.
An issue was discovered in GStreamer gst-plugins-good before 1.28.2. When parsing MP4 audio tracks, the isomp4 plugin's qtdemuxparsetrak function does not sufficiently validate atom data before performing division operations, leading to denial of service due to integer division by zero.
A flaw was found in libinput. An attacker capable of deploying a Lua plugin file in specific system directories can exploit a dangling pointer vulnerability. This occurs when a garbage collection cleanup function is called, leaving a pointer that can then be printed to system logs. This could potentially expose sensitive data if the memory location is re-used, leading to information disclosure. For this exploit to work, Lua plugins must be enabled in libinput and loaded by the compositor.
A flaw was found in libinput. A local attacker who can place a specially crafted Lua bytecode file in certain system or user configuration directories can bypass security restrictions. This allows the attacker to run unauthorized code with the same permissions as the program using libinput, such as a graphical compositor. This could lead to the attacker monitoring keyboard input and sending that information to an external location.
A flaw was found in polkit. A local user can exploit this by providing a specially crafted, excessively long input to the polkit-agent-helper-1 setuid binary via standard input (stdin). This unbounded input can lead to an out-of-memory (OOM) condition, resulting in a Denial of Service (DoS) for the system.
An incomplete fix for CVE-2024-47778 allows an out-of-bounds read in gstwavparseadtlchunk() function. The patch added a size validation check lsize + 8 > size, but it does not account for the GSTROUNDUP2(lsize) used in the actual offset calculation. When lsize is an odd number, the parser advances more bytes than validated, causing OOB read.
A flaw was found in the udisks storage management daemon that exposes a privileged D-Bus API for restoring LUKS encryption headers without proper authorization checks. The issue allows a local unprivileged user to instruct the root-owned udisks daemon to overwrite encryption metadata on block devices. This can permanently invalidate encryption keys and render encrypted volumes inaccessible. Successful exploitation results in a denial-of-service condition through irreversible data loss.
A flaw was found in the udisks storage management daemon that allows unprivileged users to back up LUKS encryption headers without authorization. The issue occurs because a privileged D-Bus method responsible for exporting encryption metadata does not perform a policy check. As a result, sensitive cryptographic metadata can be read and written to attacker-controlled locations. This weakens the confidentiality guarantees of encrypted storage volumes.
https://securitylab.github.com/advisories/GHSL-2025-042poppler/ advises: Coordinated Disclosure Timeline
2025-04-03: Reported as a private issue: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1580 2025-09-03: Created a merge request with our suggested fix: https://gitlab.freedesktop.org/poppler/poppler/-/mergerequests/1884 2025-29-09: Fixed merged https://gitlab.freedesktop.org/poppler/poppler/-/mergerequests/1884#note3114334
Summary
A use-after-free (write) vulnerability has been detected in Poppler within the StructTreeRoot class. The issue arises from the use of raw pointers to elements of a std::vector, which can lead to dangling pointers when the vector is resized.
Project
poppler
Tested Version
25.02.0
Details
Use-After-Free (write) in StructTreeRoot::parentTreeAdd (GHSL-2025-042)
The vulnerability stems from the way that refToParentMap stores references to std::vector elements using raw pointers. These pointers may become invalid when the vector is resized.
This vulnerability is a common security problem involving the use of raw pointers to std::vectors. Internally, std::vector stores its elements in a dynamically allocated array. When the array reaches its capacity and a new element is added, the vector reallocates a larger block of memory and moves all the existing elements to the new location. At this point if any pointers to elements are stored before a resize occurs, they become dangling pointers once the reallocation happens.
The affected method is StructTreeRoot::parseNumberTreeNode in the file poppler/StructTreeRoot.c, and specifically, the following code snippet:
int keyVal = key.getInt(); std::vector<Parent> &vec = parentTree[keyVal]; //Get the vector reference ... vec.resize(valueArray.arrayGetLength()); //vector resize (and posible new allocation) happens ... refToParentMap.insert(std::pair<Ref, Parent >(ref, &vec[j])); //inserts a reference to 'vec' into the std::multimap
In this code snippet, a pointer to an element of vec is inserted into refToParentMap (see line 149). However, in subsequent iterations the vector may be resized (as seen on line 143), which frees the previously allocated memory and allocates new memory. As a result, the old pointer remains in refToParentMap and becomes a dangling pointer.
Impact
It’s possible that this use-after-free bug could be exploited to achieve code execution in poppler.
CWEs
CWE-416: “Use After Free”
CVE
CVE-2025-52885
Credit
This issue was discovered and reported by GHSL team member @antonio-morales (Antonio Morales).
Contact
You can contact the GHSL team at securitylab () github com, please include a reference to GHSL-2025-042 in any communication regarding this issue. -- -Alan Coopersmith- alan.coopersmith () oracle com Oracle Solaris Engineering - https://blogs.oracle.com/solaris
Hi,
Thank you Marco and Tomášor handling this disclosure so well!
I'll add below a little piece of discussion from the distros list, which I think may be helpful to a wider audience.
On Thu, Aug 28, 2025 at 04:41:50PM +0200, Tomáš Bžatek wrote: On Wed, 2025-08-27 at 23:01 +0200, Solar Designer wrote: I looked a bit into exposure of this vulnerability for attack:
I checked a few Linux server systems, and I do not see udisks running anywhere by default, but simply running:
$ udisksctl monitor Monitoring the udisks daemon. Press Ctrl+C to exit. 22:49:43.365: The udisks-daemon is running (name-owner :1.49).
as an unprivileged user ssh'ed in remotely gets udisksd started as root e.g. on Rocky Linux 9 and on an old Fedora, so it's exposed for attack anyway. The user isn't a sudoer and isn't in group wheel. UDisks is primarily a D-Bus daemon and set for autoactivation through its well-known name and there's a D-Bus service policy file for that. It can be started via an initscript/systemd unit as well, that's up to distro discretion. The below also works to get udisksd started as root, but requires the user to be in group wheel and to re-authenticate:
$ systemctl start udisks2 ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ==== Authentication is required to start 'udisks2.service'. Authenticating as: user Password: ==== AUTHENTICATION COMPLETE ====
Trying to actually trigger the bug from the provided Python script (the crash one) as a user ssh'ed in remotely to Rocky Linux 9, I get:
gi.repository.GLib.GError: g-io-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation (36)
So maybe it's not fully exposed even if the user can start udisksd on demand. When I ran the script as root, it crashed udisksd just fine.
What are the permissions commonly required for this? Access is guarded through Polkit rules, in this case: Tomáš provided a link to latest revision, but here's one updated to point to the current revision specifically (so that it stays valid):
https://github.com/storaged-project/udisks/blob/b495ae587662747b373b5d32c284529e048aebf8/data/org.freedesktop.UDisks2.policy.in#L183-L192
<action id="org.freedesktop.udisks2.loop-setup"> <description>Manage loop devices</description> <message>Authentication is required to set up a loop device</message> <defaults> <allowany>authadmin</allowany> <allowinactive>authadmin</allowinactive> <!-- NOTE: this is not a DoS because we are using /dev/loop-control --> <allowactive>yes</allowactive> </defaults> </action> So really depends how is your session classified and yes, the attack surface is slightly lower for non-local seats. However, combine it with other CVEs, notably CVE-2025-6018, and you have a bigger problem. CVE-2025-6018: LPE from unprivileged to allowactive in SUSE 15's PAM https://www.openwall.com/lists/oss-security/2025/06/17/4 For the potential privilege escalation attack, is the negatively indexed fd located within the same heap object or a different one? Would e.g. a guard page before the allocation, such as planted by hardenedmalloc, affect the ability to mount this attack? (We're actually running with hardenedmalloc in CIQ's RLC-H product.) I'm not a security expert and this spans to the glib code (gunixfdlistget) as well. Would it be good practice to exclude udisks2 from default installs of server systems? I tried "rpm -e udisks2" on Rocky Linux 9 and it just completed, meaning there were no dependencies on this package (at least known to RPM). It's not really needed for minimal installs, it's used primarily by desktop environments and server management consoles like Cockpit. For RHEL specifically, its inclusion by default AND udisks2.service being enabled by default is mostly historic relic I guess. Thanks again,
Alexander
An issue in the pdfseparate utility of freedesktop poppler v25.04.0 allows attackers to cause an infinite recursion via supplying a crafted PDF file. This can lead to a Denial of Service (DoS).
Hi Alan,
Thanks for posting this one! I didn't send it to the list myself because I don't think it's realistically exploitable: it takes too long to trigger the integer overflow. But for anybody who's interested, the poc is here:
https://github.com/github/securitylab/tree/main/SecurityExploits/freedesktop/poppler-CVE-2025-52886
Thanks,
Kev
On Sat, Jul 12, 2025 at 12:01 AM Alan Coopersmith <alan.coopersmith () oracle com> wrote: https://securitylab.github.com/advisories/GHSL-2025-054poppler/ advises: July 1, 2025 GHSL-2025-054: Use After Free (UAF) in Poppler - CVE-2025-52886 Author Kevin Backhouse
Coordinated Disclosure Timeline
2025-04-03: Reported as a private issue: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1581 2025-06-02: Fixed by limiting the maximum number of annots: https://gitlab.freedesktop.org/poppler/poppler/-/mergerequests/1828 2025-06-03: Issue made publicly visible: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1581 2025-06-03: Poppler 25.06.0 released: https://gitlab.freedesktop.org/poppler/poppler/-/tree/poppler-25.06.0?reftype=tags
Summary
poppler uses std::atomicint for reference counting. Because it is only 32 bits, it is possible to overflow the reference count and trigger a use-after-free.
Project
poppler
Tested Version
25.02.0
Details
Use-after-free due to reference count integer overflow (GHSL-2025-054)
poppler uses the type std::atomicint for reference counting in four locations:
Annot.h Array.h Dict.h Stream.h
Because std::atomicint is only 32 bits, it’s possible to overflow one of these reference counts, which can lead to a use-after-free memory corruption vulnerability.
We have included a proof of concept which triggers an integer overflow on the reference count in Annot.h. The poc file is only 3.1KB in size, but contains a stream which decompresses to an array of annotations of size 0x1000000. That array is referenced by 0x100 pages, which causes the reference count on the annotation to be incremented 0x100000000 times, so it wraps around to zero and the annotation is deleted. Run the poc like this:
pdftohtml GHSL-2025-054popplerrefcount.pdf
Impact
It’s possible that this use-after-free bug could be exploited to achieve code execution in poppler. However, in our testing it took 12 hours to trigger the use-after-free, so in practice the risk of exploitation is low.
CWEs
CWE-190: “Integer Overflow or Wraparound” CWE-416: “Use After Free” CWE-911: “Improper Update of Reference Count”
CVE
CVE-2025-52886
Credit
This issue was discovered and reported by GHSL team member @kevinbackhouse (Kevin Backhouse).
Contact
You can contact the GHSL team at securitylab () github com, please include a reference to GHSL-2025-054 in any communication regarding this issue. -- -Alan Coopersmith- alan.coopersmith () oracle com Oracle Solaris Engineering - https://blogs.oracle.com/solaris
https://securitylab.github.com/advisories/GHSL-2025-054poppler/ advises: July 1, 2025 GHSL-2025-054: Use After Free (UAF) in Poppler - CVE-2025-52886 Author Kevin Backhouse
Coordinated Disclosure Timeline
2025-04-03: Reported as a private issue: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1581 2025-06-02: Fixed by limiting the maximum number of annots: https://gitlab.freedesktop.org/poppler/poppler/-/mergerequests/1828 2025-06-03: Issue made publicly visible: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1581 2025-06-03: Poppler 25.06.0 released: https://gitlab.freedesktop.org/poppler/poppler/-/tree/poppler-25.06.0?reftype=tags
Summary
poppler uses std::atomicint for reference counting. Because it is only 32 bits, it is possible to overflow the reference count and trigger a use-after-free.
Project
poppler
Tested Version
25.02.0
Details
Use-after-free due to reference count integer overflow (GHSL-2025-054)
poppler uses the type std::atomicint for reference counting in four locations:
Annot.h Array.h Dict.h Stream.h
Because std::atomicint is only 32 bits, it’s possible to overflow one of these reference counts, which can lead to a use-after-free memory corruption vulnerability.
We have included a proof of concept which triggers an integer overflow on the reference count in Annot.h. The poc file is only 3.1KB in size, but contains a stream which decompresses to an array of annotations of size 0x1000000. That array is referenced by 0x100 pages, which causes the reference count on the annotation to be incremented 0x100000000 times, so it wraps around to zero and the annotation is deleted. Run the poc like this:
pdftohtml GHSL-2025-054popplerrefcount.pdf
Impact
It’s possible that this use-after-free bug could be exploited to achieve code execution in poppler. However, in our testing it took 12 hours to trigger the use-after-free, so in practice the risk of exploitation is low.
CWEs
CWE-190: “Integer Overflow or Wraparound” CWE-416: “Use After Free” CWE-911: “Improper Update of Reference Count”
CVE
CVE-2025-52886
Credit
This issue was discovered and reported by GHSL team member @kevinbackhouse (Kevin Backhouse).
Contact
You can contact the GHSL team at securitylab () github com, please include a reference to GHSL-2025-054 in any communication regarding this issue. -- -Alan Coopersmith- alan.coopersmith () oracle com Oracle Solaris Engineering - https://blogs.oracle.com/solaris
Poppler is a PDF rendering library. Versions prior to 25.06.0 use std::atomicint for reference counting. Because std::atomicint is only 32 bits, it is possible to overflow the reference count and trigger a use-after-free. Version 25.06.0 patches the issue.
Last updated 30 April 2025
A floating-point exception in the PSStack::roll function of Poppler before 25.04.0 can cause an application to crash when handling malformed inputs associated with INTMIN.