p PatchFirst

CVE-2026-19548

CVE-2026-19548 · Binutils: binutils: multiple use-after-free in add_archive_element via lto plugin processing

CVSS 5.5 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Multiple Use-After-Free vulnerabilities were found in the add_archive_element function in ld/ldmain.c of the GNU linker (ld), a component of binutils. The root cause is that plugin_maybe_claim() in ld/plugin.c frees the original BFD object via bfd_close/_bfd_delete_bfd when entry->the_bfd->my_archive == NULL, but the caller retains both the original abfd parameter and a shallow copy (orig_input.the_bfd) as dangling pointers. These dangling pointers are subsequently dereferenced at three distinct locations in add_archive_element:

1. Line ~1442: accessing abfd->my_archive via bfd_usrdata(abfd->my_archive) 2. Line ~1493: multiple accesses to abfd and abfd->my_archive in a conditional check and bfd_get_filename call 3. Line ~1525: dereferencing the shallow copy orig_input.the_bfd->my_archive in trace/verbose logging

The vulnerability is triggered when LTO plugins are active (link_info.lto_plugin_active is true) and the input object has abfd->my_archive == NULL, which is a valid state for standalone object files. Red Hat builds binutils with --enable-plugins and --enable-lto, confirming the vulnerable code path is compiled in and reachable.

An attacker who can supply a crafted object or archive file to a build process using LTO-enabled linking could exploit this flaw to cause a denial of service (linker crash via segmentation fault). Arbitrary code execution is theoretically possible through heap manipulation but is substantially mitigated by hardening measures including stack protector, FORTIFY_SOURCE, ASLR, and PIE.

The attack surface is limited to build-time environments — the linker is a development tool not exposed in production runtime. The most realistic exploitation scenario is a supply chain attack introducing a crafted object file as a build dependency in CI/CD pipelines or development environments.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • red hat hardened images

    Versions
    • ≥ 2.46.1-1.4.hum1: Not affected (rpm)

    No fix published

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 6

    No fix published

  • red hat enterprise linux 7

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • red hat openshift ai (rhoai)

    No fix published

  • red hat openshift container platform 4

    No fix published

  • red hat openshift container platform 5

    No fix published

  • binutils Debian 12

    Versions
    • 2.40-2
    • 2.40.50.20230111-1
    • 2.40.50.20230215-1
    • 2.40.50.20230501-1
    • 2.40.50.20230510-1
    • 2.40.50.20230602-1
    All versions (130)
    • 2.40.50.20230611-1
    • 2.40.50.20230611-2
    • 2.40.50.20230622-1
    • 2.40.50.20230625-1
    • 2.40.50.20230630-1
    • 2.40.90.20230705-1
    • 2.40.90.20230714-1
    • 2.40.90.20230714-2
    • 2.40.90.20230720-1
    • 2.40.90.20230729-1
    • 2.40.90.20230729-2
    • 2.41-1
    • 2.41-2
    • 2.41-3
    • 2.41-4
    • 2.41-5
    • 2.41-6
    • 2.41-7
    • 2.41.50.20230731-1
    • 2.41.50.20230803-1
    • 2.41.50.20230905-1
    • 2.41.50.20231010-1
    • 2.41.50.20231101-1
    • 2.41.50.20231125-1
    • 2.41.50.20231202-1
    • 2.41.50.20231206-1
    • 2.41.50.20231214-1
    • 2.41.50.20231227-1
    • 2.41.90.20240115-1
    • 2.41.90.20240122-1
    • 2.42-1
    • 2.42-2
    • 2.42-2+hurd.1
    • 2.42-3
    • 2.42-4
    • 2.42.50.20240614-1
    • 2.42.50.20240618-1
    • 2.42.50.20240625-1
    • 2.42.50.20240710-1
    • 2.42.90.20240720-1
    • 2.42.90.20240720-2
    • 2.43-1
    • 2.43-2
    • 2.43.1-1
    • 2.43.1-2
    • 2.43.1-3
    • 2.43.1-4
    • 2.43.1-5
    • 2.43.50.20240817-1
    • 2.43.50.20240909-1
    • 2.43.50.20241004-1
    • 2.43.50.20241112-1
    • 2.43.50.20241126-1
    • 2.43.50.20241126-2
    • 2.43.50.20241126-3
    • 2.43.50.20241204-1
    • 2.43.50.20241204-2
    • 2.43.50.20241210-1
    • 2.43.50.20241215-1
    • 2.43.50.20241221-1
    • 2.43.50.20241230-1
    • 2.43.50.20250108-1
    • 2.43.90.20250122-1
    • 2.43.90.20250122-2
    • 2.43.90.20250127-1
    • 2.43.90.20250202-1
    • 2.44-1
    • 2.44-2
    • 2.44-3
    • 2.44.50.20250201-1
    • 2.44.50.20250207-1
    • 2.44.50.20250218-1
    • 2.44.50.20250218-2
    • 2.44.50.20250309-1
    • 2.44.50.20250405-1
    • 2.44.50.20250502-1
    • 2.44.50.20250520-1
    • 2.44.50.20250528-1
    • 2.44.50.20250707-1
    • 2.44.90.20250719-1
    • 2.45-1
    • 2.45-2
    • 2.45-3
    • 2.45-4
    • 2.45-5
    • 2.45-6
    • 2.45-7
    • 2.45-8
    • 2.45.50.20250813-1
    • 2.45.50.20250903-1
    • 2.45.50.20251005-1
    • 2.45.50.20251023-1
    • 2.45.50.20251023-2
    • 2.45.50.20251122-1
    • 2.45.50.20251125-1
    • 2.45.50.20251201-1
    • 2.45.50.20251209-1
    • 2.45.50.20260116-1
    • 2.45.50.20260119-1
    • 2.45.90.20260125-1
    • 2.45.90.20260201-1
    • 2.46-1
    • 2.46-2
    • 2.46-3
    • 2.46.50.20260216-1
    • 2.46.50.20260509-1
    • 2.46.50.20260519-1
    • 2.46.50.20260608-1
    • 2.46.50.20260617-1
    • 2.46.90.20260712-1
    • 2.47-1
    • 2.47-2
    • 2.47-3
    • 2.47-4
    • 2.47-5
    • 2.47-6
    • 2.47.50.20260813-1
    • 2.47.50.20260813-2
    • 2.47.50.20260813-3
    • 2.47.50.20260901-1
    • 2.47.50.20261004-1
    • 2.47.50.20261020-1
    • 2.47.50.20261021-1
    • 2.47.50.20261120-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Debian 13

    Versions
    • 2.44-3
    • 2.44.50.20250201-1
    • 2.44.50.20250207-1
    • 2.44.50.20250218-1
    • 2.44.50.20250218-2
    • 2.44.50.20250309-1
    All versions (56)
    • 2.44.50.20250405-1
    • 2.44.50.20250502-1
    • 2.44.50.20250520-1
    • 2.44.50.20250528-1
    • 2.44.50.20250707-1
    • 2.44.90.20250719-1
    • 2.45-1
    • 2.45-2
    • 2.45-3
    • 2.45-4
    • 2.45-5
    • 2.45-6
    • 2.45-7
    • 2.45-8
    • 2.45.50.20250813-1
    • 2.45.50.20250903-1
    • 2.45.50.20251005-1
    • 2.45.50.20251023-1
    • 2.45.50.20251023-2
    • 2.45.50.20251122-1
    • 2.45.50.20251125-1
    • 2.45.50.20251201-1
    • 2.45.50.20251209-1
    • 2.45.50.20260116-1
    • 2.45.50.20260119-1
    • 2.45.90.20260125-1
    • 2.45.90.20260201-1
    • 2.46-1
    • 2.46-2
    • 2.46-3
    • 2.46.50.20260216-1
    • 2.46.50.20260509-1
    • 2.46.50.20260519-1
    • 2.46.50.20260608-1
    • 2.46.50.20260617-1
    • 2.46.90.20260712-1
    • 2.47-1
    • 2.47-2
    • 2.47-3
    • 2.47-4
    • 2.47-5
    • 2.47-6
    • 2.47.50.20260813-1
    • 2.47.50.20260813-2
    • 2.47.50.20260813-3
    • 2.47.50.20260901-1
    • 2.47.50.20261004-1
    • 2.47.50.20261020-1
    • 2.47.50.20261021-1
    • 2.47.50.20261120-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Debian 14

    Versions
    • 2.44-3
    • 2.44.50.20250201-1
    • 2.44.50.20250207-1
    • 2.44.50.20250218-1
    • 2.44.50.20250218-2
    • 2.44.50.20250309-1
    All versions (56)
    • 2.44.50.20250405-1
    • 2.44.50.20250502-1
    • 2.44.50.20250520-1
    • 2.44.50.20250528-1
    • 2.44.50.20250707-1
    • 2.44.90.20250719-1
    • 2.45-1
    • 2.45-2
    • 2.45-3
    • 2.45-4
    • 2.45-5
    • 2.45-6
    • 2.45-7
    • 2.45-8
    • 2.45.50.20250813-1
    • 2.45.50.20250903-1
    • 2.45.50.20251005-1
    • 2.45.50.20251023-1
    • 2.45.50.20251023-2
    • 2.45.50.20251122-1
    • 2.45.50.20251125-1
    • 2.45.50.20251201-1
    • 2.45.50.20251209-1
    • 2.45.50.20260116-1
    • 2.45.50.20260119-1
    • 2.45.90.20260125-1
    • 2.45.90.20260201-1
    • 2.46-1
    • 2.46-2
    • 2.46-3
    • 2.46.50.20260216-1
    • 2.46.50.20260509-1
    • 2.46.50.20260519-1
    • 2.46.50.20260608-1
    • 2.46.50.20260617-1
    • 2.46.90.20260712-1
    • 2.47-1
    • 2.47-2
    • 2.47-3
    • 2.47-4
    • 2.47-5
    • 2.47-6
    • 2.47.50.20260813-1
    • 2.47.50.20260813-2
    • 2.47.50.20260813-3
    • 2.47.50.20260901-1
    • 2.47.50.20261004-1
    • 2.47.50.20261020-1
    • 2.47.50.20261021-1
    • 2.47.50.20261120-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 14.04 LTS

    Versions
    • 2.23.52.20130913-0ubuntu1
    • 2.23.90.20131017-1ubuntu1
    • 2.23.90.20131116-1ubuntu1
    • 2.23.91.20131123-1ubuntu1
    • 2.24-1ubuntu1
    • 2.24-1ubuntu2
    All versions (25)
    • 2.24-2ubuntu1
    • 2.24-2ubuntu2
    • 2.24-2ubuntu3
    • 2.24-4ubuntu1
    • 2.24-5ubuntu1
    • 2.24-5ubuntu2
    • 2.24-5ubuntu3
    • 2.24-5ubuntu3.1
    • 2.24-5ubuntu13
    • 2.24-5ubuntu14
    • 2.24-5ubuntu14.1
    • 2.24-5ubuntu14.2
    • 2.24-5ubuntu14.2+esm1
    • 2.24-5ubuntu14.2+esm2
    • 2.24-5ubuntu14.2+esm3
    • 2.24-5ubuntu14.2+esm5
    • 2.24-5ubuntu14.2+esm6
    • 2.24-5ubuntu14.2+esm7
    • 2.24-5ubuntu14.2+esm8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 16.04 LTS

    Versions
    • 2.25.1-6ubuntu1
    • 2.25.51.20151022-0ubuntu2
    • 2.25.51.20151022-0ubuntu3
    • 2.25.51.20151027-0ubuntu1
    • 2.25.51.20151028-0ubuntu1
    • 2.25.51.20151106-0ubuntu1
    All versions (42)
    • 2.25.51.20151113-1ubuntu1
    • 2.25.51.20151113-2ubuntu1
    • 2.25.90.20151125-1ubuntu1
    • 2.25.90.20151125-2ubuntu1
    • 2.25.90.20151211-0ubuntu1
    • 2.25.90.20151211-0ubuntu2
    • 2.25.90.20160101-1ubuntu1
    • 2.25.90.20160101-1ubuntu2
    • 2.26-2ubuntu1
    • 2.26-3ubuntu1
    • 2.26-4ubuntu1
    • 2.26-5ubuntu1
    • 2.26-6ubuntu1
    • 2.26-7ubuntu2
    • 2.26-8ubuntu1
    • 2.26-8ubuntu2
    • 2.26-8ubuntu2.1
    • 2.26.1-1ubuntu1~16.04
    • 2.26.1-1ubuntu1~16.04.1
    • 2.26.1-1ubuntu1~16.04.3
    • 2.26.1-1ubuntu1~16.04.4
    • 2.26.1-1ubuntu1~16.04.5
    • 2.26.1-1ubuntu1~16.04.6
    • 2.26.1-1ubuntu1~16.04.7
    • 2.26.1-1ubuntu1~16.04.8
    • 2.26.1-1ubuntu1~16.04.8+esm1
    • 2.26.1-1ubuntu1~16.04.8+esm3
    • 2.26.1-1ubuntu1~16.04.8+esm4
    • 2.26.1-1ubuntu1~16.04.8+esm5
    • 2.26.1-1ubuntu1~16.04.8+esm6
    • 2.26.1-1ubuntu1~16.04.8+esm7
    • 2.26.1-1ubuntu1~16.04.8+esm9
    • 2.26.1-1ubuntu1~16.04.8+esm11
    • 2.26.1-1ubuntu1~16.04.8+esm12
    • 2.26.1-1ubuntu1~16.04.8+esm13
    • 2.26.1-1ubuntu1~16.04.8+esm14
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 18.04 LTS

    Versions
    • 2.29.1-4ubuntu1
    • 2.29.1-6ubuntu1
    • 2.29.1-7ubuntu1
    • 2.29.1-8ubuntu1
    • 2.29.1-10ubuntu1
    • 2.29.1-12ubuntu1
    All versions (30)
    • 2.30-4ubuntu1
    • 2.30-5ubuntu1
    • 2.30-7ubuntu1
    • 2.30-8ubuntu1
    • 2.30-9ubuntu1
    • 2.30-10ubuntu1
    • 2.30-11ubuntu1
    • 2.30-14ubuntu2
    • 2.30-15ubuntu1
    • 2.30-20ubuntu2~18.04
    • 2.30-21ubuntu1~18.04
    • 2.30-21ubuntu1~18.04.1
    • 2.30-21ubuntu1~18.04.2
    • 2.30-21ubuntu1~18.04.3
    • 2.30-21ubuntu1~18.04.4
    • 2.30-21ubuntu1~18.04.5
    • 2.30-21ubuntu1~18.04.7
    • 2.30-21ubuntu1~18.04.8
    • 2.30-21ubuntu1~18.04.9
    • 2.30-21ubuntu1~18.04.9+esm1
    • 2.30-21ubuntu1~18.04.9+esm3
    • 2.30-21ubuntu1~18.04.9+esm4
    • 2.30-21ubuntu1~18.04.9+esm5
    • 2.30-21ubuntu1~18.04.9+esm13
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu Pro 20.04 LTS

    Versions
    • 2.33-2ubuntu1
    • 2.33.1-1ubuntu1
    • 2.33.1-5ubuntu1
    • 2.33.1-6ubuntu1
    • 2.33.1-6ubuntu3
    • 2.33.90.20200122-1ubuntu2
    All versions (23)
    • 2.34-1ubuntu1
    • 2.34-3ubuntu1
    • 2.34-4ubuntu1
    • 2.34-5ubuntu1
    • 2.34-6ubuntu1
    • 2.34-6ubuntu1.1
    • 2.34-6ubuntu1.3
    • 2.34-6ubuntu1.4
    • 2.34-6ubuntu1.5
    • 2.34-6ubuntu1.6
    • 2.34-6ubuntu1.7
    • 2.34-6ubuntu1.8
    • 2.34-6ubuntu1.9
    • 2.34-6ubuntu1.10
    • 2.34-6ubuntu1.11
    • 2.34-6ubuntu1.11+esm1
    • 2.34-6ubuntu1.11+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu 22.04 LTS

    Versions
    • 2.37-7ubuntu1
    • 2.37-9ubuntu1
    • 2.37-10ubuntu1
    • 2.37.50.20220106-2ubuntu1
    • 2.37.90.20220126-0ubuntu1
    • 2.37.90.20220130-0ubuntu2
    All versions (21)
    • 2.38-1ubuntu1
    • 2.38-2ubuntu1
    • 2.38-3ubuntu1
    • 2.38-4ubuntu2
    • 2.38-4ubuntu2.1
    • 2.38-4ubuntu2.2
    • 2.38-4ubuntu2.3
    • 2.38-4ubuntu2.4
    • 2.38-4ubuntu2.5
    • 2.38-4ubuntu2.6
    • 2.38-4ubuntu2.7
    • 2.38-4ubuntu2.8
    • 2.38-4ubuntu2.10
    • 2.38-4ubuntu2.11
    • 2.38-4ubuntu2.12
    Affected ranges
    • ECOSYSTEM: < 2.38-4ubuntu2.14

    Update to 2.38-4ubuntu2.14

  • binutils Ubuntu 24.04 LTS

    Versions
    • 2.41-5ubuntu1
    • 2.41-6ubuntu1
    • 2.41.50.20231206-1ubuntu1
    • 2.41.50.20231214-1ubuntu1
    • 2.41.50.20231227-1ubuntu1
    • 2.41.90.20240122-1ubuntu1
    All versions (17)
    • 2.42-2ubuntu1
    • 2.42-3ubuntu1
    • 2.42-4ubuntu1
    • 2.42-4ubuntu2
    • 2.42-4ubuntu2.3
    • 2.42-4ubuntu2.4
    • 2.42-4ubuntu2.5
    • 2.42-4ubuntu2.6
    • 2.42-4ubuntu2.7
    • 2.42-4ubuntu2.8
    • 2.42-4ubuntu2.10
    Affected ranges
    • ECOSYSTEM: < 2.42-4ubuntu2.11

    Update to 2.42-4ubuntu2.11

  • binutils Ubuntu 26.10

    Versions
    • 2.46-3ubuntu2
    • 2.46.50.20260608-1ubuntu1
    • 2.47-2ubuntu1
    • 2.47-6ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • binutils Ubuntu 26.04 LTS

    Versions
    • 2.45-7ubuntu1
    • 2.45-7ubuntu2
    • 2.45-8ubuntu1
    • 2.45.50.20251125-1ubuntu1
    • 2.45.50.20251201-1ubuntu1
    • 2.45.50.20251209-1ubuntu1
    All versions (11)
    • 2.45.50.20260119-1ubuntu1
    • 2.46-1ubuntu1
    • 2.46-2ubuntu1
    • 2.46-3ubuntu1
    • 2.46-3ubuntu2
    Affected ranges
    • ECOSYSTEM: < 2.46-3ubuntu2.1

    Update to 2.46-3ubuntu2.1

Original sources

Check your server →