Description
A buffer overflow can occur when calculating the quantile value using the Statistics Library of GSL (GNU Scientific Library), versions 2.5 and 2.6. Processing a maliciously crafted input data for gsl_stats_quantile_from_sorted_data of the library may lead to unexpected application termination or arbitrary code execution.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gsl | 2.7.1+dfsg-6 | — |
| Debian 13 | gsl | 2.7.1+dfsg-6 | — |
| Debian 12 | gsl | 2.7.1+dfsg-5+deb12u1 | — |
| Debian 11 | gsl | 2.6+dfsg-2+deb11u1 | DLA-3985-1 |
| Debian 10 | gsl | 2.5+dfsg-6+deb10u1 | DLA-3576-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | gsl | 2.5+dfsg-6+deb10u1build0.20.04.1 | USN-6472-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | gsl | 2.7.1+dfsg-3ubuntu0.22.04.1~esm1 | USN-6472-1 |
| Ubuntu Pro 18.04 LTS | gsl | 2.4+dfsg-6ubuntu0.1~esm1 | USN-6472-1 |
| Ubuntu Pro 16.04 LTS | gsl | 2.1+dfsg-2ubuntu0.1~esm1 | USN-6472-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | gsl | 2.4-150100.9.4.1 | SUSE-SU-2023:3858-1, SUSE-SU-2023:3527-1 |
| SLES 15 SP4 | gsl | 2.4-150100.9.4.1 | SUSE-SU-2023:3858-1, SUSE-SU-2023:3527-1 |
| SLES 12 SP5 | gsl | 1.16-5.4.1 | SUSE-SU-2023:4051-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | gsl +1 | 2.6-150200.3.4.3 | SUSE-SU-2023:3858-1 |
| openSUSE Leap 15.5 | gsl_2_4-gnu-hpc | 2.4-150100.9.4.1 | SUSE-SU-2023:3527-1 |
| openSUSE Leap 15.4 | gsl +1 | 2.4-150100.9.4.1 | SUSE-SU-2023:3858-1, SUSE-SU-2023:3527-1 |
| openSUSE Leap 15.4 | gsl_2_6-gnu-hpc | 2.6-150200.3.4.3 | SUSE-SU-2023:3858-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | gsl +1 | 2.6-4.amzn2023.0.4 | ALAS2023-2023-353 |
| Amazon Linux 2 | gsl +1 | 1.15-13.amzn2.0.2 | ALAS2-2023-2255 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | gsl | 2.8-1 | — |
| Azure Linux 2 (CBL-Mariner) | gsl | No fix yet | — |
Advisories 8
- USN-6472-1 gsl vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3985-1 gsl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3576-1 gsl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:3858-1 Security update for gsl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3527-1 Security update for gsl SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4051-1 Security update for gsl SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2023-353 Moderate: gsl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 20, 2023
- ALAS2-2023-2255 Moderate: gsl security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 20, 2023