CWE-467
Weakness AllowedUse of sizeof() on a Pointer Type
Abstraction: Variant · Status: Draft
The code calls sizeof() on a pointer type, when the programmer intended to determine the size of the data that is being pointed to.
Mapping guidance
This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Modes of introduction
The use of sizeof() on a pointer can sometimes generate useful information. An obvious case is to find out the wordsize on a platform. More often than not, the appearance of sizeof(pointer) indicates an incorrect calculation - i.e., a bug.
Detection methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Effectiveness: High
Content history
Identified inappropriate emphasis on pointers to data allocated with malloc(), leading to a description change.
updated Time_of_Introduction
added/updated white box definitions
updated Applicable_Platforms, Common_Consequences, Relationships, Other_Notes, Taxonomy_Mappings, Weakness_Ordinalities
updated Relationships, Taxonomy_Mappings
updated Demonstrative_Examples
updated Demonstrative_Examples
updated Relationships
updated Common_Consequences
updated Common_Consequences
updated Relationships, Taxonomy_Mappings
updated Relationships
updated Description, Other_Notes
updated Relationships, Taxonomy_Mappings
updated Demonstrative_Examples, Taxonomy_Mappings, White_Box_Definitions
updated Relationships
updated References
updated Detection_Factors, Relationships
updated Mapping_Notes
updated Description
updated Demonstrative_Examples
updated Description, Modes_of_Introduction, Observed_Examples
5 vulnerabilities reference this CWE, most recent first.
CVE-2026-87027 (GCVE-0-2026-87027)
Vulnerability from cvelistv5 – Published: 2026-11-16 18:42 – Updated: 2026-11-16 18:42| URL | Tags |
|---|---|
| https://www.enterprisedb.com/docs/security/adviso… | vendor-advisory |
| https://www.enterprisedb.com/docs/pge/15/release_… | release-notes |
| https://www.enterprisedb.com/docs/pge/16/release_… | release-notes |
| https://www.enterprisedb.com/docs/pge/17/release_… | release-notes |
| https://www.enterprisedb.com/docs/pge/18/release_… | release-notes |
| https://www.enterprisedb.com/docs/epas/15/epas_re… | release-notes |
| https://www.enterprisedb.com/docs/epas/16/epas_re… | release-notes |
| https://www.enterprisedb.com/docs/epas/17/epas_re… | release-notes |
| https://www.enterprisedb.com/docs/epas/18/epas_re… | release-notes |
| Vendor | Product | Version | |
|---|---|---|---|
| EnterpriseDB | EDB Postgres Extended Server |
Affected:
15.0 , < 15.20
(custom)
Affected: 16.0 , < 16.16 (custom) Affected: 17.0 , < 17.12 (custom) Affected: 18.0 , < 18.7 (custom) |
|
| EnterpriseDB | EDB Postgres Advanced Server |
Affected:
15.0 , < 15.20.0
(custom)
Affected: 16.0 , < 16.16.0 (custom) Affected: 17.0 , < 17.12.0 (custom) Affected: 18.0 , < 18.7.0 (custom) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "EDB Postgres Extended Server",
"vendor": "EnterpriseDB",
"versions": [
{
"lessThan": "15.20",
"status": "affected",
"version": "15.0",
"versionType": "custom"
},
{
"lessThan": "16.16",
"status": "affected",
"version": "16.0",
"versionType": "custom"
},
{
"lessThan": "17.12",
"status": "affected",
"version": "17.0",
"versionType": "custom"
},
{
"lessThan": "18.7",
"status": "affected",
"version": "18.0",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unaffected",
"product": "EDB Postgres Advanced Server",
"vendor": "EnterpriseDB",
"versions": [
{
"lessThan": "15.20.0",
"status": "affected",
"version": "15.0",
"versionType": "custom"
},
{
"lessThan": "16.16.0",
"status": "affected",
"version": "16.0",
"versionType": "custom"
},
{
"lessThan": "17.12.0",
"status": "affected",
"version": "17.0",
"versionType": "custom"
},
{
"lessThan": "18.7.0",
"status": "affected",
"version": "18.0",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Mark Dilger (EDB)"
}
],
"datePublic": "2026-11-16T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "In EDB Postgres Extended Server and EDB Postgres Advanced Server versions 15 through 18 with Transparent Data Encryption (TDE) enabled, the key used to encrypt temporary files was incompletely initialized. The code applied sizeof() to a pointer to the key buffer rather than to the buffer itself, so only 8 of the intended 32 bytes were filled from a secure random source and the remaining 24 bytes kept whatever was already in memory. This reduces the guaranteed randomness of the temporary-file key from 256 bits to 64 bits. Exploiting this requires local read access to the server\u0027s temporary-file directory, and those files normally exist only while the server is running; they persist only after a crash and are removed at the next server start. Permanent data files and WAL are not affected. The issue is fixed in EDB Postgres Extended Server 15.20, 16.16, 17.12 and 18.7 and EDB Postgres Advanced Server 15.20.0, 16.16.0, 17.12.0 and 18.7.0; the server must be restarted after upgrading."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.6,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
"version": "4.0"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-331",
"description": "CWE-331 Insufficient Entropy",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-467",
"description": "CWE-467 Use of sizeof() on a Pointer Type",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-16T18:42:29.783Z",
"orgId": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"shortName": "EDB"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://www.enterprisedb.com/docs/security/advisories/cve202687027/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/pge/15/release_notes/rel_notes15.20/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/pge/16/release_notes/rel_notes16.16/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/pge/17/release_notes/rel_notes17.12/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/pge/18/release_notes/rel_notes18.7.0/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/epas/15/epas_rel_notes/epas15_20_0_rel_notes/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/epas/16/epas_rel_notes/epas16_16_0_rel_notes/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/epas/17/epas_rel_notes/epas17_12_rel_notes/"
},
{
"tags": [
"release-notes"
],
"url": "https://www.enterprisedb.com/docs/epas/18/epas_rel_notes/epas18_7_rel_notes/"
}
],
"source": {
"discovery": "INTERNAL"
},
"title": "TDE temporary-file encryption key incompletely initialized in EDB Postgres Extended Server and EDB Postgres Advanced Server",
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "20be33e2-bf35-4d13-8fad-18bd2f3e3659",
"assignerShortName": "EDB",
"cveId": "CVE-2026-87027",
"datePublished": "2026-11-16T18:42:29.783Z",
"dateReserved": "2026-09-08T18:04:01.223Z",
"dateUpdated": "2026-11-16T18:42:29.783Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-52761 (GCVE-0-2026-52761)
Vulnerability from cvelistv5 – Published: 2026-07-10 21:40 – Updated: 2026-07-13 14:08- CWE-467 - Use of sizeof() on a Pointer Type
| URL | Tags |
|---|---|
| https://github.com/owasp-modsecurity/ModSecurity/… | x_refsource_CONFIRM |
| https://github.com/owasp-modsecurity/ModSecurity/… | x_refsource_MISC |
| https://github.com/owasp-modsecurity/ModSecurity/… | x_refsource_MISC |
| Vendor | Product | Version | |
|---|---|---|---|
| owasp-modsecurity | ModSecurity |
Affected:
>= 3.0.0, < 3.0.16
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-52761",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-07-13T14:08:45.655716Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-07-13T14:08:57.437Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "ModSecurity",
"vendor": "owasp-modsecurity",
"versions": [
{
"status": "affected",
"version": "\u003e= 3.0.0, \u003c 3.0.16"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. From 3.0.0 through 3.0.15, the t:utf8toUnicode transformation in src/actions/transformations/utf8_to_unicode.cc produces wrong output on i386 architecture because snprintf uses sizeof on a char pointer rather than the length of the unicode buffer, allowing rules that use this transformation to be bypassed on i386 architecture. This issue is fixed in version 3.0.16."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-467",
"description": "CWE-467: Use of sizeof() on a Pointer Type",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-07-10T21:40:23.961Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-qjgm-7gp4-f8qq",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-qjgm-7gp4-f8qq"
},
{
"name": "https://github.com/owasp-modsecurity/ModSecurity/commit/edcd010814e234d46e2ec55a0f1078ff9d3032e4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/owasp-modsecurity/ModSecurity/commit/edcd010814e234d46e2ec55a0f1078ff9d3032e4"
},
{
"name": "https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.16",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v3.0.16"
}
],
"source": {
"advisory": "GHSA-qjgm-7gp4-f8qq",
"discovery": "UNKNOWN"
},
"title": "ModSecurity: Transformation utf8toUnicode produces wrong output on i386 architecture"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-52761",
"datePublished": "2026-07-10T21:40:23.961Z",
"dateReserved": "2026-06-08T17:13:43.063Z",
"dateUpdated": "2026-07-13T14:08:57.437Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2025-33132 (GCVE-0-2025-33132)
Vulnerability from cvelistv5 – Published: 2025-10-27 23:57 – Updated: 2025-10-28 13:53- CWE-467 - Use of sizeof() on a Pointer Type
| URL | Tags |
|---|---|
| https://www.ibm.com/support/pages/node/7249336 | vendor-advisorypatch |
| Vendor | Product | Version | |
|---|---|---|---|
| IBM | DB2 High Performance Unload |
Affected:
6.1.0.3
Affected: 5.1.0.1 Affected: 6.1.0.2 Affected: 6.5 Affected: 6.5.0.0 IF1 Affected: 6.1.0.1 Affected: 6.1 Affected: 5.1 cpe:2.3:a:ibm:db2_high_performance_unload:6.1.0.3:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:5.1.0.1:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:6.1.0.2:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:6.5:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:6.5.0:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:6.5.0.0:interm_fix1:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:6.5.0.0:if1:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:6.1.0.1:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:6.1:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:6.1.0:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:5.1:*:*:*:*:*:*:* cpe:2.3:a:ibm:db2_high_performance_unload:5.1.0:*:*:*:*:*:*:* |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-33132",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-10-28T13:53:17.971219Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-10-28T13:53:31.618Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"cpes": [
"cpe:2.3:a:ibm:db2_high_performance_unload:6.1.0.3:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:5.1.0.1:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:6.1.0.2:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:6.5:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:6.5.0:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:6.5.0.0:interm_fix1:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:6.5.0.0:if1:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:6.1.0.1:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:6.1:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:6.1.0:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:5.1:*:*:*:*:*:*:*",
"cpe:2.3:a:ibm:db2_high_performance_unload:5.1.0:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"product": "DB2 High Performance Unload",
"vendor": "IBM",
"versions": [
{
"status": "affected",
"version": "6.1.0.3"
},
{
"status": "affected",
"version": "5.1.0.1"
},
{
"status": "affected",
"version": "6.1.0.2"
},
{
"status": "affected",
"version": "6.5"
},
{
"status": "affected",
"version": "6.5.0.0 IF1"
},
{
"status": "affected",
"version": "6.1.0.1"
},
{
"status": "affected",
"version": "6.1"
},
{
"status": "affected",
"version": "5.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eIBM DB2 High Performance Unload 6.1.0.3, 5.1.0.1, 6.1.0.2, 6.5, 6.5.0.0 IF1, 6.1.0.1, 6.1, and 5.1 could allow an authenticated user to cause the program to crash due to the incorrect calculation of the size of the data that is being pointed to.\u003c/p\u003e"
}
],
"value": "IBM DB2 High Performance Unload 6.1.0.3, 5.1.0.1, 6.1.0.2, 6.5, 6.5.0.0 IF1, 6.1.0.1, 6.1, and 5.1 could allow an authenticated user to cause the program to crash due to the incorrect calculation of the size of the data that is being pointed to."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-467",
"description": "CWE-467 Use of sizeof() on a Pointer Type",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-10-27T23:57:12.201Z",
"orgId": "9a959283-ebb5-44b6-b705-dcc2bbced522",
"shortName": "ibm"
},
"references": [
{
"tags": [
"vendor-advisory",
"patch"
],
"url": "https://www.ibm.com/support/pages/node/7249336"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eRemediation/Fixes Please download and install Interim Fix 12.1.0.0.1 from Fix Central\u003c/p\u003e"
}
],
"value": "Remediation/Fixes Please download and install Interim Fix 12.1.0.0.1 from Fix Central"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Fixes to common vulnerabilities found in IBM Db2 High Performance Unload",
"x_generator": {
"engine": "ibm-cvegen"
}
}
},
"cveMetadata": {
"assignerOrgId": "9a959283-ebb5-44b6-b705-dcc2bbced522",
"assignerShortName": "ibm",
"cveId": "CVE-2025-33132",
"datePublished": "2025-10-27T23:57:12.201Z",
"dateReserved": "2025-04-15T17:51:11.506Z",
"dateUpdated": "2025-10-28T13:53:31.618Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2020-1638 (GCVE-0-2020-1638)
Vulnerability from cvelistv5 – Published: 2020-04-08 19:26 – Updated: 2024-09-17 02:53- CWE-467 - Use of sizeof() on a Pointer Type
| URL | Tags |
|---|---|
| https://kb.juniper.net/JSA11019 | x_refsource_CONFIRM |
| Vendor | Product | Version | |
|---|---|---|---|
| Juniper Networks | Junos OS |
Affected:
19.2 , < 19.2R1-S4, 19.2R2
(custom)
Affected: 19.3 , < 19.3R2-S2, 19.3R3 (custom) Affected: 19.4 , < 19.4R1-S1, 19.4R2 (custom) |
|
| Juniper Networks | Junos OS |
Unaffected:
unspecified , < 19.2R1
(custom)
|
|
| Juniper Networks | Junos OS Evolved |
Affected:
19.2-EVO
Affected: 19.3-EVO 19.2-EVO Affected: 19.4-EVO , < 19.4R2-EVO (custom) |
|
| Juniper Networks | Junos OS Evolved |
Unaffected:
unspecified , < 19.2R1-EVO
(custom)
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T06:46:29.694Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://kb.juniper.net/JSA11019"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"platforms": [
"MX Series with MPC10E or MPC11E and PTX10001"
],
"product": "Junos OS",
"vendor": "Juniper Networks",
"versions": [
{
"lessThan": "19.2R1-S4, 19.2R2",
"status": "affected",
"version": "19.2",
"versionType": "custom"
},
{
"lessThan": "19.3R2-S2, 19.3R3",
"status": "affected",
"version": "19.3",
"versionType": "custom"
},
{
"lessThan": "19.4R1-S1, 19.4R2",
"status": "affected",
"version": "19.4",
"versionType": "custom"
}
]
},
{
"product": "Junos OS",
"vendor": "Juniper Networks",
"versions": [
{
"lessThan": "19.2R1",
"status": "unaffected",
"version": "unspecified",
"versionType": "custom"
}
]
},
{
"platforms": [
"QFX5220, and PTX10003 series"
],
"product": "Junos OS Evolved",
"vendor": "Juniper Networks",
"versions": [
{
"status": "affected",
"version": "19.2-EVO"
},
{
"status": "affected",
"version": "19.3-EVO 19.2-EVO"
},
{
"lessThan": "19.4R2-EVO",
"status": "affected",
"version": "19.4-EVO",
"versionType": "custom"
}
]
},
{
"product": "Junos OS Evolved",
"vendor": "Juniper Networks",
"versions": [
{
"lessThan": "19.2R1-EVO",
"status": "unaffected",
"version": "unspecified",
"versionType": "custom"
}
]
}
],
"datePublic": "2020-04-08T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "The FPC (Flexible PIC Concentrator) of Juniper Networks Junos OS and Junos OS Evolved may restart after processing a specific IPv4 packet. Only packets destined to the device itself, successfully reaching the RE through existing edge and control plane filtering, will be able to cause the FPC restart. When this issue occurs, all traffic via the FPC will be dropped. By continuously sending this specific IPv4 packet, an attacker can repeatedly crash the FPC, causing an extended Denial of Service (DoS) condition. This issue can only occur when processing a specific IPv4 packet. IPv6 packets cannot trigger this issue. This issue affects: Juniper Networks Junos OS on MX Series with MPC10E or MPC11E and PTX10001: 19.2 versions prior to 19.2R1-S4, 19.2R2; 19.3 versions prior to 19.3R2-S2, 19.3R3; 19.4 versions prior to 19.4R1-S1, 19.4R2. Juniper Networks Junos OS Evolved on on QFX5220, and PTX10003 series: 19.2-EVO versions; 19.3-EVO versions; 19.4-EVO versions prior to 19.4R2-EVO. This issue does not affect Junos OS versions prior to 19.2R1. This issue does not affect Junos OS Evolved versions prior to 19.2R1-EVO."
}
],
"exploits": [
{
"lang": "en",
"value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-467",
"description": "CWE-467: Use of sizeof() on a Pointer Type",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2020-04-08T19:26:01.000Z",
"orgId": "8cbe9d5a-a066-4c94-8978-4b15efeae968",
"shortName": "juniper"
},
"references": [
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://kb.juniper.net/JSA11019"
}
],
"solutions": [
{
"lang": "en",
"value": "The following software releases have been updated to resolve this specific issue:\nJunos OS: 19.2R1-S4, 19.2R2, 19.3R2-S2, 19.3R3, 19.4R1-S1, 19.4R2, 20.1R1, and all subsequent releases.\nJunos OS Evolved: 19.4R2-EVO, 20.1R1-EVO, and all subsequent releases."
}
],
"source": {
"advisory": "JSA11019",
"defect": [
"1493176"
],
"discovery": "USER"
},
"title": "Junos OS \u0026 Junos OS Evolved: A specific IPv4 packet can lead to FPC restart.",
"workarounds": [
{
"lang": "en",
"value": "There is no workaround for this issue.\n\nStandard security best common practices such as limiting packet toward the RE only from trusted networks/host using firewall filter in combination with source address anti-spoofing should be applied to reduce the risk of exposure."
}
],
"x_generator": {
"engine": "Vulnogram 0.0.9"
},
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "sirt@juniper.net",
"DATE_PUBLIC": "2020-04-08T16:00:00.000Z",
"ID": "CVE-2020-1638",
"STATE": "PUBLIC",
"TITLE": "Junos OS \u0026 Junos OS Evolved: A specific IPv4 packet can lead to FPC restart."
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Junos OS",
"version": {
"version_data": [
{
"platform": "MX Series with MPC10E or MPC11E and PTX10001",
"version_affected": "\u003c",
"version_name": "19.2",
"version_value": "19.2R1-S4, 19.2R2"
},
{
"platform": "MX Series with MPC10E or MPC11E and PTX10001",
"version_affected": "\u003c",
"version_name": "19.3",
"version_value": "19.3R2-S2, 19.3R3"
},
{
"platform": "MX Series with MPC10E or MPC11E and PTX10001",
"version_affected": "\u003c",
"version_name": "19.4",
"version_value": "19.4R1-S1, 19.4R2"
},
{
"version_affected": "!\u003c",
"version_value": "19.2R1"
}
]
}
}
]
},
"vendor_name": "Juniper Networks"
},
{
"product": {
"product_data": [
{
"product_name": "Junos OS Evolved",
"version": {
"version_data": [
{
"platform": "QFX5220, and PTX10003 series",
"version_affected": "=",
"version_name": "19.2-EVO",
"version_value": "19.2-EVO"
},
{
"platform": "QFX5220, and PTX10003 series",
"version_affected": "=",
"version_name": "19.3-EVO",
"version_value": "19.2-EVO"
},
{
"platform": "QFX5220, and PTX10003 series",
"version_affected": "\u003c",
"version_name": "19.4-EVO",
"version_value": "19.4R2-EVO"
},
{
"version_affected": "!\u003c",
"version_value": "19.2R1-EVO"
}
]
}
}
]
},
"vendor_name": "Juniper Networks"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "The FPC (Flexible PIC Concentrator) of Juniper Networks Junos OS and Junos OS Evolved may restart after processing a specific IPv4 packet. Only packets destined to the device itself, successfully reaching the RE through existing edge and control plane filtering, will be able to cause the FPC restart. When this issue occurs, all traffic via the FPC will be dropped. By continuously sending this specific IPv4 packet, an attacker can repeatedly crash the FPC, causing an extended Denial of Service (DoS) condition. This issue can only occur when processing a specific IPv4 packet. IPv6 packets cannot trigger this issue. This issue affects: Juniper Networks Junos OS on MX Series with MPC10E or MPC11E and PTX10001: 19.2 versions prior to 19.2R1-S4, 19.2R2; 19.3 versions prior to 19.3R2-S2, 19.3R3; 19.4 versions prior to 19.4R1-S1, 19.4R2. Juniper Networks Junos OS Evolved on on QFX5220, and PTX10003 series: 19.2-EVO versions; 19.3-EVO versions; 19.4-EVO versions prior to 19.4R2-EVO. This issue does not affect Junos OS versions prior to 19.2R1. This issue does not affect Junos OS Evolved versions prior to 19.2R1-EVO."
}
]
},
"exploit": [
{
"lang": "en",
"value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability."
}
],
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-467: Use of sizeof() on a Pointer Type"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://kb.juniper.net/JSA11019",
"refsource": "CONFIRM",
"url": "https://kb.juniper.net/JSA11019"
}
]
},
"solution": [
{
"lang": "en",
"value": "The following software releases have been updated to resolve this specific issue:\nJunos OS: 19.2R1-S4, 19.2R2, 19.3R2-S2, 19.3R3, 19.4R1-S1, 19.4R2, 20.1R1, and all subsequent releases.\nJunos OS Evolved: 19.4R2-EVO, 20.1R1-EVO, and all subsequent releases."
}
],
"source": {
"advisory": "JSA11019",
"defect": [
"1493176"
],
"discovery": "USER"
},
"work_around": [
{
"lang": "en",
"value": "There is no workaround for this issue.\n\nStandard security best common practices such as limiting packet toward the RE only from trusted networks/host using firewall filter in combination with source address anti-spoofing should be applied to reduce the risk of exposure."
}
]
}
}
},
"cveMetadata": {
"assignerOrgId": "8cbe9d5a-a066-4c94-8978-4b15efeae968",
"assignerShortName": "juniper",
"cveId": "CVE-2020-1638",
"datePublished": "2020-04-08T19:26:01.632Z",
"dateReserved": "2019-11-04T00:00:00.000Z",
"dateUpdated": "2024-09-17T02:53:25.470Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
GHSA-RMWF-53XH-PR9X
Vulnerability from github – Published: 2025-10-28 00:31 – Updated: 2025-10-28 00:31IBM DB2 High Performance Unload 6.1.0.3, 5.1.0.1, 6.1.0.2, 6.5, 6.5.0.0 IF1, 6.1.0.1, 6.1, and 5.1 could allow an authenticated user to cause the program to crash due to the incorrect calculation of the size of the data that is being pointed to.
{
"affected": [],
"aliases": [
"CVE-2025-33132"
],
"database_specific": {
"cwe_ids": [
"CWE-467"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-10-28T00:15:38Z",
"severity": "MODERATE"
},
"details": "IBM DB2 High Performance Unload 6.1.0.3, 5.1.0.1, 6.1.0.2, 6.5, 6.5.0.0 IF1, 6.1.0.1, 6.1, and 5.1 could allow an authenticated user to cause the program to crash due to the incorrect calculation of the size of the data that is being pointed to.",
"id": "GHSA-rmwf-53xh-pr9x",
"modified": "2025-10-28T00:31:26Z",
"published": "2025-10-28T00:31:26Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-33132"
},
{
"type": "WEB",
"url": "https://www.ibm.com/support/pages/node/7249336"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
Mitigation
Use expressions such as "sizeof(*pointer)" instead of "sizeof(pointer)", unless you intend to run sizeof() on a pointer type to gain some platform independence or if you are allocating a variable on the stack.
No CAPEC attack patterns related to this CWE.