Lucene search
K

Poppler < 25.10.0 Use-After-Free (GHSL-2025-042)

🗓️ 17 Oct 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 2 Views

Poppler before 25.10.0 has a use-after-free in StructTreeRoot from raw vector pointers; fixed in 25.10.0.

Related
Refs
Code
ReporterTitlePublishedViews
Family
AlpineLinux
CVE-2025-52885
10 Oct 202522:11
alpinelinux
AstraLinux
Astra Linux - уязвимость в poppler
20 May 202605:53
astralinux
Circl
CVE-2025-52885
13 Oct 202519:35
circl
CNNVD
Poppler 资源管理错误漏洞
10 Oct 202500:00
cnnvd
CVE
CVE-2025-52885
10 Oct 202522:11
cve
Cvelist
CVE-2025-52885 GHSL-2025-042: Poppler has Use-After-Free
10 Oct 202522:11
cvelist
Debian CVE
CVE-2025-52885
10 Oct 202522:11
debiancve
EUVD
EUVD-2025-33795
10 Oct 202522:11
euvd
Fedora
[SECURITY] Fedora 43 Update: mingw-poppler-25.07.0-2.fc43
7 Nov 202501:00
fedora
Fedora
[SECURITY] Fedora 42 Update: poppler-25.02.0-6.fc42
27 May 202601:12
fedora
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(270703);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/10/17");

  script_cve_id("CVE-2025-52885");
  script_xref(name:"IAVB", value:"2025-B-0172");

  script_name(english:"Poppler < 25.10.0 Use-After-Free (GHSL-2025-042)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is missing a security update.");
  script_set_attribute(attribute:"description", value:
"The version of Poppler installed on the remote host is prior to 25.10.0. It is, therefore, affected by a vulnerability:

  - Poppler ia a library for rendering PDF files, and examining or modifying their structure. A use-after-free
    (write) vulnerability has been detected in versions Poppler prior to 25.10.0 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. 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. Version
    25.10.0 contains a patch for the issue. (CVE-2025-52885)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://securitylab.github.com/advisories/GHSL-2025-042_poppler/");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Poppler version 25.10.0 or later");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-52885");

  script_set_attribute(attribute:"vuln_publication_date", value:"2025/10/10");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/10/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/10/17");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:freedesktop:poppler");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"MacOS X Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("macos_poppler_installed.nbin");
  script_require_keys("installed_sw/poppler");
  exit(0);
}

include('vdf.inc');

# @tvdl-content
var vuln_data = {
  'metadata': {'spec_version': '1.0'},
  'requires': [
    {'scope': 'target', 'match': {'os': 'macos'}}
  ],
  'checks': [
    {
      'product': {'name': 'poppler', 'type': 'app'},
      'check_algorithm': 'default',
      'constraints' : [
        {'fixed_version' : '25.10.0'}
      ]
    }
  ]
};

var vdf_result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_HOLE);
vdf::handle_check_and_report_errors(vdf_result:vdf_result);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Oct 2025 00:00Current
5.4Medium risk
Vulners AI Score5.4
CVSS 48.6
EPSS0.00028
SSVC
2