Home / Flaw types / CWE-495
CWE-495: private Data Structure Returned From A Public Method
1 CVEs name CWE-495 (Private Data Structure Returned From A Public Method); 0 are exploited in the wild per CISA KEV.
The product has a method that is declared public, but returns a reference to a private data structure, which could then be modified in unexpected ways.
From MITRE CWE. CWE is a trademark of The MITRE Corporation; Copyright © The MITRE Corporation, used under the CWE Terms of Use. The official CWE entry.
CVEs, newest first
- Apr 1, 2025CVE-2025-29868 Apache Software Foundation Apache Answer: private Data Structure Returned From A Public Method